Skip to content

Commit a2d48fa

Browse files
ihraskoTobianas
authored andcommitted
Add credentials into network-topology-rpcs
We have lost credential from netconf-node-fields in: https://git.opendaylight.org/gerrit/c/netconf/+/109035 Add them into network-topology-rpcs. JIRA: LIGHTY-284 Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech> Signed-off-by: tobias.pobocik <tobias.pobocik@pantheon.tech> (cherry picked from commit c274e80)
1 parent 49db0ab commit a2d48fa

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

examples/devices/lighty-network-topology-device/src/test/resources/add_node_rpc_request.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
<node-id>test-nettopo-node</node-id>
66
<host>127.0.0.1</host>
77
<port>17835</port>
8-
<username>admin</username>
9-
<password>admin</password>
8+
<login-password-unencrypted>
9+
<username>admin</username>
10+
<password>admin</password>
11+
</login-password-unencrypted>
1012
<tcp-only>false</tcp-only>
1113
<keepalive-delay>0</keepalive-delay>
1214
<schemaless>false</schemaless>

examples/models/lighty-example-network-topology-device-model/src/main/yang/network-topology-rpcs@2024-02-02.yang

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ module network-topology-rpcs {
3535
key "node-id";
3636
uses nt:node-attributes;
3737
uses nnt:netconf-node-fields;
38+
uses ond:credentials;
3839
uses ond:connection-oper;
3940
must "boolean(../underlay-topology[*]/node[./supporting-nodes/node-ref])";
4041
// This constraint is meant to ensure that a referenced node is in fact

0 commit comments

Comments
 (0)