add_vlan


Description:

[ Version ( since = "1.14" ) ]
public bool add_vlan (uint vlan_id)

Adds a VLAN to the VF.

Currently kernel only supports one VLAN per VF.

Parameters:

this

the SriovVF

vlan_id

the VLAN id

Returns:

true if the VLAN was added; false if it already existed