summaryrefslogtreecommitdiffstats
path: root/tosca2heat/heat-translator/translator/tests/data/hot_output
diff options
context:
space:
mode:
Diffstat (limited to 'tosca2heat/heat-translator/translator/tests/data/hot_output')
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/hot_elk.yaml25
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/hot_elk_from_csar.yaml27
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/hot_host_assignment.yaml2
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/hot_nodejs_mongodb_two_instances.yaml8
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_instance_wordpress.yaml2
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_instance_wordpress_from_csar.yaml2
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server.yaml2
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server_with_defaults_with_input.yaml2
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server_with_defaults_without_input.yaml2
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/hot_vRNC.yaml497
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment.yaml2
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation1_alt1.yaml4
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation1_alt2.yaml4
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation2_alt1.yaml4
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation2_alt2.yaml4
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_custom_relationship_type.yaml2
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_relationship_template.yaml2
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_multiple_blockstorage_with_attachment_alt1.yaml4
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_multiple_blockstorage_with_attachment_alt2.yaml4
19 files changed, 500 insertions, 99 deletions
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_elk.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_elk.yaml
index a298745..1fbd44e 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_elk.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_elk.yaml
@@ -52,8 +52,6 @@ resources:
get_attr:
- mongo_server
- networks
- - private
- - 0
server:
get_resource: app_server
depends_on:
@@ -110,8 +108,6 @@ resources:
get_attr:
- mongo_server
- networks
- - private
- - 0
server:
get_resource: mongo_server
depends_on:
@@ -186,8 +182,6 @@ resources:
get_attr:
- logstash_server
- networks
- - private
- - 0
server:
get_resource: app_server
depends_on:
@@ -279,8 +273,6 @@ resources:
get_attr:
- logstash_server
- networks
- - private
- - 0
server:
get_resource: app_server
depends_on:
@@ -355,8 +347,6 @@ resources:
get_attr:
- elasticsearch_server
- networks
- - private
- - 0
server:
get_resource: logstash_server
depends_on:
@@ -430,14 +420,10 @@ resources:
get_attr:
- elasticsearch_server
- networks
- - private
- - 0
kibana_ip:
get_attr:
- kibana_server
- networks
- - private
- - 0
server:
get_resource: kibana_server
depends_on:
@@ -510,8 +496,6 @@ outputs:
get_attr:
- app_server
- networks
- - private
- - 0
mongodb_url:
description: URL for the mongodb server.
@@ -519,8 +503,6 @@ outputs:
get_attr:
- mongo_server
- networks
- - private
- - 0
logstash_url:
description: URL for the logstash server.
@@ -528,8 +510,6 @@ outputs:
get_attr:
- logstash_server
- networks
- - private
- - 0
elasticsearch_url:
description: URL for the elasticsearch server.
@@ -537,8 +517,6 @@ outputs:
get_attr:
- elasticsearch_server
- networks
- - private
- - 0
kibana_url:
description: URL for the kibana server.
@@ -546,6 +524,3 @@ outputs:
get_attr:
- kibana_server
- networks
- - private
- - 0
-
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_elk_from_csar.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_elk_from_csar.yaml
index 5eb1701..50491ef 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_elk_from_csar.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_elk_from_csar.yaml
@@ -52,8 +52,7 @@ resources:
get_attr:
- mongo_server
- networks
- - private
- - 0
+
server:
get_resource: app_server
depends_on:
@@ -110,8 +109,7 @@ resources:
get_attr:
- mongo_server
- networks
- - private
- - 0
+
server:
get_resource: mongo_server
depends_on:
@@ -186,8 +184,6 @@ resources:
get_attr:
- logstash_server
- networks
- - private
- - 0
server:
get_resource: app_server
depends_on:
@@ -279,8 +275,6 @@ resources:
get_attr:
- logstash_server
- networks
- - private
- - 0
server:
get_resource: app_server
depends_on:
@@ -355,8 +349,6 @@ resources:
get_attr:
- elasticsearch_server
- networks
- - private
- - 0
server:
get_resource: logstash_server
depends_on:
@@ -430,14 +422,11 @@ resources:
get_attr:
- elasticsearch_server
- networks
- - private
- - 0
kibana_ip:
get_attr:
- kibana_server
- networks
- - private
- - 0
+
server:
get_resource: kibana_server
depends_on:
@@ -510,8 +499,6 @@ outputs:
get_attr:
- app_server
- networks
- - private
- - 0
mongodb_url:
description: URL for the mongodb server.
@@ -519,8 +506,6 @@ outputs:
get_attr:
- mongo_server
- networks
- - private
- - 0
logstash_url:
description: URL for the logstash server.
@@ -528,8 +513,6 @@ outputs:
get_attr:
- logstash_server
- networks
- - private
- - 0
elasticsearch_url:
description: URL for the elasticsearch server.
@@ -537,8 +520,6 @@ outputs:
get_attr:
- elasticsearch_server
- networks
- - private
- - 0
kibana_url:
description: URL for the kibana server.
@@ -546,6 +527,4 @@ outputs:
get_attr:
- kibana_server
- networks
- - private
- - 0
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_host_assignment.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_host_assignment.yaml
index 33f3059..29f12cc 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_host_assignment.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_host_assignment.yaml
@@ -59,8 +59,6 @@ resources:
get_attr:
- logstash_server
- networks
- - private
- - 0
server:
get_resource: app_server
depends_on:
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_nodejs_mongodb_two_instances.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_nodejs_mongodb_two_instances.yaml
index b95120b..3406b51 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_nodejs_mongodb_two_instances.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_nodejs_mongodb_two_instances.yaml
@@ -46,8 +46,6 @@ resources:
get_attr:
- mongo_server
- networks
- - private
- - 0
server:
get_resource: mongo_server
depends_on:
@@ -120,8 +118,6 @@ resources:
get_attr:
- mongo_server
- networks
- - private
- - 0
server:
get_resource: app_server
depends_on:
@@ -173,13 +169,9 @@ outputs:
get_attr:
- mongo_server
- networks
- - private
- - 0
nodejs_url:
description: URL for the nodejs server, http://<IP>:3000
value:
get_attr:
- app_server
- networks
- - private
- - 0
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_instance_wordpress.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_instance_wordpress.yaml
index 8c10a93..fbbeab2 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_instance_wordpress.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_instance_wordpress.yaml
@@ -205,5 +205,3 @@ outputs:
get_attr:
- server
- networks
- - private
- - 0
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_instance_wordpress_from_csar.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_instance_wordpress_from_csar.yaml
index 3598540..02c0543 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_instance_wordpress_from_csar.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_instance_wordpress_from_csar.yaml
@@ -203,5 +203,3 @@ outputs:
get_attr:
- server
- networks
- - private
- - 0
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server.yaml
index 5cffb43..e494791 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server.yaml
@@ -32,5 +32,3 @@ outputs:
get_attr:
- my_server
- networks
- - private
- - 0
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server_with_defaults_with_input.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server_with_defaults_with_input.yaml
index 1eb88a7..6211cad 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server_with_defaults_with_input.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server_with_defaults_with_input.yaml
@@ -32,5 +32,3 @@ outputs:
get_attr:
- my_server
- networks
- - private
- - 0
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server_with_defaults_without_input.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server_with_defaults_without_input.yaml
index 4e7e6b5..22a0198 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server_with_defaults_without_input.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_single_server_with_defaults_without_input.yaml
@@ -32,5 +32,3 @@ outputs:
get_attr:
- my_server
- networks
- - private
- - 0
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_vRNC.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_vRNC.yaml
new file mode 100644
index 0000000..b8cc518
--- /dev/null
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_vRNC.yaml
@@ -0,0 +1,497 @@
+heat_template_version: 2013-05-23
+
+description: >
+ TOSCA simple profile for RNC 1. Compute Node MM, CM, DM, LB... 1.1 MM:
+ MaintainModule; 1.2 CM: Control Module; 1.3 DM: Data Module; 1.4 LB:
+ LineCard Module 2. Network Node VL and CP
+
+parameters:
+ mm_storage_size:
+ type: number
+ description: mm additional block storage size
+ default: 1
+ constraints:
+ - range:
+ max: 200
+ min: 1
+ vendor:
+ type: string
+ description: name of the vendor who generate this VNF
+ default: opnfv_parser_project
+ id:
+ type: string
+ description: ID of this VNF
+ default: UMTS
+ version:
+ type: string
+ description: version of the software for this VNF
+ default: 1.0
+
+resources:
+
+ MM_Active_Host:
+ type: OS::Nova::Server
+ properties:
+ flavor: m1.tiny
+ user_data_format: SOFTWARE_CONFIG
+ image: cirros-0.3.2-x86_64-uec
+ networks:
+ - port: { get_resource: MM_Active_Port_EMS }
+ - port: { get_resource: MM_Active_Port_EXTERMEDIA }
+ - port: { get_resource: MM_Active_Port_CTRL }
+ - port: { get_resource: MM_Active_Port_INTERMEDIA }
+
+ MM_Active_create_config:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: script
+ config:
+ get_file: ./Scripts/MM/mm_install.sh
+
+ MM_Active_create_deploy:
+ type: OS::Heat::SoftwareDeployment
+ properties:
+ config:
+ get_resource: MM_Active_create_config
+ server:
+ get_resource: MM_Active_Host
+
+ MM_Active_configure_config:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: script
+ config:
+ get_file: ./Scripts/MM/mm_active_configure.sh
+
+ MM_Active_configure_deploy:
+ type: OS::Heat::SoftwareDeployment
+ properties:
+ config:
+ get_resource: MM_Active_configure_config
+ server:
+ get_resource: MM_Active_Host
+ depends_on:
+ - MM_Active_create_deploy
+
+ MM_Passive_Host:
+ type: OS::Nova::Server
+ properties:
+ flavor: m1.tiny
+ user_data_format: SOFTWARE_CONFIG
+ image: cirros-0.3.2-x86_64-uec
+ networks:
+ - port: { get_resource: MM_Passive_Port_EMS }
+ - port: { get_resource: MM_Passive_Port_EXTERMEDIA }
+ - port: { get_resource: MM_Passive_Port_CTRL }
+ - port: { get_resource: MM_Passive_Port_INTERMEDIA }
+ depends_on:
+ - MM_Active_Host
+
+ MM_Passive_create_config:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: script
+ config:
+ get_file: ./Scripts/MM/mm_install.sh
+
+ MM_Passive_create_deploy:
+ type: OS::Heat::SoftwareDeployment
+ properties:
+ config:
+ get_resource: MM_Passive_create_config
+ server:
+ get_resource: MM_Passive_Host
+
+ MM_Passive_configure_config:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: script
+ config:
+ get_file: ./Scripts/MM/mm_passive_configure.sh
+
+ MM_Passive_configure_deploy:
+ type: OS::Heat::SoftwareDeployment
+ properties:
+ config:
+ get_resource: MM_Passive_configure_config
+ server:
+ get_resource: MM_Passive_Host
+ depends_on:
+ - MM_Passive_create_deploy
+
+ MM_BlockStorage:
+ type: OS::Cinder::Volume
+ properties:
+ size:
+ get_param: mm_storage_size
+
+ CM_Active_Host:
+ type: OS::Nova::Server
+ properties:
+ flavor: m1.tiny
+ user_data_format: SOFTWARE_CONFIG
+ image: cirros-0.3.2-x86_64-uec
+ networks:
+ - port: { get_resource: CM_Active_Port_CTRL }
+ - port: { get_resource: CM_Active_Port_INTERMEDIA }
+
+ CM_Active_create_config:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: script
+ config:
+ get_file: ./Scripts/CM/cm_install.sh
+
+ CM_Active_create_deploy:
+ type: OS::Heat::SoftwareDeployment
+ properties:
+ config:
+ get_resource: CM_Active_create_config
+ server:
+ get_resource: CM_Active_Host
+
+ CM_Active_configure_config:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: script
+ config:
+ get_file: ./Scripts/CM/cm_active_configure.sh
+
+ CM_Active_configure_deploy:
+ type: OS::Heat::SoftwareDeployment
+ properties:
+ config:
+ get_resource: CM_Active_configure_config
+ server:
+ get_resource: CM_Active_Host
+ depends_on:
+ - CM_Active_create_deploy
+
+ CM_Passive_Host:
+ type: OS::Nova::Server
+ properties:
+ flavor: m1.tiny
+ user_data_format: SOFTWARE_CONFIG
+ image: cirros-0.3.2-x86_64-uec
+ networks:
+ - port: { get_resource: CM_Passive_Port_CTRL }
+ - port: { get_resource: CM_Passive_Port_INTERMEDIA }
+ depends_on:
+ - CM_Active_Host
+
+ CM_Passive_create_config:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: script
+ config:
+ get_file: ./Scripts/CM/cm_install.sh
+
+ CM_Passive_create_deploy:
+ type: OS::Heat::SoftwareDeployment
+ properties:
+ config:
+ get_resource: CM_Passive_create_config
+ server:
+ get_resource: CM_Passive_Host
+
+ CM_Passive_configure_config:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: script
+ config:
+ get_file: ./Scripts/CM/cm_passive_configure.sh
+
+ CM_Passive_configure_deploy:
+ type: OS::Heat::SoftwareDeployment
+ properties:
+ config:
+ get_resource: CM_Passive_configure_config
+ server:
+ get_resource: CM_Passive_Host
+ depends_on:
+ - CM_Passive_create_deploy
+
+ DM_Host:
+ type: OS::Nova::Server
+ properties:
+ flavor: m1.tiny
+ user_data_format: SOFTWARE_CONFIG
+ image: cirros-0.3.2-x86_64-uec
+ networks:
+ - port: { get_resource: DM_Port_CTRL }
+ - port: { get_resource: DM_Port_INTERMEDIA }
+
+ DM_create_config:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: script
+ config:
+ get_file: ./Scripts/DM/dm_install.sh
+
+ DM_create_deploy:
+ type: OS::Heat::SoftwareDeployment
+ properties:
+ config:
+ get_resource: DM_create_config
+ server:
+ get_resource: DM_Host
+
+ DM_configure_config:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: script
+ config:
+ get_file: ./Scripts/DM/dm_configure.sh
+
+ DM_configure_deploy:
+ type: OS::Heat::SoftwareDeployment
+ properties:
+ config:
+ get_resource: DM_configure_config
+ server:
+ get_resource: DM_Host
+ depends_on:
+ - DM_create_deploy
+
+ LB_Host:
+ type: OS::Nova::Server
+ properties:
+ flavor: m1.tiny
+ user_data_format: SOFTWARE_CONFIG
+ image: cirros-0.3.2-x86_64-uec
+ networks:
+ - port: { get_resource: LB_Port_CTRL }
+ - port: { get_resource: LB_Port_INTERMEDIA }
+ - port: { get_resource: LB_Port_EXTERMEDIA }
+
+ LB_create_config:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: script
+ config:
+ get_file: ./Scripts/LB/lb_install.sh
+
+ LB_create_deploy:
+ type: OS::Heat::SoftwareDeployment
+ properties:
+ config:
+ get_resource: LB_create_config
+ server:
+ get_resource: LB_Host
+
+ LB_configure_config:
+ type: OS::Heat::SoftwareConfig
+ properties:
+ group: script
+ config:
+ get_file: ./Scripts/LB/lb_configure.sh
+
+ LB_configure_deploy:
+ type: OS::Heat::SoftwareDeployment
+ properties:
+ config:
+ get_resource: LB_configure_config
+ server:
+ get_resource: LB_Host
+ depends_on:
+ - LB_create_deploy
+
+ EXTERMEDIA_Net:
+ type: OS::Neutron::Net
+ properties:
+ value_specs:
+ provider:network_type: vxlan
+ provider:segmentation_id: 100
+ name: ExterMdedia_Net
+
+ EMS_Net:
+ type: OS::Neutron::Net
+ properties:
+ value_specs:
+ provider:network_type: vxlan
+ provider:segmentation_id: 101
+ name: Ems_Net
+
+ INTERMEDIA_Net:
+ type: OS::Neutron::Net
+ properties:
+ value_specs:
+ provider:network_type: vxlan
+ provider:segmentation_id: 111
+ name: InterMedia_Net
+
+ CTRL_Net:
+ type: OS::Neutron::Net
+ properties:
+ value_specs:
+ provider:network_type: vxlan
+ provider:segmentation_id: 110
+ name: Ctrl_Net
+
+ EXTERMEDIA_Net_subnet:
+ type: OS::Neutron::Subnet
+ properties:
+ ip_version: 4
+ cidr: 172.1.0.0/16
+ gateway_ip: 172.1.0.1
+ network: { get_resource: EXTERMEDIA_Net }
+ allocation_pools:
+ - start: 172.1.0.2
+ end: 172.1.2.254
+
+ EMS_Net_subnet:
+ type: OS::Neutron::Subnet
+ properties:
+ ip_version: 4
+ cidr: 129.0.0.0/24
+ gateway_ip: 129.0.0.1
+ network: { get_resource: EMS_Net }
+ allocation_pools:
+ - start: 129.0.0.2
+ end: 129.0.0.64
+
+ INTERMEDIA_Net_subnet:
+ type: OS::Neutron::Subnet
+ properties:
+ ip_version: 4
+ cidr: 10.0.0.0/8
+ network: { get_resource: INTERMEDIA_Net }
+ allocation_pools:
+ - start: 10.1.0.1
+ end: 10.1.2.254
+
+ CTRL_Net_subnet:
+ type: OS::Neutron::Subnet
+ properties:
+ ip_version: 4
+ cidr: 128.0.0.0/8
+ network: { get_resource: CTRL_Net }
+
+ MM_Active_Port_EXTERMEDIA:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: EXTERMEDIA_Net }
+
+ MM_Active_Port_EMS:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: EMS_Net }
+
+ MM_Active_Port_INTERMEDIA:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: INTERMEDIA_Net }
+
+ MM_Active_Port_CTRL:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: CTRL_Net }
+
+ MM_Passive_Port_EXTERMEDIA:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: EXTERMEDIA_Net }
+
+ MM_Passive_Port_EMS:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: EMS_Net }
+
+ MM_Passive_Port_INTERMEDIA:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: INTERMEDIA_Net }
+
+ MM_Passive_Port_CTRL:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: CTRL_Net }
+
+ CM_Active_Port_INTERMEDIA:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: INTERMEDIA_Net }
+
+ CM_Active_Port_CTRL:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: CTRL_Net }
+
+ CM_Passive_Port_INTERMEDIA:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: INTERMEDIA_Net }
+
+ CM_Passive_Port_CTRL:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: CTRL_Net }
+
+ DM_Port_INTERMEDIA:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: INTERMEDIA_Net }
+
+ DM_Port_CTRL:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: CTRL_Net }
+
+ LB_Port_EXTERMEDIA:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: EXTERMEDIA_Net }
+
+ LB_Port_INTERMEDIA:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: INTERMEDIA_Net }
+
+ LB_Port_CTRL:
+ type: OS::Neutron::Port
+ properties:
+ network: { get_resource: CTRL_Net }
+
+ AntiAffinityPolicy:
+ type: OS::Nova::ServerGroup
+ properties:
+ name: AntiAffinityPolicy
+ policies:
+ - affinity
+
+ AffinityPolicy:
+ type: OS::Nova::ServerGroup
+ properties:
+ name: AffinityPolicy
+ policies:
+ - affinity
+
+outputs:
+
+ private_ip_of_MM:
+ description: The private IP address of the MM.
+ value:
+ get_attr:
+ - MM_Active_Host
+ - networks
+
+ private_ip_of_CM:
+ description: The private IP address of the CM.
+ value:
+ get_attr:
+ - CM_Active_Host
+ - networks
+
+ private_ip_of_DM:
+ description: The private IP address of the DM.
+ value:
+ get_attr:
+ - DM_Host
+ - networks
+
+ private_ip_of_LB:
+ description: The private IP address of the LB.
+ value:
+ get_attr:
+ - LB_Host
+ - networks
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment.yaml
index 5ff5382..6803858 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment.yaml
@@ -63,8 +63,6 @@ outputs:
get_attr:
- my_server
- networks
- - private
- - 0
volume_id:
description: The volume id of the block storage instance.
value:
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation1_alt1.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation1_alt1.yaml
index 9ffaf23..0450b1f 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation1_alt1.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation1_alt1.yaml
@@ -76,16 +76,12 @@ outputs:
get_attr:
- my_web_app_tier_1
- networks
- - private
- - 0
private_ip_2:
description: The private IP address of the applications second tier.
value:
get_attr:
- my_web_app_tier_2
- networks
- - private
- - 0
volume_id:
description: The volume id of the block storage instance.
value:
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation1_alt2.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation1_alt2.yaml
index 9b5e71c..e65e789 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation1_alt2.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation1_alt2.yaml
@@ -76,16 +76,12 @@ outputs:
get_attr:
- my_web_app_tier_1
- networks
- - private
- - 0
private_ip_2:
description: The private IP address of the applications second tier.
value:
get_attr:
- my_web_app_tier_2
- networks
- - private
- - 0
volume_id:
description: The volume id of the block storage instance.
value:
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation2_alt1.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation2_alt1.yaml
index 1b4eb73..a8c114e 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation2_alt1.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation2_alt1.yaml
@@ -80,16 +80,12 @@ outputs:
get_attr:
- my_web_app_tier_1
- networks
- - private
- - 0
private_ip_2:
description: The private IP address of the applications second tier.
value:
get_attr:
- my_web_app_tier_2
- networks
- - private
- - 0
volume_id:
description: The volume id of the block storage instance.
value:
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation2_alt2.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation2_alt2.yaml
index 0311a55..59b46ae 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation2_alt2.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_attachment_notation2_alt2.yaml
@@ -80,16 +80,12 @@ outputs:
get_attr:
- my_web_app_tier_1
- networks
- - private
- - 0
private_ip_2:
description: The private IP address of the applications second tier.
value:
get_attr:
- my_web_app_tier_2
- networks
- - private
- - 0
volume_id:
description: The volume id of the block storage instance.
value:
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_custom_relationship_type.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_custom_relationship_type.yaml
index bce4603..639832c 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_custom_relationship_type.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_custom_relationship_type.yaml
@@ -64,8 +64,6 @@ outputs:
get_attr:
- my_server
- networks
- - private
- - 0
volume_id:
description: The volume id of the block storage instance.
value:
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_relationship_template.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_relationship_template.yaml
index e17dff9..20b77c2 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_relationship_template.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_blockstorage_with_relationship_template.yaml
@@ -57,8 +57,6 @@ outputs:
get_attr:
- my_server
- networks
- - private
- - 0
volume_id:
description: The volume id of the block storage instance.
value:
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_multiple_blockstorage_with_attachment_alt1.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_multiple_blockstorage_with_attachment_alt1.yaml
index 55ada08..cff83f9 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_multiple_blockstorage_with_attachment_alt1.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_multiple_blockstorage_with_attachment_alt1.yaml
@@ -89,16 +89,12 @@ outputs:
get_attr:
- my_server
- networks
- - private
- - 0
server_ip_2:
description: The private IP address of the applications second server.
value:
get_attr:
- my_server2
- networks
- - private
- - 0
volume_id_1:
description: The volume id of the first block storage instance.
value:
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_multiple_blockstorage_with_attachment_alt2.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_multiple_blockstorage_with_attachment_alt2.yaml
index 3386d79..0fdcb4b 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_multiple_blockstorage_with_attachment_alt2.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/storage/hot_multiple_blockstorage_with_attachment_alt2.yaml
@@ -89,16 +89,12 @@ outputs:
get_attr:
- my_server
- networks
- - private
- - 0
server_ip_2:
description: The private IP address of the applications second server.
value:
get_attr:
- my_server2
- networks
- - private
- - 0
volume_id_1:
description: The volume id of the first block storage instance.
value: