Comment 10 for bug 1690480

Chad Smith (chad.smith) wrote :

Validated bond parameters are showing up in xenial yakkety and zesty:
xenial START --------------

Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
    dns:
        nameservers:
        - 69.20.0.164
        - 69.20.0.196
        search: []
    interfaces:
        bond0:
            address: null
            bond-slaves: none
            bond_miimon: 100
            bond_mode: 802.3ad
            bond_xmit_hash_policy: layer3+4
            gateway: null
            inet: inet
            mac_address: null
            mode: manual
            mtu: null
            name: bond0
            subnets: []
            type: bond
        bond0.101:
            address: null
            gateway: null
            inet: inet
            mac_address: a0:36:9f:2d:93:80
            mode: manual
            mtu: null
            name: bond0.101
            subnets:
            - address: 104.130.20.119
                ipv4: true
                netmask: 255.255.255.0
                routes:
                - gateway: 104.130.20.1
                    netmask: 0.0.0.0
                    network: 0.0.0.0
                type: static
            type: vlan
            vlan-raw-device: bond0
            vlan_id: 101
        bond0.401:
            address: null
            gateway: null
            inet: inet
            mac_address: a0:36:9f:2d:93:81
            mode: manual
            mtu: null
            name: bond0.401
            subnets:
            - address: 10.184.7.120
                ipv4: true
                netmask: 255.255.240.0
                routes:
                - gateway: 10.184.0.1
                    netmask: 255.240.0.0
                    network: 10.176.0.0
                - gateway: 10.184.0.1
                    netmask: 255.240.0.0
                    network: 10.208.0.0
                type: static
            type: vlan
            vlan-raw-device: bond0
            vlan_id: 401
        eth0:
            address: null
            bond-master: bond0
            bond_miimon: 100
            bond_mode: 802.3ad
            bond_xmit_hash_policy: layer3+4
            gateway: null
            inet: inet
            mac_address: a0:36:9f:2d:93:80
            mode: manual
            mtu: null
            name: eth0
            subnets: []
            type: physical
        eth1:
            address: null
            bond-master: bond0
            bond_miimon: 100
            bond_mode: 802.3ad
            bond_xmit_hash_policy: layer3+4
            gateway: null
            inet: inet
            mac_address: a0:36:9f:2d:93:81
            mode: manual
            mtu: null
            name: eth1
            subnets: []
            type: physical
    routes: []
    use_ipv6: false
_version: 1
use_ipv6: false

Checking 50-cloud-init.yaml ---
        bond0:
            interfaces:
            - eth0
            - eth1
            parameters:
                mii-monitor-interval: 100
                mode: 802.3ad
                transmit-hash-policy: layer3+4
    vlans:
        bond0.101:
            addresses:
            - 104.130.20.119/24
            id: 101
cloud-init 0.7.9-153-g16a7302f-0ubuntu1~16.04.1
xenial DONE --------------
yakkety START --------------

Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
    dns:
        nameservers:
        - 69.20.0.164
        - 69.20.0.196
        search: []
    interfaces:
        bond0:
            address: null
            bond-slaves: none
            bond_miimon: 100
            bond_mode: 802.3ad
            bond_xmit_hash_policy: layer3+4
            gateway: null
            inet: inet
            mac_address: null
            mode: manual
            mtu: null
            name: bond0
            subnets: []
            type: bond
        bond0.101:
            address: null
            gateway: null
            inet: inet
            mac_address: a0:36:9f:2d:93:80
            mode: manual
            mtu: null
            name: bond0.101
            subnets:
            - address: 104.130.20.119
                ipv4: true
                netmask: 255.255.255.0
                routes:
                - gateway: 104.130.20.1
                    netmask: 0.0.0.0
                    network: 0.0.0.0
                type: static
            type: vlan
            vlan-raw-device: bond0
            vlan_id: 101
        bond0.401:
            address: null
            gateway: null
            inet: inet
            mac_address: a0:36:9f:2d:93:81
            mode: manual
            mtu: null
            name: bond0.401
            subnets:
            - address: 10.184.7.120
                ipv4: true
                netmask: 255.255.240.0
                routes:
                - gateway: 10.184.0.1
                    netmask: 255.240.0.0
                    network: 10.176.0.0
                - gateway: 10.184.0.1
                    netmask: 255.240.0.0
                    network: 10.208.0.0
                type: static
            type: vlan
            vlan-raw-device: bond0
            vlan_id: 401
        eth0:
            address: null
            bond-master: bond0
            bond_miimon: 100
            bond_mode: 802.3ad
            bond_xmit_hash_policy: layer3+4
            gateway: null
            inet: inet
            mac_address: a0:36:9f:2d:93:80
            mode: manual
            mtu: null
            name: eth0
            subnets: []
            type: physical
        eth1:
            address: null
            bond-master: bond0
            bond_miimon: 100
            bond_mode: 802.3ad
            bond_xmit_hash_policy: layer3+4
            gateway: null
            inet: inet
            mac_address: a0:36:9f:2d:93:81
            mode: manual
            mtu: null
            name: eth1
            subnets: []
            type: physical
    routes: []
    use_ipv6: false
