@Beta public interface L2SwitchVlanConfigBehaviour extends HandlerBehaviour
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
addVlan(Collection<VlanId> vlanIds)
Adds VLANs on a device. 
 | 
default boolean | 
addVlan(VlanId vlanId)
Adds a VLAN on a device. 
 | 
boolean | 
disableVlan(Collection<VlanId> vlanIds)
Disables VLANs on a device. 
 | 
default boolean | 
disableVlan(VlanId vlanId)
Disables a VLAN on a device. 
 | 
boolean | 
enableVlan(Collection<VlanId> vlanIds)
Enables VLANs on a device. 
 | 
default boolean | 
enableVlan(VlanId vlanId)
Enables a VLAN on a device. 
 | 
Collection<VlanId> | 
getVlans()
Provides the VLANs configured on a device. 
 | 
boolean | 
isEnabled(VlanId vlanId)
Obtains the status of a VLAN on a device. 
 | 
boolean | 
removeVlan(Collection<VlanId> vlanIds)
Removes VLANs from a device. 
 | 
default boolean | 
removeVlan(VlanId vlanId)
Removes a VLAN from a device. 
 | 
handler, setHandlerCollection<VlanId> getVlans()
default boolean addVlan(VlanId vlanId)
vlanId - the VLAN to addboolean addVlan(Collection<VlanId> vlanIds)
vlanIds - the VLANs to adddefault boolean removeVlan(VlanId vlanId)
vlanId - the VLAN to removeboolean removeVlan(Collection<VlanId> vlanIds)
vlanIds - the VLANs to removeboolean isEnabled(VlanId vlanId)
vlanId - the VLAN to checkdefault boolean enableVlan(VlanId vlanId)
vlanId - the VLAN to enableboolean enableVlan(Collection<VlanId> vlanIds)
vlanIds - the VLANs to enabledefault boolean disableVlan(VlanId vlanId)
vlanId - the VLAN to disableboolean disableVlan(Collection<VlanId> vlanIds)
vlanIds - VLANs to disable