From b35130e8fa3e8eca9352d4cfac2889a32743541c Mon Sep 17 00:00:00 2001 From: Michael Lando Date: Wed, 27 Sep 2017 19:31:12 +0300 Subject: add new global types add global types needed for volte use case Change-Id: I5613bbc942cb71f59168eee2a8386163a58446fe Issue-ID: SDC-192 Signed-off-by: Michael Lando --- .../tosca/onap-types/extZteVDU/extZteVDU.json | 15 +++++ .../tosca/onap-types/extZteVDU/extZteVDU.yml | 66 +++++++++++++++++++++ .../tosca/onap-types/extZteVDU/extZteVDU.zip | Bin 0 -> 658 bytes 3 files changed, 81 insertions(+) create mode 100644 catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.json create mode 100644 catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.yml create mode 100644 catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.zip (limited to 'catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU') diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.json b/catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.json new file mode 100644 index 0000000000..2ebc518c0c --- /dev/null +++ b/catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.json @@ -0,0 +1,15 @@ +{ + "payloadName": "extZteVDU.yml", + "contactId": "jh0003", + "name": "Ext Zte VDU", + "description": "Ext Zte VDU", + "resourceIconPath": "compute", + "resourceType": "VFC", + "categories": [{ + "name": "Generic", + "subcategories": [{ + "name": "Infrastructure" + }] + }], + "tags": ["Ext Zte VDU"] +} \ No newline at end of file diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.yml b/catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.yml new file mode 100644 index 0000000000..5cd45b74e3 --- /dev/null +++ b/catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.yml @@ -0,0 +1,66 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +node_types: + derived_from: tosca.nodes.Root + properties: + manual_scale_select_vim: + type: boolean + required: false + vdu_type: + type: string + required: false + watchdog: + type: tosca.datatypes.nfv.ext.zte.WatchDog + required: false + name: + type: string + required: false + local_affinity_antiaffinity_rule: + type: tosca.datatypes.nfv.ext.LocalAffinityOrAntiAffinityRule + required: false + support_scaling: + type: boolean + required: false + storage_policy: + type: string + required: false + key_vdu: + type: boolean + required: false + location_info: + type: tosca.datatypes.nfv.ext.LocationInfo + required: false + inject_data_list: + type: list + required: false + entry_schema: + type: tosca.datatypes.nfv.ext.InjectData + requirements: + - guest_os: + capability: tosca.capabilities.nfv.ext.GuestOs + occurrences: + - 0 + - UNBOUNDED + - local_storage: + capability: tosca.capabilities.nfv.ext.LocalAttachment + occurrences: + - 0 + - UNBOUNDED + - volume_storage: + capability: tosca.capabilities.Attachment + occurrences: + - 0 + - UNBOUNDED + - dependency: + capability: tosca.capabilities.Node + occurrences: + - 0 + - UNBOUNDED + capabilities: + scalable: + type: tosca.capabilities.Scalable + monitoring_parameter: + type: tosca.capabilities.nfv.Metric + nfv_compute: + type: tosca.capabilities.nfv.ext.Compute.Container.Architecture + virtualbinding: + type: tosca.capabilities.nfv.VirtualBindable \ No newline at end of file diff --git a/catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.zip b/catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.zip new file mode 100644 index 0000000000..a7ad624422 Binary files /dev/null and b/catalog-be/src/main/resources/import/tosca/onap-types/extZteVDU/extZteVDU.zip differ -- cgit 1.2.3-korg