public class InterfaceConfigCiscoIosImpl
extends org.onosproject.net.driver.AbstractHandlerBehaviour
implements org.onosproject.net.behaviour.InterfaceConfig
| Constructor and Description |
|---|
InterfaceConfigCiscoIosImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addInterfaceToVlan(org.onosproject.net.DeviceId deviceId,
String intf,
org.onlab.packet.VlanId vlanId)
Adds an interface to a VLAN.
|
boolean |
addTrunkInterface(org.onosproject.net.DeviceId deviceId,
String intf,
org.onlab.packet.VlanId vlanId)
Configures an interface as trunk for VLAN.
|
boolean |
removeInterfaceFromVlan(org.onosproject.net.DeviceId deviceId,
String intf,
org.onlab.packet.VlanId vlanId)
Removes an interface from a VLAN.
|
boolean |
removeTrunkInterface(org.onosproject.net.DeviceId deviceId,
String intf,
org.onlab.packet.VlanId vlanId)
Removes trunk mode configuration for VLAN from an interface.
|
handler, setHandlerpublic boolean addInterfaceToVlan(org.onosproject.net.DeviceId deviceId,
String intf,
org.onlab.packet.VlanId vlanId)
addInterfaceToVlan in interface org.onosproject.net.behaviour.InterfaceConfigdeviceId - the device IDintf - the name of the interfacevlanId - the VLAN IDpublic boolean removeInterfaceFromVlan(org.onosproject.net.DeviceId deviceId,
String intf,
org.onlab.packet.VlanId vlanId)
removeInterfaceFromVlan in interface org.onosproject.net.behaviour.InterfaceConfigdeviceId - the device IDintf - the name of the interfacevlanId - the VLAN IDpublic boolean addTrunkInterface(org.onosproject.net.DeviceId deviceId,
String intf,
org.onlab.packet.VlanId vlanId)
addTrunkInterface in interface org.onosproject.net.behaviour.InterfaceConfigdeviceId - the device IDintf - the name of the interfacevlanId - the VLAN IDpublic boolean removeTrunkInterface(org.onosproject.net.DeviceId deviceId,
String intf,
org.onlab.packet.VlanId vlanId)
removeTrunkInterface in interface org.onosproject.net.behaviour.InterfaceConfigdeviceId - the device IDintf - the name of the interfacevlanId - the VLAN IDCopyright © 2016. All rights reserved.