xapi-project / xcp-networkd

The XCP networking daemon
Other
14 stars 42 forks source link

CA-286290: A no-vlan SRIOV VIF shouldn't have a VLAN tag #136

Closed xiewei20082008 closed 6 years ago

xiewei20082008 commented 6 years ago

In order to ensure the Networkd to be idempotent, configuring VF with no VLAN and rate have to reset vlan and rate, since the VF might have previous configuration. Refering to http://gittup.org/cgi-bin/man/man2html?ip-link+8, set VLAN and rate to 0 means to reset them

Signed-off-by: Wei Xie wei.xie@citrix.com