public abstract class VTNInetAddrAction extends FlowFilterAction
VTNInetAddrAction describes the flow action that sets the IP address
into IP header.| Modifier | Constructor and Description |
|---|---|
protected |
VTNInetAddrAction(IpNetwork addr)
Construct a new instance without specifying action order.
|
protected |
VTNInetAddrAction(IpNetwork addr,
Integer ord)
Construct a new instance with specifying action order.
|
protected |
VTNInetAddrAction(VtnIpaddrActionFields 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.
|
IpNetwork |
getAddress()
Return the IP address to be set.
|
protected String |
getDescription(String name,
org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.address.Address addr)
Return a description about the specified MD-SAL action.
|
protected String |
getDescription(String name,
VtnIpaddrActionFields act)
Return a description about the specified VTN action.
|
org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.address.Address |
getMdAddress()
Return the IP address to be set as an
Address instance. |
int |
hashCode()
Return the hash code of this object.
|
protected RpcException |
noIpAddress(Object obj)
Return an exception which indicates no IP 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 VTNInetAddrAction(IpNetwork addr)
addr - An IpNetwork instance which represents the
IP address to be set.protected VTNInetAddrAction(IpNetwork addr, Integer ord)
addr - An IpNetwork instance which represents the
IP address to be set.ord - An integer which determines the order of flow actions
in a flow entry.protected VTNInetAddrAction(VtnIpaddrActionFields act, Integer ord) throws RpcException
act - A VtnIpaddrActionFields instance.ord - An integer which determines the order of flow actions
in a flow entry.RpcException - An invalid argument is specified.public final IpNetwork getAddress()
public final org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.address.Address getMdAddress()
Address instance.Address instance.protected final RpcException noIpAddress(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.opendaylight.action.types.rev131112.address.Address addr)
name - The name of the flow action.addr - An Address instance.protected final String getDescription(String name, VtnIpaddrActionFields act)
name - The name of the flow action.act - A VtnIpaddrActionFields 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.