diff options
author | 2016-09-08 23:29:47 -0700 | |
---|---|---|
committer | 2016-09-08 23:29:47 -0700 | |
commit | 213e916cb6a63a79ff3ceac7d9bec48b251be922 (patch) | |
tree | c8f3d215fbe36de718e76d336ff5e44013fda722 /tests/blueprints/heat | |
parent | 7d4ee4b4e5a2cafbca4caaf13b5a7eafe0893ae8 (diff) |
Added blueprints and startup script, etc
JIRA: MODELS-23
Change-Id: I13ea12d8d9791fd2aa6861909d6194caaa47733f
Signed-off-by: blsaws <bryan.sullivan@att.com>
Diffstat (limited to 'tests/blueprints/heat')
-rwxr-xr-x | tests/blueprints/heat/hello-world.hot | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/blueprints/heat/hello-world.hot b/tests/blueprints/heat/hello-world.hot new file mode 100755 index 0000000..a4d6a7e --- /dev/null +++ b/tests/blueprints/heat/hello-world.hot @@ -0,0 +1,38 @@ +heat_template_version: 2013-05-23
+description: 'Hello World'
+parameters: {}
+resources:
+ VDU1:
+ type: OS::Nova::Server
+ properties:
+ availability_zone: nova
+ config_drive: false
+ flavor: {get_resource: VDU1_flavor}
+ image: cirros-0.3.4-x86_64-uec
+ networks:
+ - port:
+ get_resource: CP1
+ - port:
+ get_resource: CP2
+ - port:
+ get_resource: CP3
+ user_data_format: SOFTWARE_CONFIG
+ CP1:
+ type: OS::Neutron::Port
+ properties:
+ network: vnf_mgmt
+ CP2:
+ type: OS::Neutron::Port
+ properties:
+ network: vnf_private
+ CP3:
+ type: OS::Neutron::Port
+ properties:
+ network: public
+ VDU1_flavor:
+ properties: {disk: 1, ram: 512, vcpus: 1}
+ type: OS::Nova::Flavor
+outputs:
+ mgmt_ip-VDU1:
+ value:
+ get_attr: [CP1, fixed_ips, 0, ip_address]
|