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 |
addAccessInterface(org.onosproject.net.DeviceId deviceId,
String intf,
org.onlab.packet.VlanId vlanId)
Adds an access interface to a VLAN.
|
boolean |
addTrunkInterface(org.onosproject.net.DeviceId deviceId,
String intf,
List<org.onlab.packet.VlanId> vlanIds)
Adds a trunk interface for VLANs.
|
List<org.onosproject.net.device.DeviceInterfaceDescription> |
getInterfaces(org.onosproject.net.DeviceId deviceId)
Provides the interfaces configured on a device.
|
boolean |
removeAccessInterface(org.onosproject.net.DeviceId deviceId,
String intf)
Removes an access interface to a VLAN.
|
boolean |
removeTrunkInterface(org.onosproject.net.DeviceId deviceId,
String intf)
Removes trunk mode configuration from an interface.
|
handler, setHandlerpublic boolean addAccessInterface(org.onosproject.net.DeviceId deviceId,
String intf,
org.onlab.packet.VlanId vlanId)
addAccessInterface in interface org.onosproject.net.behaviour.InterfaceConfigdeviceId - the device IDintf - the name of the interfacevlanId - the VLAN IDpublic boolean removeAccessInterface(org.onosproject.net.DeviceId deviceId,
String intf)
removeAccessInterface in interface org.onosproject.net.behaviour.InterfaceConfigdeviceId - the device IDintf - the name of the interfacepublic boolean addTrunkInterface(org.onosproject.net.DeviceId deviceId,
String intf,
List<org.onlab.packet.VlanId> vlanIds)
addTrunkInterface in interface org.onosproject.net.behaviour.InterfaceConfigdeviceId - the device IDintf - the name of the interfacevlanIds - the VLAN IDspublic boolean removeTrunkInterface(org.onosproject.net.DeviceId deviceId,
String intf)
removeTrunkInterface in interface org.onosproject.net.behaviour.InterfaceConfigdeviceId - the device IDintf - the name of the interfacepublic List<org.onosproject.net.device.DeviceInterfaceDescription> getInterfaces(org.onosproject.net.DeviceId deviceId)
getInterfaces in interface org.onosproject.net.behaviour.InterfaceConfigdeviceId - the device IDCopyright © 2016. All rights reserved.