summaryrefslogtreecommitdiffstats
path: root/asdc-tests/src/test/resources/CI/demoResourcesWanLan/router
diff options
context:
space:
mode:
Diffstat (limited to 'asdc-tests/src/test/resources/CI/demoResourcesWanLan/router')
-rw-r--r--asdc-tests/src/test/resources/CI/demoResourcesWanLan/router/router.json11
-rw-r--r--asdc-tests/src/test/resources/CI/demoResourcesWanLan/router/router.yml13
-rw-r--r--asdc-tests/src/test/resources/CI/demoResourcesWanLan/router/router.zipbin0 -> 455 bytes
3 files changed, 24 insertions, 0 deletions
diff --git a/asdc-tests/src/test/resources/CI/demoResourcesWanLan/router/router.json b/asdc-tests/src/test/resources/CI/demoResourcesWanLan/router/router.json
new file mode 100644
index 0000000000..19e4669a38
--- /dev/null
+++ b/asdc-tests/src/test/resources/CI/demoResourcesWanLan/router/router.json
@@ -0,0 +1,11 @@
+{
+ "payloadName": "router.yml",
+ "contactId": "jh0003",
+ "resourceName": "org.openecomp.asdc.nodes.Router",
+ "description": "Represents a Router Node Type.",
+ "resourceIconPath": "defaulticon",
+ "category": "Infrastructure",
+ "tags": [
+ "org.openecomp.asdc.nodes.Router"
+ ]
+} \ No newline at end of file
diff --git a/asdc-tests/src/test/resources/CI/demoResourcesWanLan/router/router.yml b/asdc-tests/src/test/resources/CI/demoResourcesWanLan/router/router.yml
new file mode 100644
index 0000000000..0598663c64
--- /dev/null
+++ b/asdc-tests/src/test/resources/CI/demoResourcesWanLan/router/router.yml
@@ -0,0 +1,13 @@
+org.openecomp.asdc.nodes.Router:
+ #The Router node has a property "routing_table" which is a list. The entry of the routing_table is the customized data type "RoutingTableEntry"
+ derived_from: org.openecomp.asdc.nodes.Root
+ properties:
+ routing_table:
+ type: list
+ entry_schema:
+ #"entry_schema" is the TOSCA spec to describe the type of the list item
+ type: RoutingTableEntry
+ capabilities:
+ connectTo:
+ #The "connectTo" capability allows other TOSCA nodes (connectors) that requires such a capability to connect to this node.
+ type: org.openecomp.asdc.capabilities.Endpoint \ No newline at end of file
diff --git a/asdc-tests/src/test/resources/CI/demoResourcesWanLan/router/router.zip b/asdc-tests/src/test/resources/CI/demoResourcesWanLan/router/router.zip
new file mode 100644
index 0000000000..57ff8e0e2a
--- /dev/null
+++ b/asdc-tests/src/test/resources/CI/demoResourcesWanLan/router/router.zip
Binary files differ