ChrisC | 025301d | 2017-01-31 11:40:03 +0100 | [diff] [blame^] | 1 | heat_template_version: 2013-05-23 |
| 2 | |
| 3 | description: > |
| 4 | HOT template that creates one COR network (direct). |
| 5 | |
| 6 | parameters: |
| 7 | cor_direct_net_name: |
| 8 | type: string |
| 9 | description: Name of COR direct network |
| 10 | default: testCorDirectNet |
| 11 | cor_direct_net_cidr: |
| 12 | type: string |
| 13 | description: Direct network address (CIDR notation) |
| 14 | cor_direct_net_gateway: |
| 15 | type: string |
| 16 | description: Direct network gateway address |
| 17 | cor_direct_net_RT: |
| 18 | type: string |
| 19 | description: Direct network route-target (RT) |
| 20 | default: testCorDirectNet |
| 21 | ip_port_snmp_manager: |
| 22 | type: string |
| 23 | default: 162 |
| 24 | description: SNMP manager IP port |
| 25 | |
| 26 | |
| 27 | resources: |
| 28 | cor_direct_net: |
| 29 | type: file:///my_test.yaml |
| 30 | properties: |
| 31 | name: { get_param: cor_direct_net_name } |
| 32 | route_targets: [ get_param: cor_direct_net_RT ] |
| 33 | |
| 34 | cor_direct_ip_subnet: |
| 35 | type: OS::Neutron::Subnet |
| 36 | properties: |
| 37 | network_id: { get_resource: cor_direct_net } |
| 38 | cidr: {get_param: cor_direct_net_cidr} |
| 39 | gateway_ip: { get_param: cor_direct_net_gateway } |