summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/vol_att/nested_with_inner_vol/inputfiles
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/services/heattotosca/vol_att/nested_with_inner_vol/inputfiles
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/services/heattotosca/vol_att/nested_with_inner_vol/inputfiles')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/vol_att/nested_with_inner_vol/inputfiles/MANIFEST.json24
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/vol_att/nested_with_inner_vol/inputfiles/a_vol.yml24
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/vol_att/nested_with_inner_vol/inputfiles/main.yml71
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/vol_att/nested_with_inner_vol/inputfiles/nested.yml116
4 files changed, 0 insertions, 235 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/vol_att/nested_with_inner_vol/inputfiles/MANIFEST.json b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/vol_att/nested_with_inner_vol/inputfiles/MANIFEST.json
deleted file mode 100644
index a44e7921f8..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/vol_att/nested_with_inner_vol/inputfiles/MANIFEST.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "name": "vMME_Small",
- "description": "HOT template to create 2 cinder volume attachment",
- "version": "2013-05-23",
- "data": [
- {
- "file": "nested.yml",
- "type": "HEAT",
- "isBase": "false",
- "data":[
- {
- "file": "a_vol.yml",
- "type": "HEAT_VOL",
- "isBase": "false"
- }
- ]
- },
- {
- "file": "main.yml",
- "type": "HEAT",
- "isBase": "false"
- }
- ]
-}
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/vol_att/nested_with_inner_vol/inputfiles/a_vol.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/vol_att/nested_with_inner_vol/inputfiles/a_vol.yml
deleted file mode 100644
index a9f72bcecf..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/vol_att/nested_with_inner_vol/inputfiles/a_vol.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-heat_template_version: 2013-05-23
-
-description: volume
-
-parameters:
- cmaui_cinder_volume_size:
- type: number
- label: CMAUI Cinder volume size
- description: the size of the CMAUI Cinder volume
- CMAUI_volume_type:
- type: string
- label: CMAUI vm volume type
- description: the name of the target volume backend
-
-resources:
- cmaui_volume:
- type: OS::Cinder::Volume
- properties:
- size: {get_param: cmaui_cinder_volume_size}
- volume_type: {get_param: CMAUI_volume_type}
-
-outputs:
- out_cmaui_volume:
- value: {get_resource: cmaui_volume} \ 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/vol_att/nested_with_inner_vol/inputfiles/main.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/vol_att/nested_with_inner_vol/inputfiles/main.yml
deleted file mode 100644
index b97dd4b535..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/vol_att/nested_with_inner_vol/inputfiles/main.yml
+++ /dev/null
@@ -1,71 +0,0 @@
-heat_template_version: 2013-05-23
-
-description: cmaui server template for vMMSC
-
-parameters:
- vnf_id:
- type: string
- description: Unique ID for this VNF instance
- default: This_is_ths_MMSC-CMAUI_id
- cmaui_names:
- type: comma_delimited_list
- description: CMAUI1, CMAUI2 server names
- cmaui_image:
- type: string
- description: Image for CMAUI server
- cmaui_flavor:
- type: string
- description: Flavor for CMAUI server
- cmaui_cinder_volume_size:
- type: number
- label: CMAUI Cinder volume size
- description: the size of the CMAUI Cinder volume
- availability_zone_0:
- type: string
- label: availabilityzone name
- description: availabilityzone name
- oam_net_name:
- type: string
- description: UID of OAM network
- oam_network_netmask:
- type: string
- label: oam network netmask
- description: oam network gateway
- oam_network_gateway:
- type: string
- label: oam network gateway
- description: oam network gateway
- external_dns:
- type: string
- label: dns server
- description: dns server
- external_ntp:
- type: string
- label: ntp server
- description: ntp server
- security_group_name:
- type: string
- label: security group name
- description: the name of security group
- timezone:
- type: string
- label: timezone
- description: timezone
- cmaui_oam_ips:
- type: comma_delimited_list
- label: CMAUI oam_net IP addresses
- description: CMAUI oam_net IP addresses
- CMAUI_volume_type:
- type: string
- label: CMAUI vm volume type
- description: the name of the target volume backend
-
-resources:
-
- server_cmaui:
- type: nested.yml
- properties:
- cmaui_names: { get_param: [cmaui_names, 0]}
- cmaui_image: { get_param: cmaui_image }
- availability_zone_0: { get_param: availability_zone_0 }
- cmaui_flavor: { get_param: cmaui_flavor } \ 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/vol_att/nested_with_inner_vol/inputfiles/nested.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/vol_att/nested_with_inner_vol/inputfiles/nested.yml
deleted file mode 100644
index cdaf251b85..0000000000
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/vol_att/nested_with_inner_vol/inputfiles/nested.yml
+++ /dev/null
@@ -1,116 +0,0 @@
-heat_template_version: 2013-05-23
-
-description: cmaui server template for vMMSC
-
-parameters:
- vnf_id:
- type: string
- description: Unique ID for this VNF instance
- default: This_is_ths_MMSC-CMAUI_id
- cmaui_names:
- type: comma_delimited_list
- description: CMAUI1, CMAUI2 server names
- cmaui_image:
- type: string
- description: Image for CMAUI server
- cmaui_flavor:
- type: string
- description: Flavor for CMAUI server
- cmaui_volume:
- type: string
- label: CMAUI volume size
- description: Volume for CMAUI server
- cmaui_cinder_volume_size:
- type: number
- label: CMAUI Cinder volume size
- description: the size of the CMAUI Cinder volume
- availability_zone_0:
- type: string
- label: availabilityzone name
- description: availabilityzone name
- oam_net_name:
- type: string
- description: UID of OAM network
- oam_network_netmask:
- type: string
- label: oam network netmask
- description: oam network gateway
- oam_network_gateway:
- type: string
- label: oam network gateway
- description: oam network gateway
- external_dns:
- type: string
- label: dns server
- description: dns server
- external_ntp:
- type: string
- label: ntp server
- description: ntp server
- security_group_name:
- type: string
- label: security group name
- description: the name of security group
- timezone:
- type: string
- label: timezone
- description: timezone
- cmaui_oam_ips:
- type: comma_delimited_list
- label: CMAUI oam_net IP addresses
- description: CMAUI oam_net IP addresses
- CMAUI_volume_type:
- type: string
- label: CMAUI vm volume type
- description: the name of the target volume backend
- out_cmaui_volume:
- type: string
- label: CMAUI vm volume type
- description: the name of the target volume backend
-
-resources:
-
- cmaui_port_0:
- type: OS::Neutron::Port
- properties:
- network: { get_param: oam_net_name }
- fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
- security_groups: [{get_param: security_group_name}]
- replacement_policy: AUTO
-
- cmaui_volume_attachment:
- type: OS::Cinder::VolumeAttachment
- properties:
- volume_id: {get_param: out_cmaui_volume}
- instance_uuid: {get_resource: server_cmaui}
-
- server_cmaui:
- type: OS::Nova::Server
- properties:
- name: { get_param: [cmaui_names, 0]}
- image: { get_param: cmaui_image }
- availability_zone: { get_param: availability_zone_0 }
- flavor: { get_param: cmaui_flavor }
- networks:
- - port: { get_resource: cmaui_port_0 }
- metadata:
- vnf_id: { get_param: vnf_id }
- user_data:
- str_replace:
- template: |
- cmaui.mgmt.ip=${cmaui.mgmt.ip}
- cmaui.mgmt.netmask=${cmaui.mgmt.netmask}
- cmaui.mgmt.gateway=${cmaui.mgmt.gateway}
- cmaui.external.dns=${cmaui.external.dns}
- cmaui.external.ntp=${cmaui.external.ntp}
- cmaui.node=${cmaui.node}
- cmaui.timezone=${cmaui.timezone}
- params:
- ${cmaui.mgmt.ip}: {get_param: [cmaui_oam_ips, 0]}
- ${cmaui.mgmt.netmask}: {get_param: oam_network_netmask}
- ${cmaui.mgmt.gateway}: {get_param: oam_network_gateway}
- ${cmaui.external.dns}: {get_param: external_dns}
- ${cmaui.external.ntp}: {get_param: external_ntp}
- ${cmaui.node}: {get_param: [cmaui_names, 0]}
- ${cmaui.timezone}: {get_param: timezone}
- user_data_format: RAW \ No newline at end of file