diff options
author | ChrisC <cc697w@intl.att.com> | 2017-01-31 11:40:03 +0100 |
---|---|---|
committer | ChrisC <cc697w@intl.att.com> | 2017-01-31 12:59:33 +0100 |
commit | 025301d08b061482c1f046d562bf017c8cbcfe8d (patch) | |
tree | 68a2a549736c9bf0f7cd4e71c76e40ef7e2606f2 /asdc-controller/src/test/resources/resource-examples/simpleTest.yaml | |
parent | 2754ad52f833278a5c925bd788a16d1dce16a598 (diff) |
Initial OpenECOMP MSO commit
Change-Id: Ia6a7574859480717402cc2f22534d9973a78fa6d
Signed-off-by: ChrisC <cc697w@intl.att.com>
Diffstat (limited to 'asdc-controller/src/test/resources/resource-examples/simpleTest.yaml')
-rw-r--r-- | asdc-controller/src/test/resources/resource-examples/simpleTest.yaml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/asdc-controller/src/test/resources/resource-examples/simpleTest.yaml b/asdc-controller/src/test/resources/resource-examples/simpleTest.yaml new file mode 100644 index 0000000000..8bfda2b056 --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/simpleTest.yaml @@ -0,0 +1,39 @@ +heat_template_version: 2013-05-23 + +description: > + HOT template that creates one COR network (direct). + +parameters: + cor_direct_net_name: + type: string + description: Name of COR direct network + default: testCorDirectNet + cor_direct_net_cidr: + type: string + description: Direct network address (CIDR notation) + cor_direct_net_gateway: + type: string + description: Direct network gateway address + cor_direct_net_RT: + type: string + description: Direct network route-target (RT) + default: testCorDirectNet + ip_port_snmp_manager: + type: string + default: 162 + description: SNMP manager IP port + + +resources: + cor_direct_net: + type: file:///my_test.yaml + properties: + name: { get_param: cor_direct_net_name } + route_targets: [ get_param: cor_direct_net_RT ] + + cor_direct_ip_subnet: + type: OS::Neutron::Subnet + properties: + network_id: { get_resource: cor_direct_net } + cidr: {get_param: cor_direct_net_cidr} + gateway_ip: { get_param: cor_direct_net_gateway } |