f52a3af42b
Adds the ability to override the os-net-config data for the undercloud. In some cases, a single bridge with a single physical interface may not be sufficient for all cases. This will allow for more advanced customization of the undercloud networking. The path to a custom os-net-config json template can be specificed in undercloud.conf with the net_config_override option. Change-Id: I1fdc62d61eb5d2ea7e9418e40aa8c07173169d35
24 lines
397 B
Plaintext
24 lines
397 B
Plaintext
"network_config": [
|
|
{
|
|
"type": "ovs_bridge",
|
|
"name": "br-ctlplane",
|
|
"ovs_extra": [
|
|
"br-set-external-id br-ctlplane bridge-id br-ctlplane"
|
|
],
|
|
"members": [
|
|
{
|
|
"type": "interface",
|
|
"name": "{{LOCAL_INTERFACE}}",
|
|
"primary": "true",
|
|
"mtu": {{LOCAL_MTU}}
|
|
}
|
|
],
|
|
"addresses": [
|
|
{
|
|
"ip_netmask": "{{PUBLIC_INTERFACE_IP}}"
|
|
}
|
|
],
|
|
"mtu": {{LOCAL_MTU}}
|
|
}
|
|
]
|