| Package | Description |
|---|---|
| com.h3c.of.json |
JSON factory and codecs for Openflow structures.
|
| com.h3c.of.lib.dt |
A set of classes representing data values used in the OpenFlow protocol.
|
| com.h3c.of.lib.instr |
Representations of OpenFlow Protocol Instructions and Actions.
|
| com.h3c.of.lib.match |
Representations of OpenFlow Protocol Match Structures.
|
| com.h3c.of.lib.msg |
Representations of OpenFlow Protocol Messages.
|
| com.h3c.sdn.adm.dao.model |
Model POJOs implementations used to persist and retrieve information
applicable at the Administrator tier of the SDN Controller.
|
| com.h3c.sdn.common |
Definitions of general services applicable to multiple tiers of the
SDN Controller.
|
| com.h3c.sdn.ctlAddrManager | |
| com.h3c.sdn.hostManager | |
| com.h3c.sdn.misc.net | |
| com.h3c.sdn.nodemgr |
Definitions of the services provided by the Node Manager Application.
|
| com.h3c.sdn.region |
...
|
| com.h3c.util.ip | |
| com.h3c.util.pkt | |
| com.h3c.util.snmp | |
| com.h3c.util.snmp.command |
| Modifier and Type | Method and Description |
|---|---|
static MacAddress |
CodecUtils.decodeMac(com.fasterxml.jackson.databind.JsonNode value)
Converts JsonNode into MacAddress object.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
CodecUtils.encodeMac(MacAddress mac)
Converts MacAddress into String that can be used as a JSON value.
|
| Modifier and Type | Method and Description |
|---|---|
MacAddress |
DataPathId.getMacAddress()
Returns the MAC address.
|
| Modifier and Type | Method and Description |
|---|---|
static DataPathId |
DataPathId.valueOf(VId vid,
MacAddress mac)
Returns a datapath ID instance that encapsulates the given
virtual identifier and MAC address.
|
| Modifier and Type | Method and Description |
|---|---|
static Action |
ActionFactory.createActionSetField(ProtocolVersion pv,
OxmBasicFieldType ft,
MacAddress mac)
Creates a set-field action for a mac-address-based match field,
using the given protocol version.
|
| Modifier and Type | Method and Description |
|---|---|
MacAddress |
MFieldBasicMac.getMacAddress()
Returns the MAC address.
|
MacAddress |
MFieldBasicMac.getMask()
Returns the MAC address mask.
|
| Modifier and Type | Method and Description |
|---|---|
static MFieldBasic |
FieldFactory.createBasicField(ProtocolVersion pv,
OxmBasicFieldType ft,
MacAddress mac)
Creates a basic match field for a mac-address-based match field
without a mask.
|
static MFieldBasic |
FieldFactory.createBasicField(ProtocolVersion pv,
OxmBasicFieldType ft,
MacAddress mac,
MacAddress mask)
Creates a basic match field for a mac-address-based match field
with a mask.
|
| Modifier and Type | Method and Description |
|---|---|
MacAddress |
OfmPortMod.getHwAddress()
Returns the hardware address; Since 1.0.
|
MacAddress |
Port.getHwAddress()
Returns the MAC address for the port; Since 1.0.
|
| Modifier and Type | Method and Description |
|---|---|
OfmMutablePortMod |
OfmMutablePortMod.hwAddress(MacAddress hwAddress)
Sets the hardware address to sanity check against; Since 1.0.
|
MutablePort |
MutablePort.hwAddress(MacAddress hwAddress)
Sets the hardware address for this port; Since 1.0.
|
| Modifier and Type | Method and Description |
|---|---|
MacAddress |
CtlAddrManagerEntity.getMacAddr() |
MacAddress |
HostManagerEntity.getMacAddr() |
MacAddress |
RegionEntity.EmbeddableControlledDevice.getMacAddress()
Gets the MAC address.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CtlAddrManagerEntity.setMacAddr(MacAddress macAddr) |
void |
HostManagerEntity.setMacAddr(MacAddress macAddr) |
| Constructor and Description |
|---|
CtlAddrManagerEntity(UUID uid,
UUID sysId,
IpAddress ipAddr,
IpAddress maskIpAddr,
MacAddress macAddr,
VId vid) |
HostManagerEntity(UUID uid,
UUID sysId,
IpAddress ipAddr,
MacAddress macAddr,
VId vid,
BigPortNumber portNumber,
DataPathId dpid,
boolean state,
int ctlid) |
RegionEntity.EmbeddableControlledDevice(IpAddress ipAddress,
MacAddress macAddress)
Creates a controlled device.
|
| Modifier and Type | Method and Description |
|---|---|
MacAddress |
NetworkNode.mac()
Returns the MAC address of the end host.
|
MacAddress |
ARPEntry.mac()
Returns the MAC address of the ARP Entry.
|
| Modifier and Type | Method and Description |
|---|---|
NetworkNode |
ARPTable.networkNode(MacAddress mac)
Returns the end host for a given MAC address.
|
| Modifier and Type | Method and Description |
|---|---|
MacAddress |
CtlAddrEntity.getMacAddr() |
| Constructor and Description |
|---|
CtlAddrEntity(Id<CtlAddrEntity,UUID> id,
Id<SystemInformation,UUID> sysId,
IpAddress ipAddr,
IpAddress maskIpAddr,
MacAddress macAddr,
VId vid) |
CtlAddrEntity(Id<SystemInformation,UUID> sysId,
IpAddress ipAddr,
IpAddress maskIpAddr,
MacAddress macAddr,
VId vid) |
| Modifier and Type | Method and Description |
|---|---|
MacAddress |
HostEntity.getMacAddr() |
| Constructor and Description |
|---|
HostEntity(Id<HostEntity,UUID> id,
Id<SystemInformation,UUID> sysId,
IpAddress ipAddr,
MacAddress macAddr,
VId vid,
DataPathId dpid,
BigPortNumber port,
int ctlId,
boolean state) |
HostEntity(Id<SystemInformation,UUID> sysId,
IpAddress ipAddr,
MacAddress macAddr,
VId vid,
DataPathId dpid,
BigPortNumber port,
int ctlId,
boolean state) |
| Modifier and Type | Method and Description |
|---|---|
MacAddress |
ARPTableDTO.getMacAddress(IpAddress ipAddress)
Returns the MAC address for the given IP address.
|
MacAddress |
NetworkNodeDTO.mac() |
MacAddress |
Entity.mac()
Returns the MAC address of the host.
|
MacAddress |
ARPEntryDTO.mac() |
| Modifier and Type | Method and Description |
|---|---|
Entity |
ARPTableDTO.getEntity(MacAddress mac)
Returns an entity object for the given MAC address.
|
NetworkNode |
ARPTableDTO.networkNode(MacAddress mac) |
| Modifier and Type | Method and Description |
|---|---|
void |
ARPTableDTO.cleanUp(long age,
ConcurrentMap<MacAddress,Set<Object>> conMap)
Cleans up the aged out entries in the aging HashMap.
|
| Constructor and Description |
|---|
ARPEntryDTO(IpAddress ip,
MacAddress mac,
VId vid)
Constructor to create ARP entry using IP, MAC and VID.
|
Entity(MacAddress mac,
VId vid,
IpAddress ip,
DataPathId dpid,
BigPortNumber port,
boolean shared,
int contollerId)
Constructs a new entity using MAC, VID, IP,
data path id, port and shared.
|
Entity(MacAddress mac,
VId vid,
IpAddress ip,
DataPathId dpid,
BigPortNumber port,
int contollerId)
Constructs a new entity using MAC, VID, IP,
data path id and port.
|
Entity(MacAddress mac,
VId vid,
IpAddress ip,
DataPathId dpid,
BigPortNumber port,
long age,
boolean shared,
int contollerId) |
Entity(MacAddress mac,
VId vid,
IpAddress ip,
DataPathId dpid,
BigPortNumber port,
long age,
int contollerId)
Constructs a new entity using MAC, VID, IP,
data path id and port.
|
NetworkNodeDTO(MacAddress mac,
VId vid,
IpAddress ip,
DataPathId dpid,
BigPortNumber port)
Constructs a NetworkNode instance using the specified IP, MAC
VID, DPID and port.
|
NodeMessage(MacAddress mac,
VId vid,
IpAddress ip,
DataPathId dpid,
BigPortNumber port,
long age,
UpdateType op,
int controllerId) |
NodeMessage(MacAddress mac,
VId vid,
IpAddress ip,
DataPathId dpid,
BigPortNumber port,
UpdateType op,
int controllerId)
Constructs a new NodeMessage using MAC, VLAN, IP,
data path id and port.
|
| Modifier and Type | Method and Description |
|---|---|
MacAddress |
NodeService.getMacAddress(IpAddress ip,
VId vid)
Returns the MAC Address for the given IP address and VLAN.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
NodeService.addCfgHost(MacAddress mac,
IpAddress ip,
VId vlan,
DataPathId dpid,
BigPortNumber portNum)
Adding a static host
|
boolean |
NodeService.addCtlAddrManager(VId vid,
IpAddress ipAddr,
IpAddress maskIpAddr,
MacAddress macAddr) |
void |
NodeService.addNodeFlowEntry(MacAddress srcMac,
MacAddress dstMac,
Object o) |
boolean |
NodeService.delCfgHost(MacAddress mac,
VId vlan)
Deleting a static host
|
boolean |
NodeService.delCtlAddrManager(VId vid,
IpAddress ipAddr,
IpAddress maskIpAddr,
MacAddress macAddr) |
Entity |
NodeService.getCfgHost(MacAddress mac,
VId vid)
Get a static configured host
|
IpAddress |
NodeService.getIpAddress(MacAddress mac,
VId vid)
Returns the IP Address for the given MAC address and VLAN.
|
NetworkNode |
NodeService.getNetworkNode(MacAddress mac,
VId vid)
Returns the end host for the given MAC address and VLAN.
|
boolean |
NodeService.isStaticHost(VId vid,
MacAddress macAddr)
decide a host as static host
|
void |
NodeService.removeNodeFlowEntry(MacAddress srcMac,
MacAddress dstMac,
Object o) |
| Modifier and Type | Method and Description |
|---|---|
MacAddress |
ControlledEntity.mac()
Retrieves the Mac address of the entity
|
MacAddress |
ControlledEntityModel.mac()
Returns the mac.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ControlledEntityModel.setMacAddress(MacAddress macAddress)
Assigns the given mac to this controlled entity.
|
| Constructor and Description |
|---|
ControlledEntityModel(IpAddress ipp,
MacAddress mc)
Creates a ControledEntity instance.
|
| Modifier and Type | Field and Description |
|---|---|
static MacAddress |
MacAddress.BROADCAST
The broadcast address, that is ff:ff:ff:ff:ff:ff.
|
| Modifier and Type | Method and Description |
|---|---|
MacAddress |
MacRange.first() |
static MacAddress |
MacUtils.getRepeatedByteMacAddress(int seed)
Returns a MAC address where all the bytes are set to the
specified seed value.
|
MacAddress |
MacRange.last() |
MacAddress |
MacRange.random() |
static MacAddress |
MacAddress.valueFrom(ByteBuffer buffer)
Reads 6 bytes from the specified byte buffer and creates a MAC address
entity.
|
static MacAddress |
MacAddress.valueOf(byte[] macBytes)
Returns an object that represents the value of the MAC address defined
by the specified address bytes.
|
static MacAddress |
MacAddress.valueOf(long encodedAddress)
Returns an object that represents the value of the MAC address encoded
by the specified long value.
|
static MacAddress |
MacAddress.valueOf(String address)
Returns an object that represents the value of the MAC address defined
by the specified string.
|
| Modifier and Type | Method and Description |
|---|---|
static List<MacAddress> |
MacUtils.getRandomMacs(MacRange range,
int count)
Returns a list of randomly generated MAC addresses.
|
static List<MacAddress> |
MacUtils.getRandomMacs(String spec,
int count)
Returns a list of randomly generated MAC addresses.
|
Iterator<MacAddress> |
MacRange.iterator() |
| Modifier and Type | Method and Description |
|---|---|
int |
MacAddress.compareTo(MacAddress o)
Implements the Comparable interface, to return addresses in
natural order.
|
boolean |
MacRange.contains(MacAddress macAddress) |
boolean |
MacPrefix.prefixes(MacAddress mac)
Returns true if this MAC prefix applies to the specified MAC address.
|
| Modifier and Type | Method and Description |
|---|---|
MacAddress |
Dhcp.clientHwAddr()
Returns the client layer-2 hardware address.
|
MacAddress |
Ethernet.dstAddr()
Returns the destination address.
|
MacAddress |
IcmpOptionV6.linkLayerAddr()
Returns the link-layer address or null.
|
MacAddress |
LldpTlv.macAddr()
Returns the MAC address.
|
MacAddress |
DhcpOption.macAddr()
Returns the MAC address or null.
|
MacAddress |
PacketReader.readMacAddress()
Reads a MAC address from the buffer.
|
MacAddress |
Arp.senderMacAddr()
Returns the sender MAC address.
|
MacAddress |
Ethernet.srcAddr()
Returns the source address.
|
MacAddress |
Arp.targetMacAddr()
Returns the target MAC address.
|
| Modifier and Type | Method and Description |
|---|---|
static LldpTlv |
LldpTlv.chassisIdMacAddr(MacAddress mac)
Build a Chassis ID
LldpTlv of LldpTlv.ChassisIdSubType.MAC_ADDR. |
Dhcp.Builder |
Dhcp.Builder.clientHwAddr(MacAddress clientHwAddr)
Sets the client layer-2 hardware address.
|
Ethernet.Builder |
Ethernet.Builder.dstAddr(MacAddress dstAddr)
Sets the destination address.
|
LldpTlv.Builder |
LldpTlv.Builder.macAddr(MacAddress macAddr)
Sets the MAC address.
|
static LldpTlv |
LldpTlv.portIdMacAddr(MacAddress mac)
Build a Port ID
LldpTlv of LldpTlv.PortIdSubType.MAC_ADDR. |
Arp.Builder |
Arp.Builder.senderMacAddr(MacAddress senderMacAddr)
Sets the sender MAC address.
|
Ethernet.Builder |
Ethernet.Builder.srcAddr(MacAddress srcAddr)
Sets the source address.
|
Arp.Builder |
Arp.Builder.targetMacAddr(MacAddress targetMacAddr)
Sets the target MAC address.
|
void |
PacketWriter.write(MacAddress mac)
Writes a MAC address to the buffer.
|
| Constructor and Description |
|---|
DhcpOption(DhcpOption.Code code,
MacAddress macAddr)
Constructor for an option holding a MAC address.
|
IcmpOptionV6(IcmpOptionV6.Type type,
MacAddress linkLayerAddr)
Create a new ICMPv6 option data store for
IcmpTypeCodeV6.ROUTER_SOLICT_NDP,
IcmpTypeCodeV6.ROUTER_ADVERTISE_NDP, or
IcmpTypeCodeV6.NEIGHBOR_SOLICIT_NDP messages. |
| Modifier and Type | Method and Description |
|---|---|
MacAddress |
SnmpField.asMacAddress() |
| Modifier and Type | Method and Description |
|---|---|
protected MacAddress |
SnmpAbstractDecoder.decodePrimitiveAsMacAddress(SnmpField code)
Decodes a value.
|
| Modifier and Type | Method and Description |
|---|---|
protected SnmpField |
SnmpAbstractCodec.encodePrimitive(MacAddress value)
Encodes a value.
|
Copyright © 2014. All Rights Reserved.