Kang Xi | ee9f6a1 | 2018-05-10 14:50:39 -0400 | [diff] [blame] | 1 | heat_template_version: 2013-05-23 |
| 2 | description: A simple Neutron network |
| 3 | parameters: |
| 4 | network_name: |
| 5 | type: string |
| 6 | description: Name of the Neutron Network |
| 7 | default: ONAP-NW1 |
| 8 | shared: |
| 9 | type: boolean |
| 10 | description: Shared amongst tenants |
Yang Xu | 63a0afd | 2018-11-20 16:01:01 -0500 | [diff] [blame] | 11 | default: False |
Kang Xi | ee9f6a1 | 2018-05-10 14:50:39 -0400 | [diff] [blame] | 12 | outputs: |
| 13 | network_id: |
| 14 | description: Openstack network identifier |
| 15 | value: { get_resource: network } |
| 16 | resources: |
| 17 | network: |
| 18 | type: OS::Neutron::Net |
| 19 | properties: |
| 20 | name: { get_param: network_name } |
| 21 | shared: { get_param: shared } |