Overcloud: bump HOT version to 2015-04-30
[apex-tripleo-heat-templates.git] / net-config-bond.yaml
1 heat_template_version: 2015-04-30
2
3 description: >
4   Software Config to drive os-net-config with 2 bonded nics on a bridge.
5
6 resources:
7   OsNetConfigImpl:
8     type: OS::Heat::StructuredConfig
9     properties:
10       group: os-apply-config
11       config:
12         os_net_config:
13           network_config:
14             -
15               type: ovs_bridge
16               name: {get_input: bridge_name}
17               use_dhcp: true
18               # Can't do this yet: https://bugs.launchpad.net/heat/+bug/1344284
19               #ovs_extra:
20               #  - list_join:
21               #    - ' '
22               #    - - br-set-external-id
23               #      - {get_input: bridge_name}
24               #      - bridge-id
25               #      - {get_input: bridge_name}
26               members:
27                 -
28                   type: ovs_bond
29                   name: bond1
30                   use_dhcp: true
31                   members:
32                     # os-net-config translates nic1 => em1 (for example)
33                     -
34                       type: interface
35                       name: nic1
36                     -
37                       type: interface
38                       name: nic2
39
40 outputs:
41   config_id:
42     description: The ID of the OsNetConfigImpl resource.
43     value:
44       {get_resource: OsNetConfigImpl}