aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml826
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/MainServiceTemplate.yaml46
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/nested-pcm_v0.1ServiceTemplate.yaml249
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/nested-pcm_v0.1_2ServiceTemplate.yaml249
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/inputs/MANIFEST.json11
5 files changed, 1220 insertions, 161 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml
index 9e0e6efecd..f8f5764af2 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml
@@ -2,32 +2,8 @@ tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
template_name: GlobalSubstitutionTypes
imports:
- ContrailComputeGlobalTypes:
- file: ContrailComputeGlobalTypesServiceTemplate.yaml
- CinderVolumeGlobalTypes:
- file: CinderVolumeGlobalTypesServiceTemplate.yaml
- ContrailVirtualNetworkGlobalType:
- file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
- AbstractSubstituteGlobalTypes:
- file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
- ContrailPortGlobalTypes:
- file: ContrailPortGlobalTypesServiceTemplate.yaml
- NeutronPortGlobalTypes:
- file: NeutronPortGlobalTypesServiceTemplate.yaml
- NeutronNetGlobalTypes:
- file: NeutronNetGlobalTypesServiceTemplate.yaml
- CommonGlobalTypes:
- file: CommonGlobalTypesServiceTemplate.yaml
- ContrailAbstractSubstituteGlobalTypes:
- file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
- ContrailNetworkRuleGlobalType:
- file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
- NeutronSecurityRulesGlobalTypes:
- file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
- NovaServerGlobalTypes:
- file: NovaServerGlobalTypesServiceTemplate.yaml
- ContrailV2VirtualMachineInterfaceGlobalType:
- file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
node_types:
org.openecomp.resource.abstract.nodes.heat.nested-pcm_v0.1_2:
derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
@@ -35,47 +11,83 @@ node_types:
pcm_flavor_name:
type: string
description: flavor name of PCRF CM instance
+ required: true
+ status: SUPPORTED
availabilityzone_name:
type: string
description: availabilityzone name
+ required: true
+ status: SUPPORTED
pcm_image_name:
type: string
description: PCRF CM image name
+ required: true
+ status: SUPPORTED
pcm_vol:
type: string
description: CPS Cluman Cinder Volume
+ required: true
+ status: SUPPORTED
security_group_name:
type: string
description: the name of security group
+ required: true
+ status: SUPPORTED
cps_net_ip:
type: string
description: CPS network ip
+ required: true
+ status: SUPPORTED
pcm_server_name:
type: string
description: PCRF CM server name
+ required: true
+ status: SUPPORTED
cps_net_name:
type: string
description: CPS network name
+ required: true
+ status: SUPPORTED
cps_net_mask:
type: string
description: CPS network mask
+ required: true
+ status: SUPPORTED
oam_net_ip:
type: string
+ required: true
+ status: SUPPORTED
oam_net_name:
type: string
description: OAM network name
+ required: true
+ status: SUPPORTED
attributes:
server_pcm_id:
type: string
description: the pcm nova service id
+ status: SUPPORTED
requirements:
+ - dependency_pcm_port_1:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
- link_pcm_port_1:
capability: tosca.capabilities.network.Linkable
- node: tosca.nodes.Root
relationship: tosca.relationships.network.LinksTo
occurrences:
- 1
- 1
+ - dependency_server_pcm:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
- local_storage_server_pcm:
capability: tosca.capabilities.Attachment
node: tosca.nodes.BlockStorage
@@ -83,16 +95,163 @@ node_types:
occurrences:
- 0
- UNBOUNDED
+ - dependency_pcm_port_0:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
- link_pcm_port_0:
capability: tosca.capabilities.network.Linkable
- node: tosca.nodes.Root
relationship: tosca.relationships.network.LinksTo
occurrences:
- 1
- 1
capabilities:
- endpoint_server_pcm:
- type: tosca.capabilities.Endpoint.Admin
+ network.incoming.packets.rate_pcm_port_0:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets.rate_pcm_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outpoing.packets_pcm_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ memory_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.requests_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outpoing.packets_pcm_port_0:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.iops_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ memory.resident_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.requests_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.usage_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.allocation_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.usage_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.bytes_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.root.size_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.ephemeral.size_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.latency_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes_pcm_port_0:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes_pcm_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_pcm_port_0:
+ type: tosca.capabilities.network.Bindable
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ occurrences:
+ - 0
+ - UNBOUNDED
+ binding_pcm_port_1:
+ type: tosca.capabilities.network.Bindable
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ occurrences:
+ - 0
+ - UNBOUNDED
+ memory.usage_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.requests_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.capacity_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
@@ -101,6 +260,132 @@ node_types:
occurrences:
- 1
- UNBOUNDED
+ disk.read.bytes_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.packets.rate_pcm_port_0:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.packets.rate_pcm_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_pcm_port_1:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes_pcm_port_0:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.bytes_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_pcm_port_0:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes_pcm_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ attachment_pcm_port_0:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ attachment_pcm_port_1:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ endpoint_server_pcm:
+ type: tosca.capabilities.Endpoint.Admin
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.requests.rate_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ vcpus_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.bytes_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.iops_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.bytes.rate_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.allocation_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ scalable_server_pcm:
+ type: tosca.capabilities.Scalable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.bytes.rate_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu_util_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.requests.rate_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.bytes.rate_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
host_server_pcm:
type: tosca.capabilities.Container
valid_source_types:
@@ -108,8 +393,21 @@ node_types:
occurrences:
- 1
- UNBOUNDED
- scalable_server_pcm:
- type: tosca.capabilities.Scalable
+ cpu.delta_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes.rate_pcm_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets_pcm_port_0:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
@@ -118,13 +416,68 @@ node_types:
occurrences:
- 1
- UNBOUNDED
- attachment_pcm_port_0:
- type: tosca.capabilities.Attachment
+ network.outgoing.bytes.rate_pcm_port_0:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
- attachment_pcm_port_1:
- type: tosca.capabilities.Attachment
+ disk.device.capacity_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets_pcm_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ instance_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.requests.rate_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.latency_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.requests_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_server_pcm:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes.rate_pcm_port_0:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.bytes.rate_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes.rate_pcm_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
@@ -134,54 +487,94 @@ node_types:
availabilityzone_name:
type: string
description: availabilityzone name
+ required: true
+ status: SUPPORTED
oam_net_gw:
type: string
description: CPS network gateway
+ required: true
+ status: SUPPORTED
pcm_image_name:
type: string
description: PCRF CM image name
+ required: true
+ status: SUPPORTED
security_group_name:
type: string
description: the name of security group
+ required: true
+ status: SUPPORTED
cps_net_ip:
type: string
description: CPS network ip
+ required: true
+ status: SUPPORTED
pcm_flavor_name:
type: string
description: flavor name of PCRF CM instance
+ required: true
+ status: SUPPORTED
pcm_vol:
type: string
description: CPS Cluman Cinder Volume
+ required: true
+ status: SUPPORTED
pcm_server_name:
type: string
description: PCRF CM server name
+ required: true
+ status: SUPPORTED
cps_net_name:
type: string
description: CPS network name
+ required: true
+ status: SUPPORTED
cps_net_mask:
type: string
description: CPS network mask
+ required: true
+ status: SUPPORTED
oam_net_ip:
type: string
description: OAM network ip
+ required: true
+ status: SUPPORTED
oam_net_mask:
type: string
description: CPS network mask
+ required: true
+ status: SUPPORTED
oam_net_name:
type: string
description: OAM network name
+ required: true
+ status: SUPPORTED
attributes:
server_pcm_id:
type: string
description: the pcm nova service id
+ status: SUPPORTED
requirements:
+ - dependency_pcm_port_1:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
- link_pcm_port_1:
capability: tosca.capabilities.network.Linkable
- node: tosca.nodes.Root
relationship: tosca.relationships.network.LinksTo
occurrences:
- 1
- 1
+ - dependency_server_pcm:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
- local_storage_server_pcm:
capability: tosca.capabilities.Attachment
node: tosca.nodes.BlockStorage
@@ -189,16 +582,163 @@ node_types:
occurrences:
- 0
- UNBOUNDED
+ - dependency_pcm_port_0:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
- link_pcm_port_0:
capability: tosca.capabilities.network.Linkable
- node: tosca.nodes.Root
relationship: tosca.relationships.network.LinksTo
occurrences:
- 1
- 1
capabilities:
- endpoint_server_pcm:
- type: tosca.capabilities.Endpoint.Admin
+ network.incoming.packets.rate_pcm_port_0:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets.rate_pcm_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outpoing.packets_pcm_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ memory_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.requests_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outpoing.packets_pcm_port_0:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.iops_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ memory.resident_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.requests_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.usage_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.allocation_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.usage_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.bytes_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.root.size_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.ephemeral.size_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.latency_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes_pcm_port_0:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes_pcm_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_pcm_port_0:
+ type: tosca.capabilities.network.Bindable
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ occurrences:
+ - 0
+ - UNBOUNDED
+ binding_pcm_port_1:
+ type: tosca.capabilities.network.Bindable
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ occurrences:
+ - 0
+ - UNBOUNDED
+ memory.usage_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.requests_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.capacity_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
@@ -207,6 +747,132 @@ node_types:
occurrences:
- 1
- UNBOUNDED
+ disk.read.bytes_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.packets.rate_pcm_port_0:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.packets.rate_pcm_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_pcm_port_1:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes_pcm_port_0:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.bytes_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_pcm_port_0:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes_pcm_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ attachment_pcm_port_0:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ attachment_pcm_port_1:
+ type: tosca.capabilities.Attachment
+ occurrences:
+ - 1
+ - UNBOUNDED
+ endpoint_server_pcm:
+ type: tosca.capabilities.Endpoint.Admin
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.requests.rate_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ vcpus_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.bytes_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.iops_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.bytes.rate_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.allocation_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ scalable_server_pcm:
+ type: tosca.capabilities.Scalable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.bytes.rate_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ cpu_util_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.requests.rate_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.bytes.rate_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
host_server_pcm:
type: tosca.capabilities.Container
valid_source_types:
@@ -214,8 +880,21 @@ node_types:
occurrences:
- 1
- UNBOUNDED
- scalable_server_pcm:
- type: tosca.capabilities.Scalable
+ cpu.delta_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.outgoing.bytes.rate_pcm_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets_pcm_port_0:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
@@ -224,13 +903,68 @@ node_types:
occurrences:
- 1
- UNBOUNDED
- attachment_pcm_port_0:
- type: tosca.capabilities.Attachment
+ network.outgoing.bytes.rate_pcm_port_0:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED
- attachment_pcm_port_1:
- type: tosca.capabilities.Attachment
+ disk.device.capacity_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.packets_pcm_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ instance_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.requests.rate_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.latency_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.requests_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ feature_server_pcm:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes.rate_pcm_port_0:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.bytes.rate_server_pcm:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
+ occurrences:
+ - 1
+ - UNBOUNDED
+ network.incoming.bytes.rate_pcm_port_1:
+ type: org.openecomp.capabilities.metric.Ceilometer
+ description: A node type that includes the Metric capability indicates that it can be monitored using ceilometer.
occurrences:
- 1
- UNBOUNDED \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/MainServiceTemplate.yaml
index a0063b174e..d61871c767 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/MainServiceTemplate.yaml
@@ -2,34 +2,10 @@ tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
template_name: Main
imports:
- ContrailComputeGlobalTypes:
- file: ContrailComputeGlobalTypesServiceTemplate.yaml
- CinderVolumeGlobalTypes:
- file: CinderVolumeGlobalTypesServiceTemplate.yaml
- ContrailVirtualNetworkGlobalType:
- file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
- AbstractSubstituteGlobalTypes:
- file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
- ContrailPortGlobalTypes:
- file: ContrailPortGlobalTypesServiceTemplate.yaml
- GlobalSubstitutionTypes:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
file: GlobalSubstitutionTypesServiceTemplate.yaml
- NeutronPortGlobalTypes:
- file: NeutronPortGlobalTypesServiceTemplate.yaml
- NeutronNetGlobalTypes:
- file: NeutronNetGlobalTypesServiceTemplate.yaml
- CommonGlobalTypes:
- file: CommonGlobalTypesServiceTemplate.yaml
- ContrailAbstractSubstituteGlobalTypes:
- file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
- ContrailNetworkRuleGlobalType:
- file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
- NeutronSecurityRulesGlobalTypes:
- file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
- NovaServerGlobalTypes:
- file: NovaServerGlobalTypesServiceTemplate.yaml
- ContrailV2VirtualMachineInterfaceGlobalType:
- file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
topology_template:
inputs:
oam_net_ips:
@@ -222,19 +198,19 @@ topology_template:
cps_net_mask:
get_input: cps_net_mask
groups:
- hot-nimbus-pcm_v0.4_2:
+ hot-nimbus-pcm_v0.4_group:
type: org.openecomp.groups.heat.HeatStack
properties:
- heat_file: ../Artifacts/hot-nimbus-pcm_v0.4_2.yaml
+ heat_file: ../Artifacts/hot-nimbus-pcm_v0.4.yaml
description: heat template that creates PCRF Cluman stack
members:
- - server_pcm_004
- - server_pcm_003
- hot-nimbus-pcm_v0.4:
+ - server_pcm_002
+ - server_pcm_001
+ hot-nimbus-pcm_v0.4_2_group:
type: org.openecomp.groups.heat.HeatStack
properties:
- heat_file: ../Artifacts/hot-nimbus-pcm_v0.4.yaml
+ heat_file: ../Artifacts/hot-nimbus-pcm_v0.4_2.yaml
description: heat template that creates PCRF Cluman stack
members:
- - server_pcm_002
- - server_pcm_001 \ No newline at end of file
+ - server_pcm_004
+ - server_pcm_003 \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/nested-pcm_v0.1ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/nested-pcm_v0.1ServiceTemplate.yaml
index 1b03021742..f0fffa18ed 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/nested-pcm_v0.1ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/nested-pcm_v0.1ServiceTemplate.yaml
@@ -2,34 +2,10 @@ tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
template_name: nested-pcm_v0.1
imports:
- ContrailComputeGlobalTypes:
- file: ContrailComputeGlobalTypesServiceTemplate.yaml
- CinderVolumeGlobalTypes:
- file: CinderVolumeGlobalTypesServiceTemplate.yaml
- ContrailVirtualNetworkGlobalType:
- file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
- AbstractSubstituteGlobalTypes:
- file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
- ContrailPortGlobalTypes:
- file: ContrailPortGlobalTypesServiceTemplate.yaml
- GlobalSubstitutionTypes:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
file: GlobalSubstitutionTypesServiceTemplate.yaml
- NeutronPortGlobalTypes:
- file: NeutronPortGlobalTypesServiceTemplate.yaml
- NeutronNetGlobalTypes:
- file: NeutronNetGlobalTypesServiceTemplate.yaml
- CommonGlobalTypes:
- file: CommonGlobalTypesServiceTemplate.yaml
- ContrailAbstractSubstituteGlobalTypes:
- file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
- ContrailNetworkRuleGlobalType:
- file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
- NeutronSecurityRulesGlobalTypes:
- file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
- NovaServerGlobalTypes:
- file: NovaServerGlobalTypesServiceTemplate.yaml
- ContrailV2VirtualMachineInterfaceGlobalType:
- file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
node_types:
org.openecomp.resource.vfc.nodes.heat.pcm_server:
derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
@@ -117,11 +93,21 @@ topology_template:
pcm_port_1:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
+ ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
security_groups:
- get_input: security_group_name
fixed_ips:
- ip_address:
get_input: oam_net_ip
+ mac_requirements:
+ mac_count_required:
+ is_required: false
+ network_role_tag: oam
network:
get_input: oam_net_name
requirements:
@@ -138,18 +124,28 @@ topology_template:
get_input: availabilityzone_name
image:
get_input: pcm_image_name
- config_drive: 'True'
+ config_drive: true
user_data_format: RAW
name:
get_input: pcm_server_name
pcm_port_0:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
+ ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
security_groups:
- get_input: security_group_name
fixed_ips:
- ip_address:
get_input: cps_net_ip
+ mac_requirements:
+ mac_count_required:
+ is_required: false
+ network_role_tag: cps
network:
get_input: cps_net_name
requirements:
@@ -158,7 +154,7 @@ topology_template:
node: server_pcm
relationship: tosca.relationships.network.BindsTo
groups:
- nested-pcm_v0.1:
+ nested-pcm_v0.1_group:
type: org.openecomp.groups.heat.HeatStack
properties:
heat_file: ../Artifacts/nested-pcm_v0.1.yaml
@@ -174,27 +170,195 @@ topology_template:
substitution_mappings:
node_type: org.openecomp.resource.abstract.nodes.heat.nested-pcm_v0.1
capabilities:
- endpoint_server_pcm:
+ network.incoming.packets.rate_pcm_port_0:
+ - pcm_port_0
+ - network.incoming.packets.rate
+ cpu_server_pcm:
- server_pcm
- - endpoint
+ - cpu
+ network.incoming.packets.rate_pcm_port_1:
+ - pcm_port_1
+ - network.incoming.packets.rate
+ network.outpoing.packets_pcm_port_1:
+ - pcm_port_1
+ - network.outpoing.packets
+ memory_server_pcm:
+ - server_pcm
+ - memory
+ disk.write.requests_server_pcm:
+ - server_pcm
+ - disk.write.requests
+ network.outpoing.packets_pcm_port_0:
+ - pcm_port_0
+ - network.outpoing.packets
+ disk.device.iops_server_pcm:
+ - server_pcm
+ - disk.device.iops
+ memory.resident_server_pcm:
+ - server_pcm
+ - memory.resident
+ disk.device.write.requests_server_pcm:
+ - server_pcm
+ - disk.device.write.requests
+ disk.device.usage_server_pcm:
+ - server_pcm
+ - disk.device.usage
+ disk.allocation_server_pcm:
+ - server_pcm
+ - disk.allocation
+ disk.usage_server_pcm:
+ - server_pcm
+ - disk.usage
+ disk.device.write.bytes_server_pcm:
+ - server_pcm
+ - disk.device.write.bytes
+ disk.root.size_server_pcm:
+ - server_pcm
+ - disk.root.size
+ disk.ephemeral.size_server_pcm:
+ - server_pcm
+ - disk.ephemeral.size
+ disk.device.latency_server_pcm:
+ - server_pcm
+ - disk.device.latency
+ network.incoming.bytes_pcm_port_0:
+ - pcm_port_0
+ - network.incoming.bytes
+ network.incoming.bytes_pcm_port_1:
+ - pcm_port_1
+ - network.incoming.bytes
+ binding_pcm_port_0:
+ - pcm_port_0
+ - binding
+ binding_pcm_port_1:
+ - pcm_port_1
+ - binding
+ memory.usage_server_pcm:
+ - server_pcm
+ - memory.usage
+ disk.read.requests_server_pcm:
+ - server_pcm
+ - disk.read.requests
+ disk.capacity_server_pcm:
+ - server_pcm
+ - disk.capacity
os_server_pcm:
- server_pcm
- os
- host_server_pcm:
+ disk.read.bytes_server_pcm:
- server_pcm
- - host
+ - disk.read.bytes
+ network.outgoing.packets.rate_pcm_port_0:
+ - pcm_port_0
+ - network.outgoing.packets.rate
+ network.outgoing.packets.rate_pcm_port_1:
+ - pcm_port_1
+ - network.outgoing.packets.rate
+ feature_pcm_port_1:
+ - pcm_port_1
+ - feature
+ network.outgoing.bytes_pcm_port_0:
+ - pcm_port_0
+ - network.outgoing.bytes
+ disk.device.read.bytes_server_pcm:
+ - server_pcm
+ - disk.device.read.bytes
+ feature_pcm_port_0:
+ - pcm_port_0
+ - feature
+ network.outgoing.bytes_pcm_port_1:
+ - pcm_port_1
+ - network.outgoing.bytes
+ attachment_pcm_port_0:
+ - pcm_port_0
+ - attachment
+ attachment_pcm_port_1:
+ - pcm_port_1
+ - attachment
+ endpoint_server_pcm:
+ - server_pcm
+ - endpoint
+ disk.device.read.requests.rate_server_pcm:
+ - server_pcm
+ - disk.device.read.requests.rate
+ vcpus_server_pcm:
+ - server_pcm
+ - vcpus
+ disk.write.bytes_server_pcm:
+ - server_pcm
+ - disk.write.bytes
+ disk.iops_server_pcm:
+ - server_pcm
+ - disk.iops
+ disk.read.bytes.rate_server_pcm:
+ - server_pcm
+ - disk.read.bytes.rate
+ disk.device.allocation_server_pcm:
+ - server_pcm
+ - disk.device.allocation
scalable_server_pcm:
- server_pcm
- scalable
+ disk.device.read.bytes.rate_server_pcm:
+ - server_pcm
+ - disk.device.read.bytes.rate
+ cpu_util_server_pcm:
+ - server_pcm
+ - cpu_util
+ disk.write.requests.rate_server_pcm:
+ - server_pcm
+ - disk.write.requests.rate
+ disk.device.write.bytes.rate_server_pcm:
+ - server_pcm
+ - disk.device.write.bytes.rate
+ host_server_pcm:
+ - server_pcm
+ - host
+ cpu.delta_server_pcm:
+ - server_pcm
+ - cpu.delta
+ network.outgoing.bytes.rate_pcm_port_1:
+ - pcm_port_1
+ - network.outgoing.bytes.rate
+ network.incoming.packets_pcm_port_0:
+ - pcm_port_0
+ - network.incoming.packets
binding_server_pcm:
- server_pcm
- binding
- attachment_pcm_port_0:
+ network.outgoing.bytes.rate_pcm_port_0:
- pcm_port_0
- - attachment
- attachment_pcm_port_1:
+ - network.outgoing.bytes.rate
+ disk.device.capacity_server_pcm:
+ - server_pcm
+ - disk.device.capacity
+ network.incoming.packets_pcm_port_1:
- pcm_port_1
- - attachment
+ - network.incoming.packets
+ instance_server_pcm:
+ - server_pcm
+ - instance
+ disk.device.write.requests.rate_server_pcm:
+ - server_pcm
+ - disk.device.write.requests.rate
+ disk.latency_server_pcm:
+ - server_pcm
+ - disk.latency
+ disk.device.read.requests_server_pcm:
+ - server_pcm
+ - disk.device.read.requests
+ feature_server_pcm:
+ - server_pcm
+ - feature
+ network.incoming.bytes.rate_pcm_port_0:
+ - pcm_port_0
+ - network.incoming.bytes.rate
+ disk.write.bytes.rate_server_pcm:
+ - server_pcm
+ - disk.write.bytes.rate
+ network.incoming.bytes.rate_pcm_port_1:
+ - pcm_port_1
+ - network.incoming.bytes.rate
requirements:
link_pcm_port_0:
- pcm_port_0
@@ -204,4 +368,13 @@ topology_template:
- link
local_storage_server_pcm:
- server_pcm
- - local_storage \ No newline at end of file
+ - local_storage
+ dependency_pcm_port_0:
+ - pcm_port_0
+ - dependency
+ dependency_server_pcm:
+ - server_pcm
+ - dependency
+ dependency_pcm_port_1:
+ - pcm_port_1
+ - dependency \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/nested-pcm_v0.1_2ServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/nested-pcm_v0.1_2ServiceTemplate.yaml
index 34d0c6d899..8aa225dbdc 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/nested-pcm_v0.1_2ServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/expectedoutputfiles/nested-pcm_v0.1_2ServiceTemplate.yaml
@@ -2,34 +2,10 @@ tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
template_name: nested-pcm_v0.1_2
imports:
- ContrailComputeGlobalTypes:
- file: ContrailComputeGlobalTypesServiceTemplate.yaml
- CinderVolumeGlobalTypes:
- file: CinderVolumeGlobalTypesServiceTemplate.yaml
- ContrailVirtualNetworkGlobalType:
- file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
- AbstractSubstituteGlobalTypes:
- file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
- ContrailPortGlobalTypes:
- file: ContrailPortGlobalTypesServiceTemplate.yaml
- GlobalSubstitutionTypes:
+- openecomp_heat_index:
+ file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
file: GlobalSubstitutionTypesServiceTemplate.yaml
- NeutronPortGlobalTypes:
- file: NeutronPortGlobalTypesServiceTemplate.yaml
- NeutronNetGlobalTypes:
- file: NeutronNetGlobalTypesServiceTemplate.yaml
- CommonGlobalTypes:
- file: CommonGlobalTypesServiceTemplate.yaml
- ContrailAbstractSubstituteGlobalTypes:
- file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
- ContrailNetworkRuleGlobalType:
- file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
- NeutronSecurityRulesGlobalTypes:
- file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
- NovaServerGlobalTypes:
- file: NovaServerGlobalTypesServiceTemplate.yaml
- ContrailV2VirtualMachineInterfaceGlobalType:
- file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
node_types:
org.openecomp.resource.vfc.nodes.heat.pcm_server:
derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
@@ -103,11 +79,21 @@ topology_template:
pcm_port_1:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
+ ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
security_groups:
- get_input: security_group_name
fixed_ips:
- ip_address:
get_input: oam_net_ip
+ mac_requirements:
+ mac_count_required:
+ is_required: false
+ network_role_tag: oam
network:
get_input: oam_net_name
requirements:
@@ -124,18 +110,28 @@ topology_template:
get_input: availabilityzone_name
image:
get_input: pcm_image_name
- config_drive: 'True'
+ config_drive: true
user_data_format: RAW
name:
get_input: pcm_server_name
pcm_port_0:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
+ ip_requirements:
+ - ip_version: 4
+ ip_count_required:
+ is_required: true
+ floating_ip_count_required:
+ is_required: false
security_groups:
- get_input: security_group_name
fixed_ips:
- ip_address:
get_input: cps_net_ip
+ mac_requirements:
+ mac_count_required:
+ is_required: false
+ network_role_tag: cps
network:
get_input: cps_net_name
requirements:
@@ -144,7 +140,7 @@ topology_template:
node: server_pcm
relationship: tosca.relationships.network.BindsTo
groups:
- nested-pcm_v0.1_2:
+ nested-pcm_v0.1_2_group:
type: org.openecomp.groups.heat.HeatStack
properties:
heat_file: ../Artifacts/nested-pcm_v0.1_2.yaml
@@ -160,27 +156,195 @@ topology_template:
substitution_mappings:
node_type: org.openecomp.resource.abstract.nodes.heat.nested-pcm_v0.1_2
capabilities:
- endpoint_server_pcm:
+ network.incoming.packets.rate_pcm_port_0:
+ - pcm_port_0
+ - network.incoming.packets.rate
+ cpu_server_pcm:
- server_pcm
- - endpoint
+ - cpu
+ network.incoming.packets.rate_pcm_port_1:
+ - pcm_port_1
+ - network.incoming.packets.rate
+ network.outpoing.packets_pcm_port_1:
+ - pcm_port_1
+ - network.outpoing.packets
+ memory_server_pcm:
+ - server_pcm
+ - memory
+ disk.write.requests_server_pcm:
+ - server_pcm
+ - disk.write.requests
+ network.outpoing.packets_pcm_port_0:
+ - pcm_port_0
+ - network.outpoing.packets
+ disk.device.iops_server_pcm:
+ - server_pcm
+ - disk.device.iops
+ memory.resident_server_pcm:
+ - server_pcm
+ - memory.resident
+ disk.device.write.requests_server_pcm:
+ - server_pcm
+ - disk.device.write.requests
+ disk.device.usage_server_pcm:
+ - server_pcm
+ - disk.device.usage
+ disk.allocation_server_pcm:
+ - server_pcm
+ - disk.allocation
+ disk.usage_server_pcm:
+ - server_pcm
+ - disk.usage
+ disk.device.write.bytes_server_pcm:
+ - server_pcm
+ - disk.device.write.bytes
+ disk.root.size_server_pcm:
+ - server_pcm
+ - disk.root.size
+ disk.ephemeral.size_server_pcm:
+ - server_pcm
+ - disk.ephemeral.size
+ disk.device.latency_server_pcm:
+ - server_pcm
+ - disk.device.latency
+ network.incoming.bytes_pcm_port_0:
+ - pcm_port_0
+ - network.incoming.bytes
+ network.incoming.bytes_pcm_port_1:
+ - pcm_port_1
+ - network.incoming.bytes
+ binding_pcm_port_0:
+ - pcm_port_0
+ - binding
+ binding_pcm_port_1:
+ - pcm_port_1
+ - binding
+ memory.usage_server_pcm:
+ - server_pcm
+ - memory.usage
+ disk.read.requests_server_pcm:
+ - server_pcm
+ - disk.read.requests
+ disk.capacity_server_pcm:
+ - server_pcm
+ - disk.capacity
os_server_pcm:
- server_pcm
- os
- host_server_pcm:
+ disk.read.bytes_server_pcm:
- server_pcm
- - host
+ - disk.read.bytes
+ network.outgoing.packets.rate_pcm_port_0:
+ - pcm_port_0
+ - network.outgoing.packets.rate
+ network.outgoing.packets.rate_pcm_port_1:
+ - pcm_port_1
+ - network.outgoing.packets.rate
+ feature_pcm_port_1:
+ - pcm_port_1
+ - feature
+ network.outgoing.bytes_pcm_port_0:
+ - pcm_port_0
+ - network.outgoing.bytes
+ disk.device.read.bytes_server_pcm:
+ - server_pcm
+ - disk.device.read.bytes
+ feature_pcm_port_0:
+ - pcm_port_0
+ - feature
+ network.outgoing.bytes_pcm_port_1:
+ - pcm_port_1
+ - network.outgoing.bytes
+ attachment_pcm_port_0:
+ - pcm_port_0
+ - attachment
+ attachment_pcm_port_1:
+ - pcm_port_1
+ - attachment
+ endpoint_server_pcm:
+ - server_pcm
+ - endpoint
+ disk.device.read.requests.rate_server_pcm:
+ - server_pcm
+ - disk.device.read.requests.rate
+ vcpus_server_pcm:
+ - server_pcm
+ - vcpus
+ disk.write.bytes_server_pcm:
+ - server_pcm
+ - disk.write.bytes
+ disk.iops_server_pcm:
+ - server_pcm
+ - disk.iops
+ disk.read.bytes.rate_server_pcm:
+ - server_pcm
+ - disk.read.bytes.rate
+ disk.device.allocation_server_pcm:
+ - server_pcm
+ - disk.device.allocation
scalable_server_pcm:
- server_pcm
- scalable
+ disk.device.read.bytes.rate_server_pcm:
+ - server_pcm
+ - disk.device.read.bytes.rate
+ cpu_util_server_pcm:
+ - server_pcm
+ - cpu_util
+ disk.write.requests.rate_server_pcm:
+ - server_pcm
+ - disk.write.requests.rate
+ disk.device.write.bytes.rate_server_pcm:
+ - server_pcm
+ - disk.device.write.bytes.rate
+ host_server_pcm:
+ - server_pcm
+ - host
+ cpu.delta_server_pcm:
+ - server_pcm
+ - cpu.delta
+ network.outgoing.bytes.rate_pcm_port_1:
+ - pcm_port_1
+ - network.outgoing.bytes.rate
+ network.incoming.packets_pcm_port_0:
+ - pcm_port_0
+ - network.incoming.packets
binding_server_pcm:
- server_pcm
- binding
- attachment_pcm_port_0:
+ network.outgoing.bytes.rate_pcm_port_0:
- pcm_port_0
- - attachment
- attachment_pcm_port_1:
+ - network.outgoing.bytes.rate
+ disk.device.capacity_server_pcm:
+ - server_pcm
+ - disk.device.capacity
+ network.incoming.packets_pcm_port_1:
- pcm_port_1
- - attachment
+ - network.incoming.packets
+ instance_server_pcm:
+ - server_pcm
+ - instance
+ disk.device.write.requests.rate_server_pcm:
+ - server_pcm
+ - disk.device.write.requests.rate
+ disk.latency_server_pcm:
+ - server_pcm
+ - disk.latency
+ disk.device.read.requests_server_pcm:
+ - server_pcm
+ - disk.device.read.requests
+ feature_server_pcm:
+ - server_pcm
+ - feature
+ network.incoming.bytes.rate_pcm_port_0:
+ - pcm_port_0
+ - network.incoming.bytes.rate
+ disk.write.bytes.rate_server_pcm:
+ - server_pcm
+ - disk.write.bytes.rate
+ network.incoming.bytes.rate_pcm_port_1:
+ - pcm_port_1
+ - network.incoming.bytes.rate
requirements:
link_pcm_port_0:
- pcm_port_0
@@ -190,4 +354,13 @@ topology_template:
- link
local_storage_server_pcm:
- server_pcm
- - local_storage \ No newline at end of file
+ - local_storage
+ dependency_pcm_port_0:
+ - pcm_port_0
+ - dependency
+ dependency_server_pcm:
+ - server_pcm
+ - dependency
+ dependency_pcm_port_1:
+ - pcm_port_1
+ - dependency \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/inputs/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/inputs/MANIFEST.json
index b32b92ca11..455efc1e25 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/inputs/MANIFEST.json
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/multi/inputs/MANIFEST.json
@@ -11,14 +11,17 @@
"file": "hot-nimbus-pcm_v0.4.env",
"type": "HEAT_ENV"
}
- ]
- },{
+ ]
+ },
+ {
"file": "nested-pcm_v0.1.yaml",
"type": "HEAT"
- },{
+ },
+ {
"file": "hot-nimbus-pcm_v0.4_2.yaml",
"type": "HEAT"
- },{
+ },
+ {
"file": "nested-pcm_v0.1_2.yaml",
"type": "HEAT"
},