public interface Interface extends Distributable, Serializable
Device
or Node
it is associated with.Modifier and Type | Interface and Description |
---|---|
static class |
Interface.State
State of the network interface.
|
Modifier and Type | Method and Description |
---|---|
ElementId |
hostedBy()
Parent network element to which this interface belongs.
|
InterfaceId |
id()
Device unique identifier of the interface/port.
|
Set<IpAddress> |
ipAddresses()
Optional IP Address(es) associated with the interface.
|
boolean |
isBlocked()
Returns true if this port is prevented from being used for flooding.
|
boolean |
isEnabled()
Returns true only if the port is administratively and
operationally enabled
|
MacAddress |
mac()
Optional Interface/port physical address.
|
String |
name()
Label or a friendly name, which can be set on the device.
|
ElementId |
realizedByElement()
Optional reference to the parent element through which this one
is realized.
|
InterfaceId |
realizedByInterface()
Optional reference to the parent interface through which this one
is realized.
|
Set<Interface.State> |
state()
Interface/port state.
|
IfType |
type()
Interface/port type as defined in IfType
|
Set<Interface.State> state()
boolean isEnabled()
boolean isBlocked()
The "blocked" flag indicates that a switch protocol outside of
OpenFlow, such as 802.1D Spanning Tree, is preventing the use of
the port with Port.FLOOD
.
InterfaceId id()
String name()
ElementId hostedBy()
ElementId realizedByElement()
InterfaceId realizedByInterface()
MacAddress mac()
IfType type()
Copyright © 2015. All Rights Reserved.