summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/nested2levels/expectedoutputfiles/MainServiceTemplate.yaml
diff options
context:
space:
mode:
authorAviZi <avi.ziv@amdocs.com>2017-06-09 02:39:56 +0300
committerAviZi <avi.ziv@amdocs.com>2017-06-09 02:39:56 +0300
commit280f8015d06af1f41a3ef12e8300801c7a5e0d54 (patch)
tree9c1d3978c04cd28068f02073038c936bb49ca9e0 /openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/nested2levels/expectedoutputfiles/MainServiceTemplate.yaml
parentfd3821dad11780d33c5373d74c957c442489945e (diff)
[SDC-29] Amdocs OnBoard 1707 initial commit.
Change-Id: Ie4d12a3f574008b792899b368a0902a8b46b5370 Signed-off-by: AviZi <avi.ziv@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/nested2levels/expectedoutputfiles/MainServiceTemplate.yaml')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/nested2levels/expectedoutputfiles/MainServiceTemplate.yaml71
1 files changed, 37 insertions, 34 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/nested2levels/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/nested2levels/expectedoutputfiles/MainServiceTemplate.yaml
index b619c99256..ffbd020e31 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/nested2levels/expectedoutputfiles/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/heat/nested/nested2levels/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:
security_group_name:
@@ -54,6 +30,20 @@ topology_template:
type: string
description: network name of jsa log network
node_templates:
+ packet_mirror_network:
+ type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
+ properties:
+ shared:
+ get_attribute:
+ - test_nested
+ - output_attr_1
+ network_name:
+ get_input: jsa_net_name
+ requirements:
+ - dependency:
+ capability: tosca.capabilities.Node
+ node: test_nested
+ relationship: tosca.relationships.DependsOn
jsa_security_group1:
type: org.openecomp.resource.vfc.rules.nodes.heat.network.neutron.SecurityRules
properties:
@@ -131,9 +121,17 @@ topology_template:
node: test_nested
relationship: org.openecomp.relationships.AttachesTo
- port:
+ capability: attachment_cmaui_port_22_test_nested2
+ node: test_nested
+ relationship: org.openecomp.relationships.AttachesTo
+ - port:
capability: attachment_cmaui_port_1
node: test_nested
relationship: org.openecomp.relationships.AttachesTo
+ - port:
+ capability: attachment_cmaui_port_11_test_nested2
+ node: test_nested
+ relationship: org.openecomp.relationships.AttachesTo
jsa_security_group2:
type: org.openecomp.resource.vfc.rules.nodes.heat.network.neutron.SecurityRules
properties:
@@ -210,6 +208,10 @@ topology_template:
capability: attachment_cmaui_port_1
node: test_nested
relationship: org.openecomp.relationships.AttachesTo
+ - port:
+ capability: attachment_cmaui_port_11_test_nested2
+ node: test_nested
+ relationship: org.openecomp.relationships.AttachesTo
test_nested:
type: org.openecomp.resource.abstract.nodes.heat.nested
directives:
@@ -222,20 +224,21 @@ topology_template:
shared_security_group_id1:
get_input: shared_security_group_id1
groups:
- addOn:
+ base_group:
type: org.openecomp.groups.heat.HeatStack
properties:
- heat_file: ../Artifacts/addOn.yml
+ heat_file: ../Artifacts/base.yml
description: |
Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
members:
- - test_nested
- base:
+ - jsa_security_group1
+ - jsa_security_group2
+ addOn_group:
type: org.openecomp.groups.heat.HeatStack
properties:
- heat_file: ../Artifacts/base.yml
+ heat_file: ../Artifacts/addOn.yml
description: |
Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
members:
- - jsa_security_group1
- - jsa_security_group2 \ No newline at end of file
+ - packet_mirror_network
+ - test_nested \ No newline at end of file