summaryrefslogtreecommitdiffstats
path: root/tosca2heat/heat-translator/translator/tests/data/hot_output/hot_nfv_sample.yaml
diff options
context:
space:
mode:
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.yaml29
1 files changed, 27 insertions, 2 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 f2d14ed..79750d4 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
@@ -8,36 +8,60 @@ resources:
VDU1:
type: OS::Nova::Server
properties:
- flavor: m1.medium
+ flavor: m1.tiny
image: rhel-6.5-test-image
networks:
- port: { get_resource: CP1 }
user_data_format: SOFTWARE_CONFIG
depends_on:
- VDU2
+ - BlockStorage
+
VDU2:
type: OS::Nova::Server
properties:
- flavor: m1.medium
+ flavor: m1.tiny
image: rhel-6.5-test-image
networks:
- port: { get_resource: CP2 }
user_data_format: SOFTWARE_CONFIG
+ BlockStorage:
+ type: OS::Cinder::Volume
+ properties:
+ size: 1
+
+ tosca.relationships.attachesto_1:
+ type: OS::Cinder::VolumeAttachment
+ properties:
+ instance_uuid:
+ get_resource: VDU1
+ mountpoint: /dev/vdb1
+ volume_id:
+ get_resource: BlockStorage
+
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
+ properties:
+ name: test_net
+ value_specs:
+ provider:network_type: vxlan
+ provider:segmentation_id: 100
+
VL1_subnet:
type: OS::Neutron::Subnet
properties:
@@ -48,5 +72,6 @@ resources:
gateway_ip: 192.168.0.1
cidr: 192.168.0.0/24
network: { get_resource: VL1 }
+
outputs: {}