public abstract class VTNDlAddrAction extends FlowFilterAction
VTNDlAddrAction describes the flow action that sets the MAC address
into Ethernet header.| Modifier | Constructor and Description |
|---|---|
protected |
VTNDlAddrAction(EtherAddress addr)
Construct a new instance without specifying action order.
|
protected |
VTNDlAddrAction(EtherAddress addr,
Integer ord)
Construct a new instance with specifying action order.
|
protected |
VTNDlAddrAction(VtnDladdrActionFields act,
Integer ord)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendContents(StringBuilder builder)
Append strings which represents the contents of this instance into the
given
StringBuilder instance. |
boolean |
equals(Object o)
Determine whether the given object is identical to this object.
|
EtherAddress |
getAddress()
Return the MAC address to be set.
|
protected String |
getDescription(String name,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress mac)
Return a description about the specified MD-SAL action.
|
protected String |
getDescription(String name,
VtnDladdrActionFields act)
Return a description about the specified VTN action.
|
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress |
getMacAddress()
Return the MAC address to be set as a
MacAddress instance. |
int |
hashCode()
Return the hash code of this object.
|
protected RpcException |
noMacAddress(Object obj)
Return an exception which indicates no MAC address is specified.
|
protected void |
verifyImpl()
Verify the contents of this instance.
|
apply, getDescription, getIdentifier, getOrder, toFlowFilterAction, toVtnFlowAction, verifycast, getDescription, getErrorMessage, set, set, toActionBuilder, toString, toVtnAction, toVtnFlowActionBuilderprotected VTNDlAddrAction(EtherAddress addr)
addr - An EtherAddress instance which represents the
MAC address to be set.protected VTNDlAddrAction(EtherAddress addr, Integer ord)
addr - An EtherAddress instance which represents the
MAC address to be set.ord - An integer which determines the order of flow actions
in a flow entry.protected VTNDlAddrAction(VtnDladdrActionFields act, Integer ord) throws RpcException
act - A VtnDladdrActionFields instance.ord - An integer which determines the order of flow actions
in a flow entry.RpcException - An invalid argument is specified.public final EtherAddress getAddress()
public final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress getMacAddress()
MacAddress instance.MacAddress instance.protected final RpcException noMacAddress(Object obj)
obj - An object to be added to the error message.RpcException instance.protected final String getDescription(String name, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress mac)
name - The name of the flow action.mac - A MacAddress instance.protected final String getDescription(String name, VtnDladdrActionFields act)
name - The name of the flow action.act - A VtnDladdrActionFields instance.protected final void verifyImpl()
throws RpcException
verifyImpl in class FlowFilterActionRpcException - Verification failed.protected final void appendContents(StringBuilder builder)
StringBuilder instance.appendContents in class FlowFilterActionbuilder - A StringBuilder instance.public final boolean equals(Object o)
equals in class FlowFilterActiono - An object to be compared.true if identical. Otherwise false.public final int hashCode()
hashCode in class FlowFilterActionCopyright © 2018 OpenDaylight. All rights reserved.