Validated vlan mac addrs for eni and netplan on xenial yakkety and
zesty:

xenial START --------------
Input YAML
config:
-   mac_address: fa:35:9c:85:55:00
    name: eth0
    subnets:
    -   type: dhcp
    type: physical
-   mac_address: fe:35:9c:85:55:ee
    mtu: 1500
    name: eth0.101
    subnets:
    -   address: 192.168.2.10/24
        type: static
    type: vlan
    vlan_id: 101
    vlan_link: eth0
version: 1


Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
    dns:
        nameservers: []
        search: []
    interfaces:
        eth0:
            address: null
            gateway: null
            inet: inet
            mac_address: fa:35:9c:85:55:00
            mode: manual
            mtu: null
            name: eth0
            subnets:
            -   type: dhcp
            type: physical
        eth0.101:
            address: null
            gateway: null
            inet: inet
            mac_address: fe:35:9c:85:55:ee
            mode: manual
            mtu: 1500
            name: eth0.101
            subnets:
            -   address: 192.168.2.10/24
                type: static
            type: vlan
            vlan-raw-device: eth0
            vlan_id: 101
    routes: []
    use_ipv6: false
_version: 1
use_ipv6: false

Input YAML
config:
-   mac_address: fa:35:9c:85:55:00
    name: eth0
    subnets:
    -   type: dhcp
    type: physical
-   mac_address: fe:35:9c:85:55:ee
    mtu: 1500
    name: eth0.101
    subnets:
    -   address: 192.168.2.10/24
        type: static
    type: vlan
    vlan_id: 101
    vlan_link: eth0
version: 1


Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
    dns:
        nameservers: []
        search: []
    interfaces:
        eth0:
            address: null
            gateway: null
            inet: inet
            mac_address: fa:35:9c:85:55:00
            mode: manual
            mtu: null
            name: eth0
            subnets:
            -   type: dhcp
            type: physical
        eth0.101:
            address: null
            gateway: null
            inet: inet
            mac_address: fe:35:9c:85:55:ee
            mode: manual
            mtu: 1500
            name: eth0.101
            subnets:
            -   address: 192.168.2.10/24
                type: static
            type: vlan
            vlan-raw-device: eth0
            vlan_id: 101
    routes: []
    use_ipv6: false
_version: 1
use_ipv6: false

Checking out.d/etc/network/interfaces ---
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth0.101
iface eth0.101 inet static
    address 192.168.2.10/24
    hwaddress fe:35:9c:85:55:ee
    mtu 1500
    vlan-raw-device eth0
    vlan_id 101
Checking 50-cloud-init.yaml ---

network:
    version: 2
    ethernets:
        eth0:
            dhcp4: true
            match:
                macaddress: fa:35:9c:85:55:00
            set-name: eth0
    vlans:
        eth0.101:
            addresses:
            - 192.168.2.10/24
            id: 101
            link: eth0
            macaddress: fe:35:9c:85:55:ee
cloud-init      0.7.9-153-g16a7302f-0ubuntu1~16.04.1
xenial DONE --------------
yakkety START --------------
Input YAML
config:
-   mac_address: fa:35:9c:85:55:00
    name: eth0
    subnets:
    -   type: dhcp
    type: physical
-   mac_address: fe:35:9c:85:55:ee
    mtu: 1500
    name: eth0.101
    subnets:
    -   address: 192.168.2.10/24
        type: static
    type: vlan
    vlan_id: 101
    vlan_link: eth0
version: 1


Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
    dns:
        nameservers: []
        search: []
    interfaces:
        eth0:
            address: null
            gateway: null
            inet: inet
            mac_address: fa:35:9c:85:55:00
            mode: manual
            mtu: null
            name: eth0
            subnets:
            -   type: dhcp
            type: physical
        eth0.101:
            address: null
            gateway: null
            inet: inet
            mac_address: fe:35:9c:85:55:ee
            mode: manual
            mtu: 1500
            name: eth0.101
            subnets:
            -   address: 192.168.2.10/24
                type: static
            type: vlan
            vlan-raw-device: eth0
            vlan_id: 101
    routes: []
    use_ipv6: false
_version: 1
use_ipv6: false

Input YAML
config:
-   mac_address: fa:35:9c:85:55:00
    name: eth0
    subnets:
    -   type: dhcp
    type: physical
-   mac_address: fe:35:9c:85:55:ee
    mtu: 1500
    name: eth0.101
    subnets:
    -   address: 192.168.2.10/24
        type: static
    type: vlan
    vlan_id: 101
    vlan_link: eth0
