After running with the minus removed from the end loop line, below is the resulting (valid) config.yaml.
[heat-admin@overcloud-controller-0 ~]$ sudo cat /etc/os-net-config/config.yaml --- network_config: - type: ovs_bridge name: br-ex dns_servers: ['10.99.99.12'] domain: ['kdjlab.com'] use_dhcp: false addresses: - ip_netmask: 10.100.4.84/24 routes: [] members: - type: ovs_bond name: bond1 mtu: 1500 ovs_options: bond_mode=balance-slb members: - type: interface name: nic1 mtu: 1500 primary: true - type: interface name: nic2 mtu: 1500 - type: vlan mtu: 1500 vlan_id: 1107 addresses: - ip_netmask: 10.100.7.169/24 routes: [] - type: vlan mtu: 1500 vlan_id: 1108 addresses: - ip_netmask: 10.100.8.150/24 routes: [] - type: vlan mtu: 1500 vlan_id: 1105 addresses: - ip_netmask: 10.100.5.163/24 routes: [] - type: vlan mtu: 1500 vlan_id: 1106 addresses: - ip_netmask: 10.100.6.167/24 routes: [] - type: vlan mtu: 1500 vlan_id: 2100 addresses: - ip_netmask: 192.168.100.48/24 routes: [{'default': True, 'next_hop': '192.168.100.1'}]
After running with the minus removed from the end loop line, below is the resulting (valid) config.yaml.
[heat-admin@ overcloud- controller- 0 ~]$ sudo cat /etc/os- net-config/ config. yaml balance- slb
---
network_config:
- type: ovs_bridge
name: br-ex
dns_servers: ['10.99.99.12']
domain: ['kdjlab.com']
use_dhcp: false
addresses:
- ip_netmask: 10.100.4.84/24
routes: []
members:
- type: ovs_bond
name: bond1
mtu: 1500
ovs_options: bond_mode=
members:
- type: interface
name: nic1
mtu: 1500
primary: true
- type: interface
name: nic2
mtu: 1500
- type: vlan
mtu: 1500
vlan_id: 1107
addresses:
- ip_netmask: 10.100.7.169/24
routes: []
- type: vlan
mtu: 1500
vlan_id: 1108
addresses:
- ip_netmask: 10.100.8.150/24
routes: []
- type: vlan
mtu: 1500
vlan_id: 1105
addresses:
- ip_netmask: 10.100.5.163/24
routes: []
- type: vlan
mtu: 1500
vlan_id: 1106
addresses:
- ip_netmask: 10.100.6.167/24
routes: []
- type: vlan
mtu: 1500
vlan_id: 2100
addresses:
- ip_netmask: 192.168.100.48/24
routes: [{'default': True, 'next_hop': '192.168.100.1'}]