Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / net-config-bridge.yaml
1 heat_template_version: pike
2 description: >
3   Software Config to drive os-net-config for a simple bridge.
4 parameters:
5   ControlPlaneIp:
6     default: ''
7     description: IP address/subnet on the ctlplane network
8     type: string
9   ExternalIpSubnet:
10     default: ''
11     description: IP address/subnet on the external network
12     type: string
13   InternalApiIpSubnet:
14     default: ''
15     description: IP address/subnet on the internal_api network
16     type: string
17   StorageIpSubnet:
18     default: ''
19     description: IP address/subnet on the storage network
20     type: string
21   StorageMgmtIpSubnet:
22     default: ''
23     description: IP address/subnet on the storage_mgmt network
24     type: string
25   TenantIpSubnet:
26     default: ''
27     description: IP address/subnet on the tenant network
28     type: string
29   ManagementIpSubnet:
30     default: ''
31     description: IP address/subnet on the management network
32     type: string
33 resources:
34   OsNetConfigImpl:
35     type: OS::Heat::SoftwareConfig
36     properties:
37       group: script
38       config:
39         str_replace:
40           template:
41             get_file: network/scripts/run-os-net-config.sh
42           params:
43             $network_config:
44               network_config:
45               - type: ovs_bridge
46                 name: bridge_name
47                 use_dhcp: true
48                 members:
49                 - type: interface
50                   name: interface_name
51                   # force the MAC address of the bridge to this interface
52                   primary: true
53 outputs:
54   OS::stack_id:
55     description: The OsNetConfigImpl resource.
56     value:
57       get_resource: OsNetConfigImpl
58