public final class CurrentMacEntry extends MacEntry
CurrentMacEntry describes a new MAC address table entry obtained
from the MD-SAL datastore.MAX_IP_PROBE| Constructor and Description |
|---|
CurrentMacEntry(EtherAddress eaddr,
MacTableEntry mtent)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addIpAddress(IpNetwork ip)
Associate the given IP address with this MAC address table entry.
|
List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress> |
getIpAddresses()
Return a list of
IpAddress instances associated with this
MAC address table entry. |
Set<IpNetwork> |
getIpNetworkSet()
Return a set of
IpNetwork instances associated with this
MAC address table entry. |
String |
getMapPath()
Return a string representation of
VNodeIdentifier instance that
specifies the virtual mapping corresponding to this entry. |
MacTableEntry |
getNewEntry()
Return the MAC address table entry to be put into the MD-SAL datastore.
|
void |
setDirty()
Turn the dirty flag on so that this entry is put into the MD-SAL
datastore.
|
getEtherAddress, getPort, getVlanId, hasMoved, needIpProbe, set, toStringpublic CurrentMacEntry(EtherAddress eaddr, MacTableEntry mtent)
eaddr - An EtherAddress instance that indicates the
MAC address.mtent - A MacTableEntry instance obtained from the
MD-SAL datastore.public void addIpAddress(IpNetwork ip)
addIpAddress in class MacEntryip - An IpNetwork instance.public List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress> getIpAddresses()
IpAddress instances associated with this
MAC address table entry.getIpAddresses in class MacEntryIpAddress instances or null.public Set<IpNetwork> getIpNetworkSet()
IpNetwork instances associated with this
MAC address table entry.getIpNetworkSet in class MacEntryIpNetwork instances.
Note that this method must not return null.public String getMapPath()
VNodeIdentifier instance that
specifies the virtual mapping corresponding to this entry.getMapPath in class MacEntrypublic void setDirty()
public MacTableEntry getNewEntry()
getNewEntry in class MacEntryMacTableEntry instance if this entry needs to be put
into the MD-SAL datastore. null otherwise.Copyright © 2018 OpenDaylight. All rights reserved.