aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/import/tosca/nfv-types
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2020-08-21 17:51:13 +0100
committerSébastien Determe <sebastien.determe@intl.att.com>2020-09-07 09:17:08 +0000
commitbd36f4badbaa5dd1b76996a3e1f73cf4dcfeda01 (patch)
treee15fe01d8fb0fb1df63fcc3f0e63df75f1d5277b /catalog-be/src/main/resources/import/tosca/nfv-types
parent0f33ed2e6ee82dc2359c9cb7caaea5f24ae6b61f (diff)
Adding ETSI NS types
Change-Id: I22f644a6b02f4f05ddc951af899463df9b11b7db Issue-ID: SDC-2618 Signed-off-by: MichaelMorris <michael.morris@est.tech>
Diffstat (limited to 'catalog-be/src/main/resources/import/tosca/nfv-types')
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/NS/NS.json15
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/NS/NS.yml42
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/NsVirtualLink/NsVirtualLink.json15
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/NsVirtualLink/NsVirtualLink.yml28
4 files changed, 100 insertions, 0 deletions
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/NS/NS.json b/catalog-be/src/main/resources/import/tosca/nfv-types/NS/NS.json
new file mode 100644
index 0000000000..b64dc5000a
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/NS/NS.json
@@ -0,0 +1,15 @@
+{
+ "payloadName": "NS.yml",
+ "contactId": "jh0003",
+ "name": "NS",
+ "description": "ETSI NS",
+ "resourceIconPath": "network",
+ "resourceType": "VFC",
+ "categories": [{
+ "name": "Generic",
+ "subcategories": [{
+ "name": "Network Elements"
+ }]
+ }],
+ "tags": ["NS"]
+}
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/NS/NS.yml b/catalog-be/src/main/resources/import/tosca/nfv-types/NS/NS.yml
new file mode 100644
index 0000000000..1e0c7f5133
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/NS/NS.yml
@@ -0,0 +1,42 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+ tosca.nodes.nfv.NS:
+ derived_from: tosca.nodes.Root
+ properties:
+ descriptor_id:
+ type: string # UUID
+ description: Identifier of this NS descriptor
+ required: true
+ designer:
+ type: string
+ description: Identifies the designer of the NSD.
+ required: true
+ version:
+ type: string
+ description: Identifies the version of the NSD.
+ required: true
+ name:
+ type: string
+ description: Provides the human readable name of the NSD.
+ required: true
+ invariant_id: # UUID
+ type: string
+ description: Identifies an NSD in a version independent manner. This attribute is invariant across versions of NSD
+ required: true
+ flavour_id:
+ type: string
+ description: Identifier of the NS Deployment Flavour within the NSD
+ required: true
+ ns_profile:
+ type: tosca.datatypes.nfv.NsProfile
+ description: Specifies a profile of a NS, when this NS is used as nested NS within another NS.
+ required: false
+ requirements:
+ - virtual_link:
+ capability: tosca.capabilities.nfv.VirtualLinkable
+ relationship: tosca.relationships.nfv.VirtualLinksTo
+ node: tosca.nodes.nfv.NsVirtualLink
+ occurrences: [ 0, 1 ]
+ interfaces:
+ Nslcm:
+ type: tosca.interfaces.nfv.Nslcm
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/NsVirtualLink/NsVirtualLink.json b/catalog-be/src/main/resources/import/tosca/nfv-types/NsVirtualLink/NsVirtualLink.json
new file mode 100644
index 0000000000..727d4d60c2
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/NsVirtualLink/NsVirtualLink.json
@@ -0,0 +1,15 @@
+{
+ "payloadName": "NsVirtualLink.yml",
+ "contactId": "jh0003",
+ "name": "NsVirtualLink",
+ "description": "ETSI NsVirtualLink",
+ "resourceIconPath": "network",
+ "resourceType": "VL",
+ "categories": [{
+ "name": "Generic",
+ "subcategories": [{
+ "name": "Infrastructure"
+ }]
+ }],
+ "tags": ["NsVirtualLink"]
+}
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/NsVirtualLink/NsVirtualLink.yml b/catalog-be/src/main/resources/import/tosca/nfv-types/NsVirtualLink/NsVirtualLink.yml
new file mode 100644
index 0000000000..8ace02c81a
--- /dev/null
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/NsVirtualLink/NsVirtualLink.yml
@@ -0,0 +1,28 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+ tosca.nodes.nfv.NsVirtualLink:
+ derived_from: tosca.nodes.Root
+ description: node definition of Virtual Links
+ properties:
+ vl_profile:
+ type: tosca.datatypes.nfv.NsVlProfile # only covers min/max bitrate requirements
+ description: Specifies instantiation parameters for a virtual link of a particular NS deployment flavour.
+ required: true
+ connectivity_type:
+ type: tosca.datatypes.nfv.ConnectivityType
+ required: true
+ test_access:
+ type: list
+ description: Test access facilities available on the VL
+ required: false
+ entry_schema:
+ type: string
+ constraints:
+ - valid_values: [ passive_monitoring, active_loopback ]
+ description:
+ type: string
+ required: false
+ description: Human readable information on the purpose of the virtual link (e.g. VL for control plane traffic).
+ capabilities:
+ virtual_linkable:
+ type: tosca.capabilities.nfv.VirtualLinkable