aboutsummaryrefslogtreecommitdiffstats
path: root/tests/usecases/config-over-netconf/data
diff options
context:
space:
mode:
authorDaniel Rose <dr695h@att.com>2019-09-27 18:58:21 +0000
committerGerrit Code Review <gerrit@onap.org>2019-09-27 18:58:21 +0000
commit87d5a68690385d9a4a83779085709e81af648fe8 (patch)
treece5e89cb647733888dd5cc3110c284c2c7a6f605 /tests/usecases/config-over-netconf/data
parent9fb4835c36a7975fcd9314a07631c94018896448 (diff)
parent3ae5ef4c2f7a928bbd681eaa1183f0d746d48fd5 (diff)
Merge "Update config-over-netconf with el-alto images"
Diffstat (limited to 'tests/usecases/config-over-netconf/data')
-rw-r--r--tests/usecases/config-over-netconf/data/blueprint_archive.zipbin0 -> 10768 bytes
-rw-r--r--tests/usecases/config-over-netconf/data/config-assign.json25
-rw-r--r--tests/usecases/config-over-netconf/data/config-deploy.json25
-rw-r--r--tests/usecases/config-over-netconf/data/mount.xml14
4 files changed, 64 insertions, 0 deletions
diff --git a/tests/usecases/config-over-netconf/data/blueprint_archive.zip b/tests/usecases/config-over-netconf/data/blueprint_archive.zip
new file mode 100644
index 00000000..ac346554
--- /dev/null
+++ b/tests/usecases/config-over-netconf/data/blueprint_archive.zip
Binary files differ
diff --git a/tests/usecases/config-over-netconf/data/config-assign.json b/tests/usecases/config-over-netconf/data/config-assign.json
new file mode 100644
index 00000000..12c3865f
--- /dev/null
+++ b/tests/usecases/config-over-netconf/data/config-assign.json
@@ -0,0 +1,25 @@
+{
+ "actionIdentifiers": {
+ "actionName": "config-assign",
+ "blueprintName": "configuration_over_restconf",
+ "blueprintVersion": "1.0.0",
+ "mode": "sync"
+ },
+ "commonHeader": {
+ "originatorId": "sdnc",
+ "requestId": "123456-1000",
+ "subRequestId": "sub-123456-1000"
+ },
+ "payload": {
+ "config-assign-request": {
+ "resolution-key": "RES-KEY reskey",
+ "config-assign-properties": {
+ "service-instance-id": "siid_1234",
+ "pnf-id": "pnf-simulator",
+ "pnf-ipv4-address": "pnfaddr",
+ "service-model-uuid": "service-model-uuid",
+ "pnf-customization-uuid": "pnf-customization-uuid"
+ }
+ }
+ }
+}
diff --git a/tests/usecases/config-over-netconf/data/config-deploy.json b/tests/usecases/config-over-netconf/data/config-deploy.json
new file mode 100644
index 00000000..546fdc78
--- /dev/null
+++ b/tests/usecases/config-over-netconf/data/config-deploy.json
@@ -0,0 +1,25 @@
+{
+ "actionIdentifiers": {
+ "actionName": "config-deploy",
+ "blueprintName": "configuration_over_restconf",
+ "blueprintVersion": "1.0.0",
+ "mode": "sync"
+ },
+ "commonHeader": {
+ "originatorId": "sdnc",
+ "requestId": "123456-1000",
+ "subRequestId": "sub-123456-1000"
+ },
+ "payload": {
+ "config-deploy-request": {
+ "resolution-key": "RES-KEY reskey",
+ "config-deploy-properties": {
+ "service-instance-id": "siid_1234",
+ "pnf-id": "pnf-simulator",
+ "pnf-ipv4-address": "pnfaddr",
+ "service-model-uuid": "service-model-uuid",
+ "pnf-customization-uuid": "pnf-customization-uuid"
+ }
+ }
+ }
+}
diff --git a/tests/usecases/config-over-netconf/data/mount.xml b/tests/usecases/config-over-netconf/data/mount.xml
new file mode 100644
index 00000000..108369bc
--- /dev/null
+++ b/tests/usecases/config-over-netconf/data/mount.xml
@@ -0,0 +1,14 @@
+<node xmlns="urn:TBD:params:xml:ns:yang:network-topology">
+ <node-id>netopeer2</node-id>
+ <key-based xmlns="urn:opendaylight:netconf-node-topology">
+ <key-id xmlns="urn:opendaylight:netconf-node-topology">ODL_private_key_0</key-id>
+ <username xmlns="urn:opendaylight:netconf-node-topology">netconf</username>
+ </key-based>
+ <host xmlns="urn:opendaylight:netconf-node-topology">pnfaddr</host>
+ <port xmlns="urn:opendaylight:netconf-node-topology">6513</port>
+ <tcp-only xmlns="urn:opendaylight:netconf-node-topology">false</tcp-only>
+ <protocol xmlns="urn:opendaylight:netconf-node-topology">
+ <name xmlns="urn:opendaylight:netconf-node-topology">TLS</name>
+ </protocol>
+ <max-connection-attempts xmlns="urn:opendaylight:netconf-node-topology">2</max-connection-attempts>
+</node>