• X
    configs: add BRIDGE_VLAN_FILTERING support for cni · e83afd56
    Xu Yu 提交于
    With the VLAN filtering feature, the Linux bridge acts more like a
    real switch. Administrators can control all VLANs with only one
    bridge, making it more easy and efficient to set up distinct subnets
    on virtualization servers.
    
    Kubernetes cni (container network interface) takes advantages of this
    feature to configure pod network.
    
    There will be error prompt like below if BRIDGE_VLAN_FILTERING is not
    set.
    NetworkPlugin cni failed to set up pod "<pod-name>" network: failed to
    create bridge "cni0": could not add "cni0": operation not supported.
    
    Therefore, enable BRIDGE_VLAN_FILTERING in this commit.
    Signed-off-by: NXu Yu <xuyu@linux.alibaba.com>
    Acked-by: NJoseph Qi <joseph.qi@linux.alibaba.com>
    e83afd56
config-4.19.y-x86_64-debug 107.1 KB