New way of device configuration/deconfiguration 62/32262/10
authorJozef Behran <jbehran@cisco.com>
Thu, 7 Jan 2016 13:45:18 +0000 (14:45 +0100)
committerVratko Polák <vrpolak@cisco.com>
Fri, 15 Jan 2016 13:07:44 +0000 (13:07 +0000)
Added a new device type called "configured-via-topology"
which uses the new "topology way" of configuring the device.

Change-Id: I9410bf8524d687caf19c43be7eec8bb70dfda2d8
Signed-off-by: Jozef Behran <jbehran@cisco.com>
csit/variables/netconf/device/configure-via-topology/config.uri [new file with mode: 0644]
csit/variables/netconf/device/configure-via-topology/data.xml [new file with mode: 0644]

diff --git a/csit/variables/netconf/device/configure-via-topology/config.uri b/csit/variables/netconf/device/configure-via-topology/config.uri
new file mode 100644 (file)
index 0000000..2b44517
--- /dev/null
@@ -0,0 +1 @@
+network-topology:network-topology/topology/topology-netconf/node/$DEVICE_NAME
diff --git a/csit/variables/netconf/device/configure-via-topology/data.xml b/csit/variables/netconf/device/configure-via-topology/data.xml
new file mode 100644 (file)
index 0000000..9099d39
--- /dev/null
@@ -0,0 +1,9 @@
+<node xmlns="urn:TBD:params:xml:ns:yang:network-topology">
+  <node-id>$DEVICE_NAME</node-id>
+  <host xmlns="urn:opendaylight:netconf-node-topology">$DEVICE_IP</host>
+  <port xmlns="urn:opendaylight:netconf-node-topology">$DEVICE_PORT</port>
+  <username xmlns="urn:opendaylight:netconf-node-topology">admin</username>
+  <password xmlns="urn:opendaylight:netconf-node-topology">topsecret</password>
+  <tcp-only xmlns="urn:opendaylight:netconf-node-topology">false</tcp-only>
+  <keepalive-delay xmlns="urn:opendaylight:netconf-node-topology">0</keepalive-delay>
+</node>