public final class VTNFlowCondition extends Object implements VTNIdentifiable<String>
VTNFlowCondition describes configuration for a flow condition.| Constructor and Description |
|---|
VTNFlowCondition(VtnFlowCondConfig vfconf)
Construct a new instance from the given
VtnFlowCondConfig
instance. |
| Modifier and Type | Method and Description |
|---|---|
static VTNFlowCondition |
create(VtnFlowCondition vfc)
Convert the given
VtnFlowCondition instance into a
VTNFlowCondition instance. |
boolean |
equals(Object o)
Determine whether the given object is identical to this object.
|
String |
getIdentifier()
Return the identifier of this instance.
|
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<VtnFlowCondition> |
getPath()
Return the path to this flow condition.
|
int |
hashCode()
Return the hash code of this object.
|
boolean |
match(FlowMatchContext ctx)
Determine whether this flow condition matches the given packet header
or not.
|
SetFlowConditionInputBuilder |
toSetFlowConditionInputBuilder()
Return a
SetFlowConditionInputBuilder instance which contains
the configuration configured in this instance. |
VtnFlowConditionBuilder |
toVtnFlowConditionBuilder()
Return a
VtnFlowConditionBuilder instance which contains the
configuration configured in this instance. |
void |
verify()
Verify the contents of this instance.
|
public VTNFlowCondition(VtnFlowCondConfig vfconf) throws RpcException
VtnFlowCondConfig
instance.vfconf - A VtnFlowCondConfig instance.RpcException - An error occurred.public static VTNFlowCondition create(VtnFlowCondition vfc)
VtnFlowCondition instance into a
VTNFlowCondition instance.vfc - A VtnFlowCondition instance to be converted.VTNFlowCondition instance on success.
null on failure.public VtnFlowConditionBuilder toVtnFlowConditionBuilder()
VtnFlowConditionBuilder instance which contains the
configuration configured in this instance.VtnFlowConditionBuilder instance.public SetFlowConditionInputBuilder toSetFlowConditionInputBuilder()
SetFlowConditionInputBuilder instance which contains
the configuration configured in this instance.SetFlowConditionInputBuilder instance.public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<VtnFlowCondition> getPath()
InstanceIdentifier instance that represents the path
to this flow condition.public void verify()
throws RpcException
RpcException - Verification failed.public boolean match(FlowMatchContext ctx)
ctx - A FlowMatchContext instance.true if this flow condition matches the packet header
specified by ctx. Otherwise false.public String getIdentifier()
getIdentifier in interface VTNIdentifiable<String>public boolean equals(Object o)
Copyright © 2018 OpenDaylight. All rights reserved.