_version: 1
use_ipv6: false

Checking 50-cloud-init.yaml ---
        bond0:
            interfaces:
            - eth0
            - eth1
            parameters:
                mii-monitor-interval: 100
                mode: 802.3ad
                transmit-hash-policy: layer3+4
    vlans:
        bond0.101:
            addresses:
            - 104.130.20.119/24
            id: 101
cloud-init 0.7.9-153-g16a7302f-0ubuntu1~16.10.1
yakkety DONE --------------
zesty START --------------

Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
    dns:
        nameservers:
        - 69.20.0.164
        - 69.20.0.196
        search: []
    interfaces:
        bond0:
            address: null
            bond-slaves: none
            bond_miimon: 100
            bond_mode: 802.3ad
            bond_xmit_hash_policy: layer3+4
            gateway: null
            inet: inet
            mac_address: null
            mode: manual
            mtu: null
            name: bond0
            subnets: []
            type: bond
        bond0.101:
            address: null
            gateway: null
            inet: inet
            mac_address: a0:36:9f:2d:93:80
            mode: manual
            mtu: null
            name: bond0.101
            subnets:
            - address: 104.130.20.119
                ipv4: true
                netmask: 255.255.255.0
                routes:
                - gateway: 104.130.20.1
                    netmask: 0.0.0.0
                    network: 0.0.0.0
                type: static
            type: vlan
            vlan-raw-device: bond0
            vlan_id: 101
        bond0.401:
            address: null
            gateway: null
            inet: inet
            mac_address: a0:36:9f:2d:93:81
            mode: manual
            mtu: null
            name: bond0.401
            subnets:
            - address: 10.184.7.120
                ipv4: true
                netmask: 255.255.240.0
                routes:
                - gateway: 10.184.0.1
                    netmask: 255.240.0.0
                    network: 10.176.0.0
                - gateway: 10.184.0.1
                    netmask: 255.240.0.0
                    network: 10.208.0.0
                type: static
            type: vlan
            vlan-raw-device: bond0
            vlan_id: 401
        eth0:
            address: null
            bond-master: bond0
            bond_miimon: 100
            bond_mode: 802.3ad
            bond_xmit_hash_policy: layer3+4
            gateway: null
            inet: inet
            mac_address: a0:36:9f:2d:93:80
            mode: manual
            mtu: null
            name: eth0
            subnets: []
            type: physical
        eth1:
            address: null
            bond-master: bond0
            bond_miimon: 100
            bond_mode: 802.3ad
            bond_xmit_hash_policy: layer3+4
            gateway: null
            inet: inet
            mac_address: a0:36:9f:2d:93:81
            mode: manual
            mtu: null
            name: eth1
            subnets: []
            type: physical
    routes: []
    use_ipv6: false
_version: 1
use_ipv6: false

Checking 50-cloud-init.yaml ---
        bond0:
            interfaces:
            - eth0
            - eth1
            parameters:
                mii-monitor-interval: 100
                mode: 802.3ad
                transmit-hash-policy: layer3+4
    vlans:
        bond0.101:
            addresses:
            - 104.130.20.119/24
            id: 101
cloud-init 0.7.9-153-g16a7302f-0ubuntu1~17.04.1
zesty DONE --------------