Open AryaLee opened 6 months ago
Support flag configuration for ipvlan. The value is one of “bridge”, “private”, “vepa”, defaults to “bridge”.
mv := &netlink.IPVlan{ LinkAttrs: netlink.LinkAttrs{ MTU: conf.MTU, Name: tmpName, ParentIndex: m.Attrs().Index, Namespace: netlink.NsFd(int(netns.Fd())), }, Mode: mode, Flag: flag, }
Support flag configuration for ipvlan. The value is one of “bridge”, “private”, “vepa”, defaults to “bridge”.