public interface InterfaceConfig extends HandlerBehaviour
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAccessInterface(DeviceId deviceId,
String intf,
VlanId vlanId)
Deprecated.
in 1.7.0 Hummingbird release - use of addAccessMode() instead
|
boolean |
addAccessMode(String intf,
VlanId vlanId)
Adds an access interface to a VLAN.
|
boolean |
addPatchMode(String ifaceName,
PatchDescription patchInterface)
Adds a patch mode to the supplied interface.
|
boolean |
addRateLimit(String intf,
short limit)
Adds a rate limit on an interface.
|
boolean |
addTrunkInterface(DeviceId deviceId,
String intf,
List<VlanId> vlanIds)
Deprecated.
in 1.7.0 Hummingbird release - use of addTrunkMode() instead
|
boolean |
addTrunkMode(String intf,
List<VlanId> vlanIds)
Adds a trunk interface for VLANs.
|
boolean |
addTunnelMode(String intf,
TunnelDescription tunnelDesc)
Adds a tunnel mode to supplied interface.
|
List<DeviceInterfaceDescription> |
getInterfaces()
Provides the interfaces configured on a device.
|
List<DeviceInterfaceDescription> |
getInterfaces(DeviceId deviceId)
Deprecated.
in 1.7.0 Hummingbird release - use of getInterfaces() without
deviceId as parameter instead
|
boolean |
removeAccessInterface(DeviceId deviceId,
String intf)
Deprecated.
in 1.7.0 Hummingbird release - use of removeAccessMode() instead
|
boolean |
removeAccessMode(String intf)
Removes an access interface to a VLAN.
|
boolean |
removePatchMode(String ifaceName)
Removes a patch mode from the supplied interface.
|
boolean |
removeRateLimit(String intf)
Removes rate limit from an interface.
|
boolean |
removeTrunkInterface(DeviceId deviceId,
String intf)
Deprecated.
in 1.7.0 Hummingbird release - use of removeTrunkMode() instead
|
boolean |
removeTrunkMode(String intf)
Removes trunk mode configuration from an interface.
|
boolean |
removeTunnelMode(String intf)
Removes a tunnel interface.
|
handler, setHandler@Deprecated boolean addAccessInterface(DeviceId deviceId, String intf, VlanId vlanId)
deviceId - the device IDintf - the name of the interfacevlanId - the VLAN IDboolean addAccessMode(String intf, VlanId vlanId)
intf - the name of the interfacevlanId - the VLAN ID@Deprecated boolean removeAccessInterface(DeviceId deviceId, String intf)
deviceId - the device IDintf - the name of the interfaceboolean removeAccessMode(String intf)
intf - the name of the interface@Deprecated boolean addTrunkInterface(DeviceId deviceId, String intf, List<VlanId> vlanIds)
deviceId - the device IDintf - the name of the interfacevlanIds - the VLAN IDsboolean addTrunkMode(String intf, List<VlanId> vlanIds)
intf - the name of the interfacevlanIds - the VLAN IDs@Deprecated boolean removeTrunkInterface(DeviceId deviceId, String intf)
deviceId - the device IDintf - the name of the interfaceboolean removeTrunkMode(String intf)
intf - the name of the interfaceboolean addRateLimit(String intf, short limit)
intf - the name of the interfacelimit - the limit as a percentageboolean removeRateLimit(String intf)
intf - the name of the interfaceboolean addTunnelMode(String intf, TunnelDescription tunnelDesc)
intf - the name of the interfacetunnelDesc - tunnel interface descriptionboolean removeTunnelMode(String intf)
intf - tunnel interface nameboolean addPatchMode(String ifaceName, PatchDescription patchInterface)
ifaceName - interface name to set patch modepatchInterface - interface descriptionboolean removePatchMode(String ifaceName)
ifaceName - interface name@Deprecated List<DeviceInterfaceDescription> getInterfaces(DeviceId deviceId)
deviceId - the device IDList<DeviceInterfaceDescription> getInterfaces()