version: 1


Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
    dns:
        nameservers: []
        search: []
    interfaces:
        eth0:
            address: null
            gateway: null
            inet: inet
            mac_address: fa:35:9c:85:55:00
            mode: manual
            mtu: null
            name: eth0
            subnets:
            -   type: dhcp
            type: physical
        eth0.101:
            address: null
            gateway: null
            inet: inet
            mac_address: fe:35:9c:85:55:ee
            mode: manual
            mtu: 1500
            name: eth0.101
            subnets:
            -   address: 192.168.2.10/24
                type: static
            type: vlan
            vlan-raw-device: eth0
            vlan_id: 101
    routes: []
    use_ipv6: false
_version: 1
use_ipv6: false

Checking out.d/etc/network/interfaces ---
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth0.101
iface eth0.101 inet static
    address 192.168.2.10/24
    hwaddress fe:35:9c:85:55:ee
    mtu 1500
    vlan-raw-device eth0
    vlan_id 101
Checking 50-cloud-init.yaml ---

network:
    version: 2
    ethernets:
        eth0:
            dhcp4: true
            match:
                macaddress: fa:35:9c:85:55:00
            set-name: eth0
    vlans:
        eth0.101:
            addresses:
            - 192.168.2.10/24
            id: 101
            link: eth0
            macaddress: fe:35:9c:85:55:ee
cloud-init      0.7.9-153-g16a7302f-0ubuntu1~16.10.1
yakkety DONE --------------
zesty START --------------
Input YAML
config:
-   mac_address: fa:35:9c:85:55:00
    name: eth0
    subnets:
    -   type: dhcp
    type: physical
-   mac_address: fe:35:9c:85:55:ee
    mtu: 1500
    name: eth0.101
    subnets:
    -   address: 192.168.2.10/24
        type: static
    type: vlan
    vlan_id: 101
    vlan_link: eth0
version: 1


Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
    dns:
        nameservers: []
        search: []
    interfaces:
        eth0:
            address: null
            gateway: null
            inet: inet
            mac_address: fa:35:9c:85:55:00
            mode: manual
            mtu: null
            name: eth0
            subnets:
            -   type: dhcp
            type: physical
        eth0.101:
            address: null
            gateway: null
            inet: inet
            mac_address: fe:35:9c:85:55:ee
            mode: manual
            mtu: 1500
            name: eth0.101
            subnets:
            -   address: 192.168.2.10/24
                type: static
            type: vlan
            vlan-raw-device: eth0
            vlan_id: 101
    routes: []
    use_ipv6: false
_version: 1
use_ipv6: false

Input YAML
config:
-   mac_address: fa:35:9c:85:55:00
    name: eth0
    subnets:
    -   type: dhcp
    type: physical
-   mac_address: fe:35:9c:85:55:ee
    mtu: 1500
    name: eth0.101
    subnets:
    -   address: 192.168.2.10/24
        type: static
    type: vlan
    vlan_id: 101
    vlan_link: eth0
version: 1


Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
    dns:
        nameservers: []
        search: []
    interfaces:
        eth0:
            address: null
            gateway: null
            inet: inet
            mac_address: fa:35:9c:85:55:00
            mode: manual
            mtu: null
            name: eth0
            subnets:
            -   type: dhcp
            type: physical
        eth0.101:
            address: null
            gateway: null
            inet: inet
            mac_address: fe:35:9c:85:55:ee
            mode: manual
            mtu: 1500
            name: eth0.101
            subnets:
            -   address: 192.168.2.10/24
                type: static
            type: vlan
            vlan-raw-device: eth0
            vlan_id: 101
    routes: []
    use_ipv6: false
_version: 1
use_ipv6: false

Checking out.d/etc/network/interfaces ---
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth0.101
iface eth0.101 inet static
    address 192.168.2.10/24
    hwaddress fe:35:9c:85:55:ee
    mtu 1500
    vlan-raw-device eth0
    vlan_id 101
Checking 50-cloud-init.yaml ---

network:
    version: 2
    ethernets:
        eth0:
            dhcp4: true
            match:
                macaddress: fa:35:9c:85:55:00
            set-name: eth0
    vlans:
        eth0.101:
            addresses:
            - 192.168.2.10/24
            id: 101
            link: eth0
            macaddress: fe:35:9c:85:55:ee
cloud-init      0.7.9-153-g16a7302f-0ubuntu1~17.04.1
zesty DONE --------------


** Tags removed: verification-needed
** Tags added: verification-done-xenial verification-done-yakkety 
verification-done-zesty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1690388

Title:
  wrong hwaddr on the vlan bond with nplan and cloud-init

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1690388/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to