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