summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/porttonetconnection/nested/expectedoutputfiles
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/porttonetconnection/nested/expectedoutputfiles')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/porttonetconnection/nested/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml422
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/porttonetconnection/nested/expectedoutputfiles/MainServiceTemplate.yaml73
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/porttonetconnection/nested/expectedoutputfiles/nestedServiceTemplate.yaml280
3 files changed, 589 insertions, 186 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/porttonetconnection/nested/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/porttonetconnection/nested/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml
index 8db67317a4..53137592ad 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/porttonetconnection/nested/expectedoutputfiles/GlobalSubstitutionTypesServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/porttonetconnection/nested/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:
derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
@@ -35,39 +11,49 @@ node_types:
cmaui_names:
type: list
description: CMAUI1, CMAUI2 server names
+ required: true
+ status: SUPPORTED
entry_schema:
type: string
p1:
type: string
description: UID of OAM network
- p2:
- type: string
- p3:
- type: string
+ required: true
+ status: SUPPORTED
cmaui_image:
type: string
description: Image for CMAUI server
+ required: true
+ status: SUPPORTED
cmaui_flavor:
type: string
description: Flavor for CMAUI server
+ required: true
+ status: SUPPORTED
security_group_name:
type: list
description: CMAUI1, CMAUI2 server names
+ required: true
+ status: SUPPORTED
entry_schema:
type: string
availability_zone_0:
type: string
description: availabilityzone name
+ required: true
+ status: SUPPORTED
cmaui_oam_ips:
type: string
+ required: true
+ status: SUPPORTED
requirements:
- - link_cmaui_port_2:
- capability: tosca.capabilities.network.Linkable
+ - dependency_server_cmaui:
+ capability: tosca.capabilities.Node
node: tosca.nodes.Root
- relationship: tosca.relationships.network.LinksTo
+ relationship: tosca.relationships.DependsOn
occurrences:
- - 1
- - 1
+ - 0
+ - UNBOUNDED
- local_storage_server_cmaui:
capability: tosca.capabilities.Attachment
node: tosca.nodes.BlockStorage
@@ -75,21 +61,97 @@ node_types:
occurrences:
- 0
- UNBOUNDED
+ - dependency_cmaui_port_1:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
- link_cmaui_port_1:
capability: tosca.capabilities.network.Linkable
- node: tosca.nodes.Root
relationship: tosca.relationships.network.LinksTo
occurrences:
- 1
- 1
+ - dependency_cmaui_port_0:
+ capability: tosca.capabilities.Node
+ node: tosca.nodes.Root
+ relationship: tosca.relationships.DependsOn
+ occurrences:
+ - 0
+ - UNBOUNDED
- link_cmaui_port_0:
capability: tosca.capabilities.network.Linkable
- node: tosca.nodes.Root
relationship: tosca.relationships.network.LinksTo
occurrences:
- 1
- 1
capabilities:
+ cpu.delta_server_cmaui:
+ 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_cmaui:
+ 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_cmaui:
+ 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_cmaui_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
+ scalable_server_cmaui:
+ type: tosca.capabilities.Scalable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.read.bytes.rate_server_cmaui:
+ 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_cmaui_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
+ cpu_server_cmaui:
+ 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_cmaui_port_1:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.write.bytes.rate_server_cmaui:
+ 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.rate_server_cmaui:
+ 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_cmaui:
type: tosca.capabilities.Container
valid_source_types:
@@ -97,28 +159,62 @@ node_types:
occurrences:
- 1
- UNBOUNDED
- os_server_cmaui:
- type: tosca.capabilities.OperatingSystem
+ cpu_util_server_cmaui:
+ 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
- endpoint_server_cmaui:
- type: tosca.capabilities.Endpoint.Admin
+ feature_cmaui_port_0:
+ type: tosca.capabilities.Node
occurrences:
- 1
- UNBOUNDED
- binding_server_cmaui:
- type: tosca.capabilities.network.Bindable
+ disk.device.latency_server_cmaui:
+ 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_cmaui_port_2:
- type: tosca.capabilities.Attachment
+ disk.device.write.requests_server_cmaui:
+ 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_cmaui:
- type: tosca.capabilities.Scalable
+ disk.read.requests_server_cmaui:
+ 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_cmaui_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.capacity_server_cmaui:
+ 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_cmaui_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
+ disk.usage_server_cmaui:
+ 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_cmaui_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
@@ -127,8 +223,240 @@ node_types:
occurrences:
- 1
- UNBOUNDED
+ disk.device.usage_server_cmaui:
+ 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_cmaui_port_1:
type: tosca.capabilities.Attachment
occurrences:
- 1
+ - UNBOUNDED
+ network.outgoing.bytes_cmaui_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.capacity_server_cmaui:
+ 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_cmaui:
+ 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_cmaui:
+ 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_cmaui:
+ 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_cmaui:
+ 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_cmaui:
+ 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_cmaui:
+ 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_server_cmaui:
+ type: tosca.capabilities.network.Bindable
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.read.requests.rate_server_cmaui:
+ 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_cmaui:
+ 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
+ os_server_cmaui:
+ type: tosca.capabilities.OperatingSystem
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.device.write.bytes.rate_server_cmaui:
+ 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_cmaui_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_cmaui_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
+ memory.resident_server_cmaui:
+ 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_cmaui:
+ 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_cmaui_port_0:
+ type: tosca.capabilities.network.Bindable
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ occurrences:
+ - 0
+ - UNBOUNDED
+ feature_server_cmaui:
+ type: tosca.capabilities.Node
+ occurrences:
+ - 1
+ - UNBOUNDED
+ binding_cmaui_port_1:
+ type: tosca.capabilities.network.Bindable
+ valid_source_types:
+ - org.openecomp.resource.cp.nodes.heat.network.contrailV2.VLANSubInterface
+ occurrences:
+ - 0
+ - UNBOUNDED
+ vcpus_server_cmaui:
+ 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_cmaui_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.write.bytes_server_cmaui:
+ 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_cmaui_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
+ disk.allocation_server_cmaui:
+ 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_cmaui:
+ 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.usage_server_cmaui:
+ 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_cmaui_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.ephemeral.size_server_cmaui:
+ 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_cmaui_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.outgoing.bytes.rate_cmaui_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.bytes.rate_cmaui_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
+ endpoint_server_cmaui:
+ type: tosca.capabilities.Endpoint.Admin
+ occurrences:
+ - 1
+ - UNBOUNDED
+ disk.iops_server_cmaui:
+ 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_cmaui:
+ 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_server_cmaui:
+ 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_cmaui_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.bytes_cmaui_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 \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/porttonetconnection/nested/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/porttonetconnection/nested/expectedoutputfiles/MainServiceTemplate.yaml
index db605c9de0..43427622c2 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/porttonetconnection/nested/expectedoutputfiles/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/porttonetconnection/nested/expectedoutputfiles/MainServiceTemplate.yaml
@@ -2,78 +2,24 @@ 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
-node_types:
- org.openecomp.resource.vfc.nodes.heat.jsa:
- derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
topology_template:
inputs:
- contrail_net_name:
- hidden: false
- immutable: false
- type: string
jsa_net_name:
hidden: false
immutable: false
type: string
description: network name of jsa log network
- jsa_name:
- hidden: false
- immutable: false
- type: string
node_templates:
- test_nestedInvalidConnectionToNetwork:
- type: org.openecomp.resource.abstract.nodes.heat.nested
- directives:
- - substitutable
- properties:
- p1: test_nova
- service_template_filter:
- substitute_service_template: nestedServiceTemplate.yaml
- test_contrailV2_net:
- type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
- properties:
- network_name:
- get_input: contrail_net_name
test_net:
type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
properties:
shared: true
network_name:
get_input: jsa_net_name
- test_nova:
- type: org.openecomp.resource.vfc.nodes.heat.jsa
- properties:
- image: image
- name:
- get_input: jsa_name
test_nested:
type: org.openecomp.resource.abstract.nodes.heat.nested
directives:
@@ -82,29 +28,18 @@ topology_template:
p1: test_net
service_template_filter:
substitute_service_template: nestedServiceTemplate.yaml
- p2:
- get_attribute:
- - test_contrailV2_net
- - fq_name
requirements:
- - link_cmaui_port_1:
- capability: tosca.capabilities.network.Linkable
- node: test_contrailV2_net
- relationship: tosca.relationships.network.LinksTo
- link_cmaui_port_0:
capability: tosca.capabilities.network.Linkable
node: test_net
relationship: tosca.relationships.network.LinksTo
groups:
- main:
+ main_group:
type: org.openecomp.groups.heat.HeatStack
properties:
heat_file: ../Artifacts/main.yml
description: |
Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
members:
- - test_nestedInvalidConnectionToNetwork
- - test_contrailV2_net
- test_net
- - test_nova
- test_nested \ No newline at end of file
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/porttonetconnection/nested/expectedoutputfiles/nestedServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/porttonetconnection/nested/expectedoutputfiles/nestedServiceTemplate.yaml
index 12cfaca893..299788856f 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/porttonetconnection/nested/expectedoutputfiles/nestedServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/porttonetconnection/nested/expectedoutputfiles/nestedServiceTemplate.yaml
@@ -2,34 +2,10 @@ tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
template_name: nested
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.cmaui:
derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
@@ -47,14 +23,6 @@ topology_template:
immutable: false
type: string
description: UID of OAM network
- p2:
- hidden: false
- immutable: false
- type: string
- p3:
- hidden: false
- immutable: false
- type: string
cmaui_image:
hidden: false
immutable: false
@@ -83,24 +51,6 @@ topology_template:
immutable: false
type: string
node_templates:
- cmaui_port_2:
- type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
- properties:
- replacement_policy: AUTO
- security_groups:
- - get_input: security_group_name
- fixed_ips:
- - ip_address:
- get_input:
- - cmaui_oam_ips
- - 0
- network:
- get_input: p3
- requirements:
- - binding:
- capability: tosca.capabilities.network.Bindable
- node: server_cmaui
- relationship: tosca.relationships.network.BindsTo
server_cmaui:
type: org.openecomp.resource.vfc.nodes.heat.cmaui
properties:
@@ -118,6 +68,12 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
replacement_policy: AUTO
+ 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:
@@ -125,8 +81,13 @@ topology_template:
get_input:
- cmaui_oam_ips
- 0
+ mac_requirements:
+ mac_count_required:
+ is_required: false
network:
- get_input: p2
+ get_input:
+ - p1
+ - 0
requirements:
- binding:
capability: tosca.capabilities.network.Bindable
@@ -136,6 +97,12 @@ topology_template:
type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
properties:
replacement_policy: AUTO
+ 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:
@@ -143,6 +110,9 @@ topology_template:
get_input:
- cmaui_oam_ips
- 0
+ mac_requirements:
+ mac_count_required:
+ is_required: false
network:
get_input: p1
requirements:
@@ -151,53 +121,223 @@ topology_template:
node: server_cmaui
relationship: tosca.relationships.network.BindsTo
groups:
- nested:
+ nested_group:
type: org.openecomp.groups.heat.HeatStack
properties:
heat_file: ../Artifacts/nested.yml
description: cmaui server template for vMMSC
members:
- - cmaui_port_2
- server_cmaui
- cmaui_port_1
- cmaui_port_0
substitution_mappings:
node_type: org.openecomp.resource.abstract.nodes.heat.nested
capabilities:
+ cpu.delta_server_cmaui:
+ - server_cmaui
+ - cpu.delta
+ disk.device.write.requests.rate_server_cmaui:
+ - server_cmaui
+ - disk.device.write.requests.rate
+ disk.device.allocation_server_cmaui:
+ - server_cmaui
+ - disk.device.allocation
+ network.incoming.packets.rate_cmaui_port_0:
+ - cmaui_port_0
+ - network.incoming.packets.rate
+ scalable_server_cmaui:
+ - server_cmaui
+ - scalable
+ disk.read.bytes.rate_server_cmaui:
+ - server_cmaui
+ - disk.read.bytes.rate
+ network.incoming.packets.rate_cmaui_port_1:
+ - cmaui_port_1
+ - network.incoming.packets.rate
+ cpu_server_cmaui:
+ - server_cmaui
+ - cpu
+ feature_cmaui_port_1:
+ - cmaui_port_1
+ - feature
+ disk.write.bytes.rate_server_cmaui:
+ - server_cmaui
+ - disk.write.bytes.rate
+ disk.device.read.bytes.rate_server_cmaui:
+ - server_cmaui
+ - disk.device.read.bytes.rate
host_server_cmaui:
- server_cmaui
- host
- os_server_cmaui:
+ cpu_util_server_cmaui:
- server_cmaui
- - os
- endpoint_server_cmaui:
+ - cpu_util
+ feature_cmaui_port_0:
+ - cmaui_port_0
+ - feature
+ disk.device.latency_server_cmaui:
- server_cmaui
- - endpoint
- binding_server_cmaui:
+ - disk.device.latency
+ disk.device.write.requests_server_cmaui:
- server_cmaui
- - binding
- attachment_cmaui_port_2:
- - cmaui_port_2
- - attachment
- scalable_server_cmaui:
+ - disk.device.write.requests
+ disk.read.requests_server_cmaui:
- server_cmaui
- - scalable
+ - disk.read.requests
+ network.outgoing.packets.rate_cmaui_port_0:
+ - cmaui_port_0
+ - network.outgoing.packets.rate
+ disk.device.capacity_server_cmaui:
+ - server_cmaui
+ - disk.device.capacity
+ network.outgoing.packets.rate_cmaui_port_1:
+ - cmaui_port_1
+ - network.outgoing.packets.rate
+ disk.usage_server_cmaui:
+ - server_cmaui
+ - disk.usage
+ network.outgoing.bytes_cmaui_port_1:
+ - cmaui_port_1
+ - network.outgoing.bytes
attachment_cmaui_port_0:
- cmaui_port_0
- attachment
+ disk.device.usage_server_cmaui:
+ - server_cmaui
+ - disk.device.usage
attachment_cmaui_port_1:
- cmaui_port_1
- attachment
+ network.outgoing.bytes_cmaui_port_0:
+ - cmaui_port_0
+ - network.outgoing.bytes
+ disk.capacity_server_cmaui:
+ - server_cmaui
+ - disk.capacity
+ disk.write.requests.rate_server_cmaui:
+ - server_cmaui
+ - disk.write.requests.rate
+ disk.device.read.requests_server_cmaui:
+ - server_cmaui
+ - disk.device.read.requests
+ instance_server_cmaui:
+ - server_cmaui
+ - instance
+ disk.device.read.bytes_server_cmaui:
+ - server_cmaui
+ - disk.device.read.bytes
+ memory_server_cmaui:
+ - server_cmaui
+ - memory
+ disk.root.size_server_cmaui:
+ - server_cmaui
+ - disk.root.size
+ binding_server_cmaui:
+ - server_cmaui
+ - binding
+ disk.device.read.requests.rate_server_cmaui:
+ - server_cmaui
+ - disk.device.read.requests.rate
+ disk.write.bytes_server_cmaui:
+ - server_cmaui
+ - disk.write.bytes
+ os_server_cmaui:
+ - server_cmaui
+ - os
+ disk.device.write.bytes.rate_server_cmaui:
+ - server_cmaui
+ - disk.device.write.bytes.rate
+ network.incoming.packets_cmaui_port_1:
+ - cmaui_port_1
+ - network.incoming.packets
+ network.incoming.packets_cmaui_port_0:
+ - cmaui_port_0
+ - network.incoming.packets
+ memory.resident_server_cmaui:
+ - server_cmaui
+ - memory.resident
+ disk.latency_server_cmaui:
+ - server_cmaui
+ - disk.latency
+ binding_cmaui_port_0:
+ - cmaui_port_0
+ - binding
+ feature_server_cmaui:
+ - server_cmaui
+ - feature
+ binding_cmaui_port_1:
+ - cmaui_port_1
+ - binding
+ vcpus_server_cmaui:
+ - server_cmaui
+ - vcpus
+ network.incoming.bytes.rate_cmaui_port_0:
+ - cmaui_port_0
+ - network.incoming.bytes.rate
+ disk.device.write.bytes_server_cmaui:
+ - server_cmaui
+ - disk.device.write.bytes
+ network.incoming.bytes.rate_cmaui_port_1:
+ - cmaui_port_1
+ - network.incoming.bytes.rate
+ disk.allocation_server_cmaui:
+ - server_cmaui
+ - disk.allocation
+ disk.write.requests_server_cmaui:
+ - server_cmaui
+ - disk.write.requests
+ memory.usage_server_cmaui:
+ - server_cmaui
+ - memory.usage
+ network.outpoing.packets_cmaui_port_0:
+ - cmaui_port_0
+ - network.outpoing.packets
+ disk.ephemeral.size_server_cmaui:
+ - server_cmaui
+ - disk.ephemeral.size
+ network.outpoing.packets_cmaui_port_1:
+ - cmaui_port_1
+ - network.outpoing.packets
+ network.outgoing.bytes.rate_cmaui_port_0:
+ - cmaui_port_0
+ - network.outgoing.bytes.rate
+ network.outgoing.bytes.rate_cmaui_port_1:
+ - cmaui_port_1
+ - network.outgoing.bytes.rate
+ endpoint_server_cmaui:
+ - server_cmaui
+ - endpoint
+ disk.iops_server_cmaui:
+ - server_cmaui
+ - disk.iops
+ disk.device.iops_server_cmaui:
+ - server_cmaui
+ - disk.device.iops
+ disk.read.bytes_server_cmaui:
+ - server_cmaui
+ - disk.read.bytes
+ network.incoming.bytes_cmaui_port_1:
+ - cmaui_port_1
+ - network.incoming.bytes
+ network.incoming.bytes_cmaui_port_0:
+ - cmaui_port_0
+ - network.incoming.bytes
requirements:
+ dependency_server_cmaui:
+ - server_cmaui
+ - dependency
local_storage_server_cmaui:
- server_cmaui
- local_storage
+ dependency_cmaui_port_1:
+ - cmaui_port_1
+ - dependency
+ dependency_cmaui_port_0:
+ - cmaui_port_0
+ - dependency
link_cmaui_port_0:
- cmaui_port_0
- link
- link_cmaui_port_2:
- - cmaui_port_2
- - link
link_cmaui_port_1:
- cmaui_port_1
- link \ No newline at end of file