summaryrefslogtreecommitdiffstats
path: root/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_nfv_sample.yaml
diff options
context:
space:
mode:
authorjulien zhang <zhang.jun3g@zte.com.cn>2016-08-22 13:52:23 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-22 13:52:23 +0000
commitc56ae30d45407c8e71eeb19322d1c9167ef8d60e (patch)
tree19514301fb8a739f860f09a17dabc5245ab5b2ac /tosca2heat/heat-translator/translator/tests/data/hot_output/hot_nfv_sample.yaml
parentfb0a919b86d862ca3d4454b4c563b4f2eea8144d (diff)
parent36852516fac11727c2fd4ee429214d6346628f32 (diff)
Merge "Add high_availability test case"
Diffstat (limited to 'tosca2heat/heat-translator/translator/tests/data/hot_output/hot_nfv_sample.yaml')
-rw-r--r--tosca2heat/heat-translator/translator/tests/data/hot_output/hot_nfv_sample.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_nfv_sample.yaml b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_nfv_sample.yaml
index 2103d43..f2d14ed 100644
--- a/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_nfv_sample.yaml
+++ b/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_nfv_sample.yaml
@@ -13,12 +13,29 @@ resources:
networks:
- port: { get_resource: CP1 }
user_data_format: SOFTWARE_CONFIG
+ depends_on:
+ - VDU2
+ VDU2:
+ type: OS::Nova::Server
+ properties:
+ flavor: m1.medium
+ image: rhel-6.5-test-image
+ networks:
+ - port: { get_resource: CP2 }
+ user_data_format: SOFTWARE_CONFIG
+
CP1:
type: OS::Neutron::Port
properties:
fixed_ips:
- ip_address: '192.168.0.55'
network: { get_resource: VL1 }
+ CP2:
+ type: OS::Neutron::Port
+ properties:
+ fixed_ips:
+ - ip_address: '192.168.0.56'
+ network: { get_resource: VL1 }
VL1:
type: OS::Neutron::Net
VL1_subnet: