diff options
author | 2020-08-21 17:51:13 +0100 | |
---|---|---|
committer | 2020-09-07 09:17:08 +0000 | |
commit | bd36f4badbaa5dd1b76996a3e1f73cf4dcfeda01 (patch) | |
tree | e15fe01d8fb0fb1df63fcc3f0e63df75f1d5277b /catalog-be/src/main/resources/import/tosca/nfv-types/NS | |
parent | 0f33ed2e6ee82dc2359c9cb7caaea5f24ae6b61f (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/NS')
-rw-r--r-- | catalog-be/src/main/resources/import/tosca/nfv-types/NS/NS.json | 15 | ||||
-rw-r--r-- | catalog-be/src/main/resources/import/tosca/nfv-types/NS/NS.yml | 42 |
2 files changed, 57 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 |