Missing CephClientKey parameter in puppet-ceph-devel and storage-environment
[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 parameters:
7   BondInterfaceOvsOptions:
8     default: ''
9     description: The ovs_options string for the bond interface. Set things like
10                  lacp=active and/or bond_mode=balance-slb using this option.
11     type: string
12   ControlPlaneIp:
13     default: ''
14     description: IP address/subnet on the ctlplane network
15     type: string
16   ExternalIpSubnet:
17     default: ''
18     description: IP address/subnet on the external network
19     type: string
20   InternalApiIpSubnet:
21     default: ''
22     description: IP address/subnet on the internal API network
23     type: string
24   StorageIpSubnet:
25     default: ''
26     description: IP address/subnet on the storage network
27     type: string
28   StorageMgmtIpSubnet:
29     default: ''
30     description: IP address/subnet on the storage mgmt network
31     type: string
32   TenantIpSubnet:
33     default: ''
34     description: IP address/subnet on the tenant network
35     type: string
36   ManagementIpSubnet:
37     default: ''
38     description: IP address/subnet on the management network
39     type: string
40
41 resources:
42   OsNetConfigImpl:
43     type: OS::Heat::StructuredConfig
44     properties:
45       group: os-apply-config
46       config:
47         os_net_config:
48           network_config:
49             -
50               type: ovs_bridge
51               name: {get_input: bridge_name}
52               use_dhcp: true
53               # Can't do this yet: https://bugs.launchpad.net/heat/+bug/1344284
54               #ovs_extra:
55               #  - list_join:
56               #    - ' '
57               #    - - br-set-external-id
58               #      - {get_input: bridge_name}
59               #      - bridge-id
60               #      - {get_input: bridge_name}
61               members:
62                 -
63                   type: ovs_bond
64                   name: bond1
65                   use_dhcp: true
66                   ovs_options: {get_param: BondInterfaceOvsOptions}
67                   members:
68                     # os-net-config translates nic1 => em1 (for example)
69                     -
70                       type: interface
71                       name: nic1
72                     -
73                       type: interface
74                       name: nic2
75
76 outputs:
77   OS::stack_id:
78     description: The OsNetConfigImpl resource.
79     value: {get_resource: OsNetConfigImpl}