## Uses of Class
com.h3c.util.ip.MacAddress

- Packages that use MacAddress
  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 |

- - ### Uses of MacAddress in com.h3c.of.json

    Methods in com.h3c.of.json that return MacAddress
    Modifier and Type | Method and Description
    --- | ---
    `static MacAddress` | CodecUtils.`decodeMac(com.fasterxml.jackson.databind.JsonNode value)` Converts JsonNode into MacAddress object.

    Methods in com.h3c.of.json with parameters of type MacAddress
    Modifier and Type | Method and Description
    --- | ---
    `static String` | CodecUtils.`encodeMac(MacAddress mac)` Converts MacAddress into String that can be used as a JSON value.

  - ### Uses of MacAddress in com.h3c.of.lib.dt

    Methods in com.h3c.of.lib.dt that return MacAddress
    Modifier and Type | Method and Description
    --- | ---
    `MacAddress` | DataPathId.`getMacAddress()` Returns the MAC address.

    Methods in com.h3c.of.lib.dt with parameters of type MacAddress
    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.

  - ### Uses of MacAddress in com.h3c.of.lib.instr

    Methods in com.h3c.of.lib.instr with parameters of type MacAddress
    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.

  - ### Uses of MacAddress in com.h3c.of.lib.match

    Methods in com.h3c.of.lib.match that return MacAddress
    Modifier and Type | Method and Description
    --- | ---
    `MacAddress` | MFieldBasicMac.`getMacAddress()` Returns the MAC address.
    `MacAddress` | MFieldBasicMac.`getMask()` Returns the MAC address mask.

    Methods in com.h3c.of.lib.match with parameters of type MacAddress
    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.

  - ### Uses of MacAddress in com.h3c.of.lib.msg

    Methods in com.h3c.of.lib.msg that return MacAddress
    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.

    Methods in com.h3c.of.lib.msg with parameters of type MacAddress
    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.

  - ### Uses of MacAddress in com.h3c.sdn.adm.dao.model

    Methods in com.h3c.sdn.adm.dao.model that return MacAddress
    Modifier and Type | Method and Description
    --- | ---
    `MacAddress` | CtlAddrManagerEntity.`getMacAddr()`
    `MacAddress` | HostManagerEntity.`getMacAddr()`
    `MacAddress` | RegionEntity.EmbeddableControlledDevice.`getMacAddress()` Gets the MAC address.

    Methods in com.h3c.sdn.adm.dao.model with parameters of type MacAddress
    Modifier and Type | Method and Description
    --- | ---
    `void` | CtlAddrManagerEntity.`setMacAddr(MacAddress macAddr)`
    `void` | HostManagerEntity.`setMacAddr(MacAddress macAddr)`

    Constructors in com.h3c.sdn.adm.dao.model with parameters of type MacAddress
    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.

  - ### Uses of MacAddress in com.h3c.sdn.common

    Methods in com.h3c.sdn.common that return MacAddress
    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.

    Methods in com.h3c.sdn.common with parameters of type MacAddress
    Modifier and Type | Method and Description
    --- | ---
    `NetworkNode` | ARPTable.`networkNode(MacAddress mac)` Returns the end host for a given MAC address.

  - ### Uses of MacAddress in com.h3c.sdn.ctlAddrManager

    Methods in com.h3c.sdn.ctlAddrManager that return MacAddress
    Modifier and Type | Method and Description
    --- | ---
    `MacAddress` | CtlAddrEntity.`getMacAddr()`

    Constructors in com.h3c.sdn.ctlAddrManager with parameters of type MacAddress
    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)`

  - ### Uses of MacAddress in com.h3c.sdn.hostManager

    Methods in com.h3c.sdn.hostManager that return MacAddress
    Modifier and Type | Method and Description
    --- | ---
    `MacAddress` | HostEntity.`getMacAddr()`

    Constructors in com.h3c.sdn.hostManager with parameters of type MacAddress
    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)`

  - ### Uses of MacAddress in com.h3c.sdn.misc.net

    Methods in com.h3c.sdn.misc.net that return MacAddress
    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()`

    Methods in com.h3c.sdn.misc.net with parameters of type MacAddress
    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)`

    Method parameters in com.h3c.sdn.misc.net with type arguments of type MacAddress
    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.

    Constructors in com.h3c.sdn.misc.net with parameters of type MacAddress
    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.

  - ### Uses of MacAddress in com.h3c.sdn.nodemgr

    Methods in com.h3c.sdn.nodemgr that return MacAddress
    Modifier and Type | Method and Description
    --- | ---
    `MacAddress` | NodeService.`getMacAddress(IpAddress ip, VId vid)` Returns the MAC Address for the given IP address and VLAN.

    Methods in com.h3c.sdn.nodemgr with parameters of type MacAddress
    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)`

  - ### Uses of MacAddress in com.h3c.sdn.region

    Methods in com.h3c.sdn.region that return MacAddress
    Modifier and Type | Method and Description
    --- | ---
    `MacAddress` | ControlledEntity.`mac()` Retrieves the Mac address of the entity
    `MacAddress` | ControlledEntityModel.`mac()` Returns the mac.

    Methods in com.h3c.sdn.region with parameters of type MacAddress
    Modifier and Type | Method and Description
    --- | ---
    `void` | ControlledEntityModel.`setMacAddress(MacAddress macAddress)` Assigns the given mac to this controlled entity.

    Constructors in com.h3c.sdn.region with parameters of type MacAddress
    Constructor and Description
    `ControlledEntityModel(IpAddress ipp, MacAddress mc)` Creates a ControledEntity instance.

  - ### Uses of MacAddress in com.h3c.util.ip

    Fields in com.h3c.util.ip declared as MacAddress
    Modifier and Type | Field and Description
    --- | ---
    `static MacAddress` | MacAddress.`BROADCAST` The broadcast address, that is ff:ff:ff:ff:ff:ff.

    Methods in com.h3c.util.ip that return MacAddress
    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.

    Methods in com.h3c.util.ip that return types with arguments of type MacAddress
    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()`

    Methods in com.h3c.util.ip with parameters of type MacAddress
    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.

  - ### Uses of MacAddress in com.h3c.util.pkt

    Methods in com.h3c.util.pkt that return MacAddress
    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.

    Methods in com.h3c.util.pkt with parameters of type MacAddress
    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.

    Constructors in com.h3c.util.pkt with parameters of type MacAddress
    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.

  - ### Uses of MacAddress in com.h3c.util.snmp

    Methods in com.h3c.util.snmp that return MacAddress
    Modifier and Type | Method and Description
    --- | ---
    `MacAddress` | SnmpField.`asMacAddress()`

  - ### Uses of MacAddress in com.h3c.util.snmp.command

    Methods in com.h3c.util.snmp.command that return MacAddress
    Modifier and Type | Method and Description
    --- | ---
    `protected MacAddress` | SnmpAbstractDecoder.`decodePrimitiveAsMacAddress(SnmpField code)` Decodes a value.

    Methods in com.h3c.util.snmp.command with parameters of type MacAddress
    Modifier and Type | Method and Description
    --- | ---
    `protected SnmpField` | SnmpAbstractCodec.`encodePrimitive(MacAddress value)` Encodes a value.

Copyright © 2014. All Rights Reserved.