aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authordyh <dengyuanhong@chinamobile.com>2019-04-19 13:57:46 +0800
committerdyh <dengyuanhong@chinamobile.com>2019-04-19 14:01:10 +0800
commitaffcd0828f0dd0941ba546aca5bce05e8ee1a598 (patch)
treea20b80dbc987dde4ee3e65f3b29e81b49c93cb4f /resources
parent4735409872776f9675df733087dcb1b61b038ab0 (diff)
genericparser seed code
Change-Id: Id15ac689c1d560619bf6c699fb0786e7381d3def Issue-ID: MODELING-153 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/bin/initDB.sh34
-rw-r--r--resources/dbscripts/mysql/modeling-gengricparser-createdb.sql28
-rw-r--r--resources/resource-TestFyx-template.yml457
-rw-r--r--resources/service-TestServiceFyx-template.yml476
4 files changed, 995 insertions, 0 deletions
diff --git a/resources/bin/initDB.sh b/resources/bin/initDB.sh
new file mode 100644
index 0000000..7d87e5d
--- /dev/null
+++ b/resources/bin/initDB.sh
@@ -0,0 +1,34 @@
+#!/bin/bash
+#
+# Copyright 2018 ZTE Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+DIRNAME=`dirname $0`
+HOME=`cd $DIRNAME/; pwd`
+MYSQL_USER=$1
+MYSQL_PASSWORD=$2
+MYSQL_PORT=$3
+MYSQL_IP=$4
+echo "start create gengricparser db"
+sql_path=$HOME/../
+mysql -u$MYSQL_USER -p$MYSQL_PASSWORD -P$MYSQL_PORT -h$MYSQL_IP <$sql_path/dbscripts/mysql/modeling-gengricparser-createdb.sql
+sql_result=$?
+if [ $sql_result -ne 0 ] ; then
+ echo "Failed to create gengricparser database"
+ exit 1
+else
+ echo "Create gengricparser database successfully"
+ exit 0
+fi
+
diff --git a/resources/dbscripts/mysql/modeling-gengricparser-createdb.sql b/resources/dbscripts/mysql/modeling-gengricparser-createdb.sql
new file mode 100644
index 0000000..791bd7f
--- /dev/null
+++ b/resources/dbscripts/mysql/modeling-gengricparser-createdb.sql
@@ -0,0 +1,28 @@
+--
+-- Copyright 2018 ZTE Corporation.
+--
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
+
+/******************create database and user***************************/
+use mysql;
+
+create database if not exists nfvocatalog CHARACTER SET utf8;
+
+
+GRANT ALL PRIVILEGES ON nfvocatalog.* TO 'nfvocatalog'@'%' IDENTIFIED BY 'nfvocatalog' WITH GRANT OPTION;
+GRANT ALL PRIVILEGES ON mysql.* TO 'nfvocatalog'@'%' IDENTIFIED BY 'nfvocatalog' WITH GRANT OPTION;
+
+GRANT ALL PRIVILEGES ON nfvocatalog.* TO 'nfvocatalog'@'localhost' IDENTIFIED BY 'nfvocatalog' WITH GRANT OPTION;
+GRANT ALL PRIVILEGES ON mysql.* TO 'nfvocatalog'@'localhost' IDENTIFIED BY 'nfvocatalog' WITH GRANT OPTION;
+FLUSH PRIVILEGES;
diff --git a/resources/resource-TestFyx-template.yml b/resources/resource-TestFyx-template.yml
new file mode 100644
index 0000000..1d6426b
--- /dev/null
+++ b/resources/resource-TestFyx-template.yml
@@ -0,0 +1,457 @@
+tosca_definitions_version: tosca_simple_yaml_1_1
+metadata:
+ invariantUUID: 4b8712de-254b-4dae-8f16-b3d63c9f2d49
+ UUID: faf6c8f0-b096-44e2-88e9-4527451a71ff
+ name: Test-fyx
+ description: Application Test VF
+ type: VF
+ category: Application L4+
+ subcategory: Application Server
+ resourceVendor: zte
+ resourceVendorRelease: '1.0'
+ resourceVendorModelNumber: ''
+imports:
+- nodes:
+ file: nodes.yml
+- datatypes:
+ file: data.yml
+- capabilities:
+ file: capabilities.yml
+- relationships:
+ file: relationships.yml
+- groups:
+ file: groups.yml
+- policies:
+ file: policies.yml
+- resource-Test-fyx-interface:
+ file: resource-TestFyx-template-interface.yml
+- resource-ExtCP:
+ file: resource-Extcp-template.yml
+- resource-Compute:
+ file: resource-Compute-template.yml
+- resource-BlockStorage:
+ file: resource-Blockstorage-template.yml
+- resource-ContrailVirtualNetwork:
+ file: resource-Contrailvirtualnetwork-template.yml
+- resource-ContrailPort:
+ file: resource-Contrailport-template.yml
+- resource-ObjectStorage:
+ file: resource-Objectstorage-template.yml
+topology_template:
+ inputs:
+ nf_naming:
+ type: org.openecomp.datatypes.Naming
+ default:
+ ecomp_generated_naming: true
+ nf_naming_code:
+ type: string
+ default: {
+ }
+ nf_function:
+ type: string
+ default: {
+ }
+ availability_zone_max_count:
+ type: integer
+ default: 1
+ nf_role:
+ type: string
+ default: {
+ }
+ max_instances:
+ type: integer
+ default: {
+ }
+ min_instances:
+ type: integer
+ default: {
+ }
+ nf_type:
+ type: string
+ default: {
+ }
+ node_templates:
+ VDU-B:
+ type: tosca.nodes.Compute
+ metadata:
+ invariantUUID: 96ac4c35-bdc2-4018-b022-d7df39507d7d
+ UUID: 0da94c51-2271-4ee2-ae13-cd89f46dbdff
+ customizationUUID: ea43f19d-770e-4ed4-9d5a-1f4999366fde
+ version: '1.0'
+ name: Compute
+ description: Represents a real or virtual machine or server. Information specified on the Compute node will be used to find the machine that fits the given requirements in the cloud available machines. If no sizing information are specified the cloud provider default machine will be used. It is strongly recommended to specify the required CPUs and memory at least.
+ type: VFC
+ category: Generic
+ subcategory: Infrastructure
+ resourceVendor: ATT (Tosca)
+ resourceVendorRelease: 1.0.0.wd03
+ resourceVendorModelNumber: ''
+ ContrailPort 0:
+ type: org.openecomp.resource.cp.nodes.heat.network.contrail.Port
+ metadata:
+ invariantUUID: 740aef05-3c26-4fc9-ab83-ef889801af59
+ UUID: 67110e55-8b3b-4595-9e7f-b76a8e5b78c8
+ customizationUUID: 37d74cc1-d060-4cbc-8a23-b0b81424e984
+ version: '2.0'
+ name: ContrailPort
+ description: Represents a logical entity that associates between Compute and Network normative types for contrail.
+ type: CP
+ category: Generic
+ subcategory: Network Elements
+ resourceVendor: ATT (Tosca)
+ resourceVendorRelease: 1.0.0.wd03
+ resourceVendorModelNumber: ''
+ properties:
+ mac_requirements:
+ mac_count_required:
+ is_required: false
+ static_route: false
+ shared_ip: false
+ exCP_naming:
+ ecomp_generated_naming: true
+ is_default: false
+ requirements:
+ - link:
+ capability: tosca.capabilities.network.Linkable
+ node: ContrailVirtualNetwork 0
+ relationship: tosca.relationships.network.LinksTo
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: VDU-B
+ relationship: tosca.relationships.network.BindsTo
+ VDU-C:
+ type: tosca.nodes.Compute
+ metadata:
+ invariantUUID: 96ac4c35-bdc2-4018-b022-d7df39507d7d
+ UUID: 0da94c51-2271-4ee2-ae13-cd89f46dbdff
+ customizationUUID: 8e76a90e-4ec3-4177-bdef-92ce55934f9d
+ version: '1.0'
+ name: Compute
+ description: Represents a real or virtual machine or server. Information specified on the Compute node will be used to find the machine that fits the given requirements in the cloud available machines. If no sizing information are specified the cloud provider default machine will be used. It is strongly recommended to specify the required CPUs and memory at least.
+ type: VFC
+ category: Generic
+ subcategory: Infrastructure
+ resourceVendor: ATT (Tosca)
+ resourceVendorRelease: 1.0.0.wd03
+ resourceVendorModelNumber: ''
+ ContrailPort 1:
+ type: org.openecomp.resource.cp.nodes.heat.network.contrail.Port
+ metadata:
+ invariantUUID: 740aef05-3c26-4fc9-ab83-ef889801af59
+ UUID: 67110e55-8b3b-4595-9e7f-b76a8e5b78c8
+ customizationUUID: 723cf043-6243-4a82-b220-d3fa548ce79f
+ version: '2.0'
+ name: ContrailPort
+ description: Represents a logical entity that associates between Compute and Network normative types for contrail.
+ type: CP
+ category: Generic
+ subcategory: Network Elements
+ resourceVendor: ATT (Tosca)
+ resourceVendorRelease: 1.0.0.wd03
+ resourceVendorModelNumber: ''
+ properties:
+ mac_requirements:
+ mac_count_required:
+ is_required: false
+ static_route: false
+ shared_ip: false
+ exCP_naming:
+ ecomp_generated_naming: true
+ is_default: false
+ requirements:
+ - link:
+ capability: tosca.capabilities.network.Linkable
+ node: ContrailVirtualNetwork 0
+ relationship: tosca.relationships.network.LinksTo
+ - binding:
+ capability: tosca.capabilities.network.Bindable
+ node: VDU-A
+ relationship: tosca.relationships.network.BindsTo
+ BlockStorage 0:
+ type: tosca.nodes.BlockStorage
+ metadata:
+ invariantUUID: 0b40dcd5-3d95-4dd4-bf9b-22b2f10755b8
+ UUID: 9ad49f03-2aa2-48e2-8fae-82d3b7f81788
+ customizationUUID: 9239f0fc-eaaa-400d-bca1-8510841fa651
+ version: '1.0'
+ name: BlockStorage
+ description: Represents a server-local block storage device (i.e., not shared) offering evenly sized blocks of data from which raw storage volumes can be created.
+ type: VFC
+ category: Generic
+ subcategory: Infrastructure
+ resourceVendor: ATT (Tosca)
+ resourceVendorRelease: 1.0.0.wd03
+ resourceVendorModelNumber: ''
+ VDU-A:
+ type: tosca.nodes.Compute
+ metadata:
+ invariantUUID: 96ac4c35-bdc2-4018-b022-d7df39507d7d
+ UUID: 0da94c51-2271-4ee2-ae13-cd89f46dbdff
+ customizationUUID: 35ccbeed-443d-4899-9042-82433aea3c01
+ version: '1.0'
+ name: Compute
+ description: Represents a real or virtual machine or server. Information specified on the Compute node will be used to find the machine that fits the given requirements in the cloud available machines. If no sizing information are specified the cloud provider default machine will be used. It is strongly recommended to specify the required CPUs and memory at least.
+ type: VFC
+ category: Generic
+ subcategory: Infrastructure
+ resourceVendor: ATT (Tosca)
+ resourceVendorRelease: 1.0.0.wd03
+ resourceVendorModelNumber: ''
+ ExtCP 0:
+ type: org.openecomp.resource.cp.extCP
+ metadata:
+ invariantUUID: 68f72152-2c57-4099-8bbc-aedb388a8f81
+ UUID: 41d5a4a1-346e-4b47-a08f-936572916657
+ customizationUUID: 94e2a43c-2c99-487f-a74b-d82edbbd1d5f
+ version: '2.0'
+ name: ExtCP
+ description: The AT&T Connection Point base type all other CP derive from
+ type: CP
+ category: Generic
+ subcategory: Network Elements
+ resourceVendor: ATT (Tosca)
+ resourceVendorRelease: 1.0.0.wd03
+ resourceVendorModelNumber: ''
+ properties:
+ mac_requirements:
+ mac_count_required:
+ is_required: false
+ exCP_naming:
+ ecomp_generated_naming: true
+ requirements:
+ - virtualBinding:
+ capability: tosca.capabilities.network.Bindable
+ node: VDU-C
+ relationship: tosca.relationships.network.BindsTo
+ ObjectStorage 0:
+ type: tosca.nodes.ObjectStorage
+ metadata:
+ invariantUUID: 4e89d2a8-ff83-47f8-9788-4aef40feaf0e
+ UUID: e7217097-ada2-42b9-81af-ccf525514796
+ customizationUUID: 42cc06c5-3bf2-480b-8c30-aac34c48e39f
+ version: '1.0'
+ name: ObjectStorage
+ description: Represents storage that provides the ability to store data as objects (or BLOBs of data) without consideration for the underlying filesystem or devices.
+ type: VFC
+ category: Generic
+ subcategory: Infrastructure
+ resourceVendor: ATT (Tosca)
+ resourceVendorRelease: 1.0.0.wd03
+ resourceVendorModelNumber: ''
+ ContrailVirtualNetwork 0:
+ type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
+ metadata:
+ invariantUUID: 86b02009-8634-44f1-a22f-dc685460c95d
+ UUID: 4ebcc4a7-d648-4b7b-a23c-a094ec89b7f0
+ customizationUUID: d320316b-e61e-44f4-991d-e06f5fa3f9d2
+ version: '1.0'
+ name: ContrailVirtualNetwork
+ description: Represents a network service with optional subnets and advanced configurations.
+ type: VL
+ category: Generic
+ subcategory: Network Elements
+ resourceVendor: ATT (Tosca)
+ resourceVendorRelease: 1.0.0.wd03
+ resourceVendorModelNumber: ''
+ properties:
+ dhcp_enabled: true
+ ip_version: 4
+ substitution_mappings:
+ node_type: org.openecomp.resource.vf.TestFyx
+ capabilities:
+ extcp0.feature:
+ - ExtCP 0
+ - feature
+ compute0.binding:
+ - Compute 0
+ - binding
+ contrailport1.network.outgoing.packets.rate:
+ - ContrailPort 1
+ - network.outgoing.packets.rate
+ objectstorage0.feature:
+ - ObjectStorage 0
+ - feature
+ compute1.binding:
+ - Compute 1
+ - binding
+ contrailport0.network.incoming.packets.rate:
+ - ContrailPort 0
+ - network.incoming.packets.rate
+ compute1.endpoint:
+ - Compute 1
+ - endpoint
+ contrailport1.network.incoming.packets:
+ - ContrailPort 1
+ - network.incoming.packets
+ objectstorage0.storage_endpoint:
+ - ObjectStorage 0
+ - storage_endpoint
+ compute2.binding:
+ - Compute 2
+ - binding
+ contrailport1.network.incoming.bytes.rate:
+ - ContrailPort 1
+ - network.incoming.bytes.rate
+ contrailport1.network.outpoing.packets:
+ - ContrailPort 1
+ - network.outpoing.packets
+ contrailport0.network.incoming.packets:
+ - ContrailPort 0
+ - network.incoming.packets
+ contrailport0.feature:
+ - ContrailPort 0
+ - feature
+ compute1.host:
+ - Compute 1
+ - host
+ compute0.endpoint:
+ - Compute 0
+ - endpoint
+ contrailport1.feature:
+ - ContrailPort 1
+ - feature
+ blockstorage0.attachment:
+ - BlockStorage 0
+ - attachment
+ contrailvirtualnetwork0.end_point:
+ - ContrailVirtualNetwork 0
+ - end_point
+ contrailport0.network.outgoing.packets.rate:
+ - ContrailPort 0
+ - network.outgoing.packets.rate
+ compute2.os:
+ - Compute 2
+ - os
+ compute0.os:
+ - Compute 0
+ - os
+ compute1.scalable:
+ - Compute 1
+ - scalable
+ contrailport1.network.incoming.bytes:
+ - ContrailPort 1
+ - network.incoming.bytes
+ contrailvirtualnetwork0.attachment:
+ - ContrailVirtualNetwork 0
+ - attachment
+ contrailvirtualnetwork0.link:
+ - ContrailVirtualNetwork 0
+ - link
+ extcp0.internal_connectionPoint:
+ - ExtCP 0
+ - internal_connectionPoint
+ contrailport1.network.incoming.packets.rate:
+ - ContrailPort 1
+ - network.incoming.packets.rate
+ contrailport0.network.outgoing.bytes.rate:
+ - ContrailPort 0
+ - network.outgoing.bytes.rate
+ compute2.endpoint:
+ - Compute 2
+ - endpoint
+ blockstorage0.feature:
+ - BlockStorage 0
+ - feature
+ contrailvirtualnetwork0.feature:
+ - ContrailVirtualNetwork 0
+ - feature
+ compute0.feature:
+ - Compute 0
+ - feature
+ compute0.host:
+ - Compute 0
+ - host
+ compute1.feature:
+ - Compute 1
+ - feature
+ contrailport1.network.outgoing.bytes:
+ - ContrailPort 1
+ - network.outgoing.bytes
+ compute0.scalable:
+ - Compute 0
+ - scalable
+ compute2.feature:
+ - Compute 2
+ - feature
+ compute2.scalable:
+ - Compute 2
+ - scalable
+ contrailport0.network.outgoing.bytes:
+ - ContrailPort 0
+ - network.outgoing.bytes
+ contrailport1.network.outgoing.bytes.rate:
+ - ContrailPort 1
+ - network.outgoing.bytes.rate
+ contrailport0.network.outpoing.packets:
+ - ContrailPort 0
+ - network.outpoing.packets
+ compute2.host:
+ - Compute 2
+ - host
+ contrailport0.network.incoming.bytes:
+ - ContrailPort 0
+ - network.incoming.bytes
+ compute1.os:
+ - Compute 1
+ - os
+ contrailport0.network.incoming.bytes.rate:
+ - ContrailPort 0
+ - network.incoming.bytes.rate
+ requirements:
+ compute2.local_storage:
+ - Compute 2
+ - local_storage
+ extcp0.virtualBinding:
+ - ExtCP 0
+ - virtualBinding
+ blockstorage0.dependency:
+ - BlockStorage 0
+ - dependency
+ contrailport0.dependency:
+ - ContrailPort 0
+ - dependency
+ compute2.dependency:
+ - Compute 2
+ - dependency
+ extcp0.dependency:
+ - ExtCP 0
+ - dependency
+ contrailport0.link:
+ - ContrailPort 0
+ - link
+ compute1.local_storage:
+ - Compute 1
+ - local_storage
+ contrailport0.binding:
+ - ContrailPort 0
+ - binding
+ compute0.local_storage:
+ - Compute 0
+ - local_storage
+ contrailport1.dependency:
+ - ContrailPort 1
+ - dependency
+ contrailport1.binding:
+ - ContrailPort 1
+ - binding
+ compute1.dependency:
+ - Compute 1
+ - dependency
+ compute0.dependency:
+ - Compute 0
+ - dependency
+ extcp0.external_virtualLink:
+ - ExtCP 0
+ - external_virtualLink
+ contrailport1.link:
+ - ContrailPort 1
+ - link
+ objectstorage0.dependency:
+ - ObjectStorage 0
+ - dependency
+ contrailvirtualnetwork0.dependency:
+ - ContrailVirtualNetwork 0
+ - dependency
+ extcp0.virtualLink:
+ - ExtCP 0
+ - virtualLink
diff --git a/resources/service-TestServiceFyx-template.yml b/resources/service-TestServiceFyx-template.yml
new file mode 100644
index 0000000..e4b18a1
--- /dev/null
+++ b/resources/service-TestServiceFyx-template.yml
@@ -0,0 +1,476 @@
+tosca_definitions_version: tosca_simple_yaml_1_1
+metadata:
+ invariantUUID: 54d92e89-b56b-41b1-af6b-cdeb75cb233f
+ UUID: 21fa8ccd-064f-4ecc-98e0-3196a4d12e0e
+ name: Test-Service-fyx
+ description: Service Test
+ type: Service
+ category: Mobility
+ serviceType: ''
+ serviceRole: ''
+ serviceEcompNaming: true
+ ecompGeneratedNaming: true
+ namingPolicy: ''
+imports:
+- nodes:
+ file: nodes.yml
+- datatypes:
+ file: data.yml
+- capabilities:
+ file: capabilities.yml
+- relationships:
+ file: relationships.yml
+- groups:
+ file: groups.yml
+- policies:
+ file: policies.yml
+- service-Test-Service-fyx-interface:
+ file: service-TestServiceFyx-template-interface.yml
+- resource-ExtVL:
+ file: resource-Extvl-template.yml
+- resource-Test-fyx:
+ file: resource-TestFyx-template.yml
+- resource-Test-fyx-interface:
+ file: resource-TestFyx-template-interface.yml
+- resource-ExtCP:
+ file: resource-Extcp-template.yml
+- resource-vIMS:
+ file: resource-Vims-template.yml
+- resource-vIMS-interface:
+ file: resource-Vims-template-interface.yml
+topology_template:
+ node_templates:
+ ExtVL 0:
+ type: org.openecomp.resource.vl.extVL
+ metadata:
+ invariantUUID: 25e1a13f-c8dc-4823-97b6-1ef40d06e695
+ UUID: 883a59b7-2221-4465-87d5-0cd880a5eb1a
+ customizationUUID: c62183b0-161b-441d-8e70-8cd931b01413
+ version: '1.0'
+ name: ExtVL
+ description: ECOMP generic virtual link (network) base type for all other service-level and global networks
+ type: VL
+ category: Generic
+ subcategory: Network Elements
+ resourceVendor: ATT (Tosca)
+ resourceVendorRelease: 1.0.0.wd03
+ resourceVendorModelNumber: ''
+ properties:
+ network_assignments:
+ is_external_network: false
+ ipv4_subnet_default_assignment:
+ min_subnets_count: 1
+ ecomp_generated_network_assignment: false
+ ipv6_subnet_default_assignment:
+ min_subnets_count: 1
+ exVL_naming:
+ ecomp_generated_naming: true
+ network_flows:
+ is_network_policy: false
+ is_bound_to_vpn: false
+ network_homing:
+ ecomp_selected_instance_node_target: false
+ Test-fyx 0:
+ type: org.openecomp.resource.vf.TestFyx
+ metadata:
+ invariantUUID: 4b8712de-254b-4dae-8f16-b3d63c9f2d49
+ UUID: faf6c8f0-b096-44e2-88e9-4527451a71ff
+ customizationUUID: 14254e74-4465-44af-a057-550a07785be8
+ version: '0.1'
+ name: Test-fyx
+ description: Application Test VF
+ type: VF
+ category: Application L4+
+ subcategory: Application Server
+ resourceVendor: zte
+ resourceVendorRelease: '1.0'
+ resourceVendorModelNumber: ''
+ properties:
+ nf_naming:
+ ecomp_generated_naming: true
+ availability_zone_max_count: 1
+ requirements:
+ - virtualLink:
+ capability: tosca.capabilities.network.Linkable
+ node: ExtVL 0
+ relationship: tosca.relationships.network.LinksTo
+ ExtCP 0:
+ type: org.openecomp.resource.cp.extCP
+ metadata:
+ invariantUUID: 68f72152-2c57-4099-8bbc-aedb388a8f81
+ UUID: 41d5a4a1-346e-4b47-a08f-936572916657
+ customizationUUID: f89628fa-4983-4468-a0f2-20c5810d43e4
+ version: '2.0'
+ name: ExtCP
+ description: The AT&T Connection Point base type all other CP derive from
+ type: CP
+ category: Generic
+ subcategory: Network Elements
+ resourceVendor: ATT (Tosca)
+ resourceVendorRelease: 1.0.0.wd03
+ resourceVendorModelNumber: ''
+ properties:
+ mac_requirements:
+ mac_count_required:
+ is_required: false
+ exCP_naming:
+ ecomp_generated_naming: true
+ requirements:
+ - virtualBinding:
+ capability: tosca.capabilities.network.Bindable
+ node: vIMS 0
+ relationship: tosca.relationships.network.BindsTo
+ - virtualLink:
+ capability: tosca.capabilities.network.Linkable
+ node: ExtVL 0
+ relationship: tosca.relationships.network.LinksTo
+ vIMS 0:
+ type: org.openecomp.resource.vf.Vims
+ metadata:
+ invariantUUID: 2191b35e-42aa-4407-81a2-184f4bf991be
+ UUID: a71ff273-fe43-46fa-a4bc-79d48a250c96
+ customizationUUID: f4cc1a90-ce84-43ab-aaa6-5eccad21f7d2
+ version: '0.1'
+ name: vIMS
+ description: Desc of vIMS
+ type: VF
+ category: Application L4+
+ subcategory: Web Server
+ resourceVendor: zte
+ resourceVendorRelease: v1.0
+ resourceVendorModelNumber: ''
+ properties:
+ nf_naming:
+ ecomp_generated_naming: true
+ availability_zone_max_count: 1
+ substitution_mappings:
+ node_type: org.openecomp.service.TestServiceFyx
+ capabilities:
+ vims0.port1.feature:
+ - Port 1
+ - port1.feature
+ testfyx0.contrailport0.network.incoming.packets:
+ - ContrailPort 0
+ - contrailport0.network.incoming.packets
+ vims0.compute0.feature:
+ - Compute 0
+ - compute0.feature
+ testfyx0.compute1.feature:
+ - Compute 1
+ - compute1.feature
+ testfyx0.contrailvirtualnetwork0.link:
+ - ContrailVirtualNetwork 0
+ - contrailvirtualnetwork0.link
+ testfyx0.contrailport0.network.incoming.packets.rate:
+ - ContrailPort 0
+ - contrailport0.network.incoming.packets.rate
+ testfyx0.compute2.host:
+ - Compute 2
+ - compute2.host
+ vims0.compute0.os:
+ - Compute 0
+ - compute0.os
+ vims0.compute1.scalable:
+ - Compute 1
+ - compute1.scalable
+ testfyx0.contrailport0.network.incoming.bytes.rate:
+ - ContrailPort 0
+ - contrailport0.network.incoming.bytes.rate
+ vims0.compute0.host:
+ - Compute 0
+ - compute0.host
+ vims0.compute0.endpoint:
+ - Compute 0
+ - compute0.endpoint
+ testfyx0.contrailport0.network.incoming.bytes:
+ - ContrailPort 0
+ - contrailport0.network.incoming.bytes
+ testfyx0.objectstorage0.storage_endpoint:
+ - ObjectStorage 0
+ - objectstorage0.storage_endpoint
+ testfyx0.compute0.binding:
+ - Compute 0
+ - compute0.binding
+ testfyx0.compute0.os:
+ - Compute 0
+ - compute0.os
+ testfyx0.compute0.endpoint:
+ - Compute 0
+ - compute0.endpoint
+ testfyx0.contrailport0.feature:
+ - ContrailPort 0
+ - contrailport0.feature
+ extcp0.internal_connectionPoint:
+ - ExtCP 0
+ - internal_connectionPoint
+ testfyx0.compute1.binding:
+ - Compute 1
+ - compute1.binding
+ vims0.compute1.host:
+ - Compute 1
+ - compute1.host
+ testfyx0.contrailport0.network.outgoing.packets.rate:
+ - ContrailPort 0
+ - contrailport0.network.outgoing.packets.rate
+ testfyx0.compute1.endpoint:
+ - Compute 1
+ - compute1.endpoint
+ testfyx0.contrailport1.network.outgoing.bytes:
+ - ContrailPort 1
+ - contrailport1.network.outgoing.bytes
+ vims0.compute1.os:
+ - Compute 1
+ - compute1.os
+ vims0.compute1.binding:
+ - Compute 1
+ - compute1.binding
+ testfyx0.contrailport1.network.outgoing.bytes.rate:
+ - ContrailPort 1
+ - contrailport1.network.outgoing.bytes.rate
+ vims0.vl0.virtual_linkable:
+ - VL 0
+ - vl0.virtual_linkable
+ testfyx0.extcp0.feature:
+ - ExtCP 0
+ - extcp0.feature
+ testfyx0.contrailvirtualnetwork0.feature:
+ - ContrailVirtualNetwork 0
+ - contrailvirtualnetwork0.feature
+ testfyx0.compute1.host:
+ - Compute 1
+ - compute1.host
+ extvl0.feature:
+ - ExtVL 0
+ - feature
+ extcp0.feature:
+ - ExtCP 0
+ - feature
+ vims0.compute1.feature:
+ - Compute 1
+ - compute1.feature
+ testfyx0.contrailport0.network.outpoing.packets:
+ - ContrailPort 0
+ - contrailport0.network.outpoing.packets
+ testfyx0.blockstorage0.attachment:
+ - BlockStorage 0
+ - blockstorage0.attachment
+ testfyx0.contrailport1.network.incoming.packets:
+ - ContrailPort 1
+ - contrailport1.network.incoming.packets
+ testfyx0.compute0.feature:
+ - Compute 0
+ - compute0.feature
+ testfyx0.compute2.feature:
+ - Compute 2
+ - compute2.feature
+ testfyx0.contrailport1.network.outgoing.packets.rate:
+ - ContrailPort 1
+ - contrailport1.network.outgoing.packets.rate
+ vims0.compute0.scalable:
+ - Compute 0
+ - compute0.scalable
+ testfyx0.contrailport1.network.incoming.bytes.rate:
+ - ContrailPort 1
+ - contrailport1.network.incoming.bytes.rate
+ testfyx0.compute0.scalable:
+ - Compute 0
+ - compute0.scalable
+ testfyx0.contrailvirtualnetwork0.end_point:
+ - ContrailVirtualNetwork 0
+ - contrailvirtualnetwork0.end_point
+ vims0.vl0.end_point:
+ - VL 0
+ - vl0.end_point
+ testfyx0.compute2.endpoint:
+ - Compute 2
+ - compute2.endpoint
+ vims0.extcp0.internal_connectionPoint:
+ - ExtCP 0
+ - extcp0.internal_connectionPoint
+ testfyx0.compute2.os:
+ - Compute 2
+ - compute2.os
+ testfyx0.contrailport0.network.outgoing.bytes:
+ - ContrailPort 0
+ - contrailport0.network.outgoing.bytes
+ testfyx0.compute0.host:
+ - Compute 0
+ - compute0.host
+ vims0.extcp0.feature:
+ - ExtCP 0
+ - extcp0.feature
+ testfyx0.contrailport1.network.incoming.packets.rate:
+ - ContrailPort 1
+ - contrailport1.network.incoming.packets.rate
+ vims0.compute0.binding:
+ - Compute 0
+ - compute0.binding
+ testfyx0.contrailport1.feature:
+ - ContrailPort 1
+ - contrailport1.feature
+ testfyx0.objectstorage0.feature:
+ - ObjectStorage 0
+ - objectstorage0.feature
+ testfyx0.compute1.scalable:
+ - Compute 1
+ - compute1.scalable
+ vims0.compute1.endpoint:
+ - Compute 1
+ - compute1.endpoint
+ extvl0.virtual_linkable:
+ - ExtVL 0
+ - virtual_linkable
+ testfyx0.compute2.binding:
+ - Compute 2
+ - compute2.binding
+ testfyx0.contrailvirtualnetwork0.attachment:
+ - ContrailVirtualNetwork 0
+ - contrailvirtualnetwork0.attachment
+ testfyx0.compute1.os:
+ - Compute 1
+ - compute1.os
+ vims0.vl0.feature:
+ - VL 0
+ - vl0.feature
+ testfyx0.extcp0.internal_connectionPoint:
+ - ExtCP 0
+ - extcp0.internal_connectionPoint
+ testfyx0.blockstorage0.feature:
+ - BlockStorage 0
+ - blockstorage0.feature
+ testfyx0.contrailport1.network.outpoing.packets:
+ - ContrailPort 1
+ - contrailport1.network.outpoing.packets
+ testfyx0.contrailport1.network.incoming.bytes:
+ - ContrailPort 1
+ - contrailport1.network.incoming.bytes
+ vims0.port0.feature:
+ - Port 0
+ - port0.feature
+ testfyx0.contrailport0.network.outgoing.bytes.rate:
+ - ContrailPort 0
+ - contrailport0.network.outgoing.bytes.rate
+ vims0.vl0.link:
+ - VL 0
+ - vl0.link
+ testfyx0.compute2.scalable:
+ - Compute 2
+ - compute2.scalable
+ requirements:
+ vims0.port0.dependency:
+ - Port 0
+ - port0.dependency
+ testfyx0.contrailport1.binding:
+ - ContrailPort 1
+ - contrailport1.binding
+ testfyx0.extcp0.virtualLink:
+ - ExtCP 0
+ - extcp0.virtualLink
+ vims0.extcp0.virtualLink:
+ - ExtCP 0
+ - extcp0.virtualLink
+ vims0.port1.link:
+ - Port 1
+ - port1.link
+ extvl0.dependency:
+ - ExtVL 0
+ - dependency
+ testfyx0.extcp0.dependency:
+ - ExtCP 0
+ - extcp0.dependency
+ testfyx0.compute1.dependency:
+ - Compute 1
+ - compute1.dependency
+ vims0.compute1.dependency:
+ - Compute 1
+ - compute1.dependency
+ testfyx0.compute1.local_storage:
+ - Compute 1
+ - compute1.local_storage
+ vims0.compute0.local_storage:
+ - Compute 0
+ - compute0.local_storage
+ vims0.port1.dependency:
+ - Port 1
+ - port1.dependency
+ vims0.extcp0.dependency:
+ - ExtCP 0
+ - extcp0.dependency
+ vims0.vl0.dependency:
+ - VL 0
+ - vl0.dependency
+ testfyx0.blockstorage0.dependency:
+ - BlockStorage 0
+ - blockstorage0.dependency
+ testfyx0.contrailport1.dependency:
+ - ContrailPort 1
+ - contrailport1.dependency
+ testfyx0.contrailport0.link:
+ - ContrailPort 0
+ - contrailport0.link
+ testfyx0.extcp0.external_virtualLink:
+ - ExtCP 0
+ - extcp0.external_virtualLink
+ testfyx0.contrailport0.binding:
+ - ContrailPort 0
+ - contrailport0.binding
+ testfyx0.compute2.dependency:
+ - Compute 2
+ - compute2.dependency
+ extcp0.virtualLink:
+ - ExtCP 0
+ - virtualLink
+ testfyx0.contrailport1.link:
+ - ContrailPort 1
+ - contrailport1.link
+ extcp0.virtualBinding:
+ - ExtCP 0
+ - virtualBinding
+ testfyx0.compute2.local_storage:
+ - Compute 2
+ - compute2.local_storage
+ vims0.port0.link:
+ - Port 0
+ - port0.link
+ vims0.port0.binding:
+ - Port 0
+ - port0.binding
+ testfyx0.contrailport0.dependency:
+ - ContrailPort 0
+ - contrailport0.dependency
+ extcp0.dependency:
+ - ExtCP 0
+ - dependency
+ vims0.compute1.local_storage:
+ - Compute 1
+ - compute1.local_storage
+ testfyx0.contrailvirtualnetwork0.dependency:
+ - ContrailVirtualNetwork 0
+ - contrailvirtualnetwork0.dependency
+ vims0.extcp0.virtualBinding:
+ - ExtCP 0
+ - extcp0.virtualBinding
+ testfyx0.compute0.local_storage:
+ - Compute 0
+ - compute0.local_storage
+ testfyx0.extcp0.virtualBinding:
+ - ExtCP 0
+ - extcp0.virtualBinding
+ extcp0.external_virtualLink:
+ - ExtCP 0
+ - external_virtualLink
+ testfyx0.objectstorage0.dependency:
+ - ObjectStorage 0
+ - objectstorage0.dependency
+ vims0.compute0.dependency:
+ - Compute 0
+ - compute0.dependency
+ vims0.port1.binding:
+ - Port 1
+ - port1.binding
+ vims0.extcp0.external_virtualLink:
+ - ExtCP 0
+ - extcp0.external_virtualLink
+ testfyx0.compute0.dependency:
+ - Compute 0
+ - compute0.dependency