| Modifier and Type | Method and Description |
|---|---|
static RemoveFlowConditionTask |
RemoveFlowConditionTask.create(RemoveFlowConditionInput input)
Create a new task that removes the specified flow condition.
|
static RemoveFlowMatchTask |
RemoveFlowMatchTask.create(RemoveFlowConditionMatchInput input)
Construct a new task that removes all the given flow match
configurations from the given flow condition.
|
static SetFlowConditionTask |
SetFlowConditionTask.create(SetFlowConditionInput input)
Construct a new task that creates or updates the specified flow
condition configuration.
|
static SetFlowMatchTask |
SetFlowMatchTask.create(SetFlowConditionMatchInput input)
Construct a new task that set all the given flow match configurations
into the given flow condition.
|
| Modifier and Type | Method and Description |
|---|---|
static FlowCountFuture |
FlowCountFuture.create(TxContext ctx,
GetDataFlowCountInput input)
Construct a new instance.
|
| Constructor and Description |
|---|
AbstractReadFlowFuture(TxContext ctx,
String tname)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
VTNIcmpMatch |
IcmpPacket.createMatch(Set<FlowMatchType> fields)
Construct match fields to test layer 4 protocol header in this packet.
|
VTNLayer4PortMatch |
PortProtoPacket.createMatch(Set<FlowMatchType> fields)
Construct match fields to test layer 4 protocol header in this packet.
|
VTNLayer4Match |
L4Packet.createMatch(Set<FlowMatchType> fields)
Construct match fields to test layer 4 protocol header in this packet.
|
VTNEtherMatch |
EtherPacket.createMatch(Set<FlowMatchType> fields)
Construct match fields to test Ethernet header in this packet.
|
VTNInet4Match |
Inet4Packet.createMatch(Set<FlowMatchType> fields)
Construct match fields to test IP header in this packet.
|
protected abstract VTNLayer4PortMatch |
PortProtoPacket.createMatch(VTNPortRange src,
VTNPortRange dst)
Construct flow match fields.
|
| Modifier and Type | Method and Description |
|---|---|
static ClearPathMapTask |
ClearPathMapTask.create(ClearPathMapInput input)
Create a new task that clears the specified path map container.
|
static RemovePathMapTask |
RemovePathMapTask.create(RemovePathMapInput input)
Construct a new task that removes all the given path map configurations
from the global or VTN path map.
|
static SetPathMapTask |
SetPathMapTask.create(SetPathMapInput input)
Construct a new task that set all the given path map configurations
into the global or VTN path map.
|
static RemovePathCostTask |
RemovePathCostTask.create(org.opendaylight.vtn.manager.internal.routing.TopologyGraph topo,
RemovePathCostInput input)
Construct a new task that removes all the given link cost configurations
from the given path policy.
|
static RemovePathPolicyTask |
RemovePathPolicyTask.create(org.opendaylight.vtn.manager.internal.routing.TopologyGraph topo,
RemovePathPolicyInput input)
Create a new task that removes the specified path policy.
|
static SetPathCostTask |
SetPathCostTask.create(org.opendaylight.vtn.manager.internal.routing.TopologyGraph topo,
SetPathCostInput input)
Construct a new task that set all the given link cost configurations
into the given path policy.
|
static SetPathPolicyTask |
SetPathPolicyTask.create(org.opendaylight.vtn.manager.internal.routing.TopologyGraph topo,
SetPathPolicyInput input)
Construct a new task that creates or updates the specified path policy
configuration.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ProtocolUtils.checkEtherType(int type)
Check the given ethernet type.
|
static void |
ProtocolUtils.checkIcmpValue(Short value,
String desc)
Check the specified ICMP type or code value.
|
static void |
ProtocolUtils.checkIpDscp(short dscp)
Check the specified IP DSCP field value.
|
static void |
ProtocolUtils.checkIpProtocol(short proto)
Check the specified IP protocol number.
|
static VnodeName |
MiscUtils.checkName(String desc,
String name)
Check the specified resource name.
|
static String |
MiscUtils.checkName(String desc,
VnodeName vname)
Check the specified resource name.
|
static void |
ProtocolUtils.checkPortNumber(int port)
Check the specified port number of IP transport layer protocol.
|
static void |
MiscUtils.checkPresent(String desc,
VnodeName vname)
Ensure the given vnode-name is not null.
|
static void |
ProtocolUtils.checkVlan(int vlan)
Check the specified VLAN ID.
|
static void |
ProtocolUtils.checkVlan(short vlan)
Check the specified VLAN ID.
|
static void |
ProtocolUtils.checkVlanPriority(short pri)
Check the specified VLAN priority.
|
static Integer |
ProtocolUtils.getEtherType(org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.ethernet.match.fields.EthernetType etype)
Return the ethernet type in the given
EthernetType instance. |
static Integer |
ProtocolUtils.getEtherType(org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.EtherType etype)
Return the ethernet type in the given
EtherType instance. |
static Short |
ProtocolUtils.getIpDscp(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Dscp dscp)
Return the IP DSCP field value configured in the given
Dscp
instance. |
static Integer |
ProtocolUtils.getPortNumber(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber port)
Return the port number configured in the given
PortNumber
instance. |
static Integer |
ProtocolUtils.getVlanId(org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId vid)
Return the VLAN ID in the given
VlanId instance. |
static org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanId |
MiscUtils.getVlanId(VtnVlanIdField field)
Return a VLAN ID configured in the given
VtnVlanIdField
instance. |
static Short |
ProtocolUtils.getVlanPriority(org.opendaylight.yang.gen.v1.urn.opendaylight.l2.types.rev130827.VlanPcp pcp)
Return the VLAN priority in the given
VlanPcp instance. |
static EtherAddress |
MiscUtils.toEtherAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress mac)
Convert the given
MacAddress instance into an
EtherAddress instance. |
static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress |
MiscUtils.verify(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress mac)
Verify the given MAC address.
|
| Constructor and Description |
|---|
VlanDescParser(String value,
String desc)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
FlowUtils.verifyFlowTimeout(Integer idle,
Integer hard)
Verify the given flow timeout values.
|
static void |
FlowUtils.verifyFlowTimeout(Integer idle,
Integer hard,
boolean present)
Verify the given flow timeout values.
|
static void |
FlowUtils.verifyFlowTimeout(VtnFlowTimeoutConfig vftc)
Verify timeout values in the given
VtnFlowTimeoutConfig
instance. |
| Modifier and Type | Method and Description |
|---|---|
protected RpcException |
VTNInetAddrAction.noIpAddress(Object obj)
Return an exception which indicates no IP address is specified.
|
protected RpcException |
VTNDlAddrAction.noMacAddress(Object obj)
Return an exception which indicates no MAC address is specified.
|
protected RpcException |
VTNPortAction.noPortNumber(Object obj)
Return an exception which indicates no port number is specified.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
VTNFlowAction.cast(Class<T> type,
Object obj)
Cast the given object as the given type.
|
String |
VTNSetDlDstAction.getDescription(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Return a brief description about the specified MD-SAL action.
|
String |
VTNSetPortDstAction.getDescription(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Return a brief description about the specified MD-SAL action.
|
String |
VTNSetVlanIdAction.getDescription(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Return a brief description about the specified MD-SAL action.
|
String |
VTNSetPortSrcAction.getDescription(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Return a brief description about the specified MD-SAL action.
|
String |
VTNSetInetDstAction.getDescription(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Return a brief description about the specified MD-SAL action.
|
String |
VTNSetInetSrcAction.getDescription(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Return a brief description about the specified MD-SAL action.
|
String |
VTNSetVlanPcpAction.getDescription(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Return a brief description about the specified MD-SAL action.
|
String |
VTNPushVlanAction.getDescription(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Return a brief description about the specified MD-SAL action.
|
String |
VTNSetDlSrcAction.getDescription(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Return a brief description about the specified MD-SAL action.
|
String |
VTNDropAction.getDescription(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Return a brief description about the specified MD-SAL action.
|
String |
VTNPopVlanAction.getDescription(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Return a brief description about the specified MD-SAL action.
|
String |
VTNSetInetDscpAction.getDescription(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Return a brief description about the specified MD-SAL action.
|
abstract String |
VTNFlowAction.getDescription(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Return a brief description about the specified MD-SAL action.
|
String |
VTNOutputAction.getDescription(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Return a brief description about the specified MD-SAL action.
|
String |
VTNSetIcmpCodeAction.getDescription(VtnAction vact)
Return a brief description about the specified VTN action.
|
String |
VTNSetDlDstAction.getDescription(VtnAction vact)
Return a brief description about the specified VTN action.
|
String |
VTNSetPortDstAction.getDescription(VtnAction vact)
Return a brief description about the specified VTN action.
|
String |
VTNSetPortSrcAction.getDescription(VtnAction vact)
Return a brief description about the specified VTN action.
|
String |
VTNSetIcmpTypeAction.getDescription(VtnAction vact)
Return a brief description about the specified VTN action.
|
String |
VTNSetInetDstAction.getDescription(VtnAction vact)
Return a brief description about the specified VTN action.
|
String |
VTNSetInetSrcAction.getDescription(VtnAction vact)
Return a brief description about the specified VTN action.
|
String |
VTNSetVlanPcpAction.getDescription(VtnAction vact)
Return a brief description about the specified VTN action.
|
String |
VTNSetDlSrcAction.getDescription(VtnAction vact)
Return a brief description about the specified VTN action.
|
String |
VTNSetInetDscpAction.getDescription(VtnAction vact)
Return a brief description about the specified VTN action.
|
abstract String |
FlowFilterAction.getDescription(VtnAction vact)
Return a brief description about the specified VTN action.
|
VTNSetIcmpCodeAction |
VTNSetIcmpCodeAction.toFlowFilterAction(VtnAction vact,
Integer ord)
Convert the given
VtnAction instance into a
FlowFilterAction instance. |
VTNSetDlDstAction |
VTNSetDlDstAction.toFlowFilterAction(VtnAction vact,
Integer ord)
Convert the given
VtnAction instance into a
FlowFilterAction instance. |
VTNSetPortDstAction |
VTNSetPortDstAction.toFlowFilterAction(VtnAction vact,
Integer ord)
Convert the given
VtnAction instance into a
FlowFilterAction instance. |
VTNSetPortSrcAction |
VTNSetPortSrcAction.toFlowFilterAction(VtnAction vact,
Integer ord)
Convert the given
VtnAction instance into a
FlowFilterAction instance. |
VTNSetIcmpTypeAction |
VTNSetIcmpTypeAction.toFlowFilterAction(VtnAction vact,
Integer ord)
Convert the given
VtnAction instance into a
FlowFilterAction instance. |
VTNSetInetDstAction |
VTNSetInetDstAction.toFlowFilterAction(VtnAction vact,
Integer ord)
Convert the given
VtnAction instance into a
FlowFilterAction instance. |
VTNSetInetSrcAction |
VTNSetInetSrcAction.toFlowFilterAction(VtnAction vact,
Integer ord)
Convert the given
VtnAction instance into a
FlowFilterAction instance. |
VTNSetVlanPcpAction |
VTNSetVlanPcpAction.toFlowFilterAction(VtnAction vact,
Integer ord)
Convert the given
VtnAction instance into a
FlowFilterAction instance. |
VTNSetDlSrcAction |
VTNSetDlSrcAction.toFlowFilterAction(VtnAction vact,
Integer ord)
Convert the given
VtnAction instance into a
FlowFilterAction instance. |
VTNSetInetDscpAction |
VTNSetInetDscpAction.toFlowFilterAction(VtnAction vact,
Integer ord)
Convert the given
VtnAction instance into a
FlowFilterAction instance. |
abstract FlowFilterAction |
FlowFilterAction.toFlowFilterAction(VtnAction vact,
Integer ord)
Convert the given
VtnAction instance into a
FlowFilterAction instance. |
FlowFilterAction |
FlowActionConverter.toFlowFilterAction(VtnOrderedFlowAction vaction)
Convert the given VTN action into a
FlowFilterAction instance. |
VtnSetIcmpCodeActionCase |
VTNSetIcmpCodeAction.toVtnAction(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Convert the given MD-SAL action instance into a
VtnAction
instance. |
VtnSetDlDstActionCase |
VTNSetDlDstAction.toVtnAction(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Convert the given MD-SAL action instance into a
VtnAction
instance. |
VtnSetPortDstActionCase |
VTNSetPortDstAction.toVtnAction(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Convert the given MD-SAL action instance into a
VtnAction
instance. |
VtnSetVlanIdActionCase |
VTNSetVlanIdAction.toVtnAction(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Convert the given MD-SAL action instance into a
VtnAction
instance. |
VtnSetPortSrcActionCase |
VTNSetPortSrcAction.toVtnAction(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Convert the given MD-SAL action instance into a
VtnAction
instance. |
VtnSetIcmpTypeActionCase |
VTNSetIcmpTypeAction.toVtnAction(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Convert the given MD-SAL action instance into a
VtnAction
instance. |
VtnSetInetDstActionCase |
VTNSetInetDstAction.toVtnAction(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Convert the given MD-SAL action instance into a
VtnAction
instance. |
VtnSetInetSrcActionCase |
VTNSetInetSrcAction.toVtnAction(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Convert the given MD-SAL action instance into a
VtnAction
instance. |
VtnSetVlanPcpActionCase |
VTNSetVlanPcpAction.toVtnAction(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Convert the given MD-SAL action instance into a
VtnAction
instance. |
VtnPushVlanActionCase |
VTNPushVlanAction.toVtnAction(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Convert the given MD-SAL action instance into a
VtnAction
instance. |
VtnSetDlSrcActionCase |
VTNSetDlSrcAction.toVtnAction(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Convert the given MD-SAL action instance into a
VtnAction
instance. |
VtnDropActionCase |
VTNDropAction.toVtnAction(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Convert the given MD-SAL action instance into a
VtnAction
instance. |
VtnPopVlanActionCase |
VTNPopVlanAction.toVtnAction(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Convert the given MD-SAL action instance into a
VtnAction
instance. |
VtnSetInetDscpActionCase |
VTNSetInetDscpAction.toVtnAction(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Convert the given MD-SAL action instance into a
VtnAction
instance. |
abstract VtnAction |
VTNFlowAction.toVtnAction(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act)
Convert the given MD-SAL action instance into a
VtnAction
instance. |
VtnAction |
FlowActionConverter.toVtnAction(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action act,
Short ipproto)
Convert the given MD-SAL action instance into a
VtnAction
instance. |
static List<VtnFlowAction> |
FlowActionUtils.toVtnFlowActions(List<org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action> actions,
Comparator<? super org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action> comp,
Short ipproto)
Convert the given MD-SAL action list into a list of
VtnFlowAction instances. |
void |
FlowFilterAction.verify()
Verify the contents of this instance.
|
protected void |
VTNSetIcmpCodeAction.verifyImpl()
Verify the contents of this instance.
|
protected void |
VTNSetIcmpTypeAction.verifyImpl()
Verify the contents of this instance.
|
protected void |
VTNSetVlanPcpAction.verifyImpl()
Verify the contents of this instance.
|
protected void |
VTNDlAddrAction.verifyImpl()
Verify the contents of this instance.
|
protected void |
VTNPortAction.verifyImpl()
Verify the contents of this instance.
|
protected void |
VTNInetAddrAction.verifyImpl()
Verify the contents of this instance.
|
protected void |
VTNSetInetDscpAction.verifyImpl()
Verify the contents of this instance.
|
protected abstract void |
FlowFilterAction.verifyImpl()
Verify the contents of this instance.
|
| Modifier and Type | Method and Description |
|---|---|
static RpcException |
FlowCondUtils.getMatchIndexMissingException()
Return a new
RpcException that indicates the flow match index
is missing. |
static RpcException |
FlowCondUtils.getNotFoundException(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> path)
Return a new
RpcException that indicates the specified flow
condition is not present. |
static RpcException |
FlowCondUtils.getNotFoundException(String name)
Return a new
RpcException that indicates the specified flow
condition is not present. |
static RpcException |
FlowCondUtils.getNotFoundException(String name,
Throwable cause)
Return a new
RpcException that indicates the specified flow
condition is not present. |
| Modifier and Type | Method and Description |
|---|---|
static VnodeName |
FlowCondUtils.checkName(String name)
Verify the name of the flow condition.
|
static String |
FlowCondUtils.checkName(VnodeName vname)
Verify the name of the flow condition.
|
static void |
FlowCondUtils.checkPresent(VnodeName vname)
Ensure the given vnode-name is not null.
|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<VtnFlowCondition> |
FlowCondUtils.getIdentifier(String name)
Create the instance identifier for the flow condition specified by the
given name.
|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<VtnFlowMatch> |
FlowCondUtils.getIdentifier(String name,
Integer index)
Create the instance identifier for the flow match specified by the
given flow condition name and match index.
|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<VtnFlowMatch> |
FlowCondUtils.getIdentifier(VnodeName vname,
Integer index)
Create the instance identifier for the flow match specified by the
given flow condition name and match index.
|
static VnodeName |
FlowCondUtils.getVnodeName(String name)
Return a
VnodeName instance that contains the given flow
condition name. |
void |
VTNFlowMatch.verify()
Verify the contents of this instance.
|
void |
VTNFlowCondition.verify()
Verify the contents of this instance.
|
static void |
FlowCondUtils.verifyMatchIndex(Integer index)
Verify the given index number for a flow match in a flow condition.
|
static void |
FlowCondUtils.verifyMatchIndex(Set<Integer> set,
Integer index)
Ensure that there is no duplicate match index in the match list.
|
| Constructor and Description |
|---|
VTNFlowCondition(VtnFlowCondConfig vfconf)
Construct a new instance from the given
VtnFlowCondConfig
instance. |
VTNFlowMatch(VtnFlowMatchConfig vfmatch)
Construct a new flow match from the given
VtnFlowMatchConfig
instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
VTNRedirectFilter.canSet(VNodeIdentifier<?> ident)
Determine whether this flow filter can be configured into the specified
virtual node.
|
abstract void |
VTNFlowFilter.canSet(VNodeIdentifier<?> ident)
Determine whether this flow filter can be configured into the specified
virtual node.
|
static Integer |
VTNFlowFilter.checkIndexNotNull(Integer index)
Ensure that the given flow filter index is not null.
|
static VTNFlowFilter |
VTNFlowFilter.create(VtnFlowFilterConfig vffc)
Create a new flow filter.
|
static FlowFilterList |
FlowFilterList.create(VtnFlowFilterList vflist,
boolean nillable)
Create a new instance from the given
VtnFlowFilterList instance. |
List<VtnFlowFilter> |
FlowFilterList.toVtnFlowFilterList(VNodeIdentifier<?> ident)
Convert this instance into a list of
VtnFlowFilter instances. |
void |
VTNFlowFilter.verify()
Verify the contents of this instance.
|
protected void |
VTNRedirectFilter.verifyImpl()
Verify the contents of this instance.
|
protected abstract void |
VTNFlowFilter.verifyImpl()
Verify the contents of this instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
VTNMatch.complete()
Complete the flow conditions.
|
static VTNLayer4Match |
VTNLayer4Match.create(org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.Match match)
Create a new instance from the given MD-SAL flow match.
|
static VTNInetMatch |
VTNInetMatch.create(org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.Match match)
Create a new instance from the given MD-SAL flow match.
|
static VTNEtherMatch |
VTNEtherMatch.create(org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.Match match)
Create a new instance from the given MD-SAL flow match.
|
static VTNPortRange |
VTNPortRange.create(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber port)
Construct a new instance which specifies the given port number
explicitly.
|
static VTNInetMatch |
VTNInetMatch.create(VTNEtherMatch eth,
VtnInetMatch ip)
Construct a new instance from the given pair of
VTNEtherMatch
and VtnInetMatch instances. |
static VTNLayer4Match |
VTNLayer4Match.create(VtnLayer4Match vl4)
Create a new instance from the given
VtnLayer4Match instance. |
static VTNPortRange |
VTNPortRange.create(VtnPortRange range)
Construct a new instance from the given
VtnPortRange instance. |
void |
VTNMatch.set(VtnMatchFields vmatch)
Set flow conditions configured in the given
VtnMatchFields
instance. |
void |
VTNEtherMatch.setEtherType(Integer type)
Set the ethernet type to match against packets.
|
void |
VTNInetMatch.setProtocol(Short proto)
Set the IP protocol number to match against packets.
|
void |
VTNPortRange.verify()
Verify the contents of this instance.
|
void |
VTNLayer4PortMatch.verify()
Verify the contents of this instance.
|
void |
VTNIcmpMatch.verify()
Verify the contents of this instance.
|
abstract void |
VTNLayer4Match.verify()
Verify the contents of this instance.
|
void |
VTNInetMatch.verify()
Verify the contents of this instance.
|
void |
VTNEtherMatch.verify()
Verify the contents of this instance.
|
void |
VTNMatch.verify()
Verify the contents of this instance.
|
| Constructor and Description |
|---|
VTNEtherMatch(EtherAddress src,
EtherAddress dst,
Integer type,
Integer vid,
Short pcp)
Construct a new instance.
|
VTNEtherMatch(org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.EthernetMatchFields ematch,
org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.VlanMatchFields vmatch)
Construct a new instance from the given
EthernetMatchFields and
VlanMatchFields instances. |
VTNEtherMatch(VtnEtherMatchFields vematch)
Construct a new instance from the given
VtnEtherMatchFields. |
VTNIcmpMatch(org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.Icmpv4MatchFields imatch)
Create a new instance from the given
Icmpv4MatchFields instance. |
VTNIcmpMatch(Short type,
Short code)
Construct a new instance.
|
VTNIcmpMatch(VtnIcmpMatchFields vimatch)
Create a new instance from the given
VtnIcmpMatchFields
instance. |
VTNInet4Match(org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.IpMatchFields imatch,
org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.Ipv4MatchFields i4match)
Construct a new instance from the given
IpMatchFields and
Ipv4MatchFields instances. |
VTNInet4Match(IpNetwork src,
IpNetwork dst,
Short proto,
Short d)
Construct a new instance.
|
VTNInet4Match(VtnInetMatchFields vimatch)
Construct a new instance from the given
VtnInetMatchFields
instance. |
VTNMatch(org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.Match match)
Construct a new flow match from the given
Match instance. |
VTNMatch(VTNEtherMatch ematch,
VTNInetMatch imatch,
VTNLayer4Match l4match)
Construct a new flow match.
|
VTNPortRange(int port)
Construct a new instance which specifies the given port number.
|
VTNPortRange(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber port)
Construct a new instance which specifies the given port number
explicitly.
|
VTNPortRange(VtnPortRange range)
Construct a new instance from the given
VtnPortRange instance. |
VTNTcpMatch(org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.TcpMatchFields tmatch)
Construct a new instance from the given
TcpMatchFields instance. |
VTNTcpMatch(VtnTcpMatchFields vtmatch)
Construct a new instance from the given
VtnTcpMatchFields
instance. |
VTNUdpMatch(org.opendaylight.yang.gen.v1.urn.opendaylight.model.match.types.rev131026.UdpMatchFields umatch)
Construct a new instance from the given
UdpMatchFields instance. |
VTNUdpMatch(VtnUdpMatchFields vumatch)
Construct a new instance from the given
VtnUdpMatchFields
instance. |
| Modifier and Type | Method and Description |
|---|---|
static RpcException |
NodeUtils.getNullPortDescException()
Return a new
RpcException that indicates the port descriptor
is null. |
| Modifier and Type | Method and Description |
|---|---|
static SalNode |
SalNode.checkedCreate(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nid)
Convert the given MD-SAL node ID into a
SalNode instance
with value checking. |
static SalNode |
SalNode.checkedCreate(String id)
Convert a string representation of MD-SAL node ID into a
SalNode
instance with value checking. |
void |
MacVlan.checkMacMap()
Ensure that this instance can be contained in a MAC mapping
configuration
This method implies
MacVlan.verify(). |
static SalPort |
NodeUtils.checkPortLocation(SalNode snode,
String portId,
String portName)
Check whether the given parameters specifies a physical switch port
or not.
|
static void |
NodeUtils.checkVtnPortDesc(VtnPortDesc vdesc)
Check whether the given
VtnPortDesc instance is valid or not. |
void |
MacVlan.verify()
Verify the contents of this instance.
|
| Constructor and Description |
|---|
MacVlan(String value)
Construct a new instance.
|
MacVlan(VlanHost vh)
Construct a new instance.
|
MacVlan(VlanHostDesc vhd)
Construct a new instance.
|
NodeVlan(String value)
Construct a new instance from the given string.
|
PortVlan(String value)
Construct a new instance from the given string.
|
| Modifier and Type | Method and Description |
|---|---|
static RpcException |
PathMapUtils.getInvalidMapIndexException(Integer index,
Throwable cause)
Return a new
RpcException that indicates the given path map
index is invalid. |
static RpcException |
PathMapUtils.getNullMapIndexException()
Return a new
RpcException that indicates the path map ID is
missing. |
| Modifier and Type | Method and Description |
|---|---|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<VtnPathMap> |
PathMapUtils.getIdentifier(Integer index)
Create the instance identifier for the global path map specified by the
given map index.
|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<VtnPathMap> |
PathMapUtils.getIdentifier(String name,
Integer index)
Create the instance identifier for the VTN path map specified by the
given VTN name and map index.
|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<VtnPathMap> |
PathMapUtils.getIdentifier(VTenantIdentifier ident,
Integer index)
Create the instance identifier for the VTN path map specified by the
given VTN identifier and map index.
|
static VtnPathMapBuilder |
PathMapUtils.toVtnPathMapBuilder(VtnPathMapConfig vpmc)
Convert the given
VtnPathMapConfig instance into a
VtnPathMapBuilder instance. |
static void |
PathMapUtils.verifyMapIndex(Integer index)
Ensure that the given map index is valid.
|
static void |
PathMapUtils.verifyMapIndex(Set<Integer> set,
Integer index)
Ensure that there is not duplicate map index in the path map list.
|
| Modifier and Type | Method and Description |
|---|---|
static RpcException |
PathPolicyUtils.getDuplicatePortException(Object loc)
Return a new
RpcException that indicates duplicate port
descriptor is detected. |
static RpcException |
PathPolicyUtils.getInvalidCostException(Long cost,
Throwable cause)
Return a new
RpcException that indicates the given link cost
valud is invalid. |
static RpcException |
PathPolicyUtils.getInvalidDefaultCostException(Long cost,
Throwable cause)
Return a new
RpcException that indicates the given default cost
valud is invalid. |
static RpcException |
PathPolicyUtils.getInvalidPolicyIdException(Integer id,
Throwable cause)
Return a new
RpcException that indicates the given path policy
ID is invalid. |
static RpcException |
PathPolicyUtils.getNoSwitchPortException()
Return a new
RpcException that indicates no switch port is
specified. |
static RpcException |
PathPolicyUtils.getNotFoundException(Integer id)
Return a new
RpcException that indicates the specified path
policy is not present. |
static RpcException |
PathPolicyUtils.getNotFoundException(Integer id,
Throwable cause)
Return a new
RpcException that indicates the specified path
policy is not present. |
static RpcException |
PathPolicyUtils.getNullPathCostException()
Return a new
RpcException that indicates the path cost
configuration is null. |
static RpcException |
PathPolicyUtils.getNullPolicyIdException()
Return a new
RpcException that indicates the path policy ID
is missing. |
| Modifier and Type | Method and Description |
|---|---|
static VtnPathCostBuilder |
PathPolicyUtils.newBuilder(VtnPathCostConfig vpcc)
Create a new
VtnPathCostBuilder instance that contains the
given path cost configuration. |
static VtnPathPolicyBuilder |
PathPolicyUtils.newBuilder(VtnPathPolicyConfig vppc)
Create a new
VtnPathPolicyBuilder instance that contains the
given path policy configuration. |
static void |
PathPolicyUtils.setCost(VtnPathCostBuilder builder,
Long cost)
Set the path cost into the given path cost builder.
|
static void |
PathPolicyUtils.setDefaultCost(VtnPathPolicyBuilder builder,
Long cost)
Set the default cost into the given path policy builder.
|
static void |
PathPolicyUtils.setId(VtnPathPolicyBuilder builder,
Integer id)
Set the path policy identifier into the given path policy builder.
|
static void |
PathPolicyUtils.setPortDesc(VtnPathCostBuilder builder,
VtnPortDesc vdesc)
Set the switch port descriptor into the given path cost builder.
|
| Modifier and Type | Method and Description |
|---|---|
static RpcException |
RpcException.getBadArgumentException(String desc)
Return a new
RpcException which notifies an invalid argument. |
static RpcException |
RpcException.getBadArgumentException(String desc,
Throwable cause)
Return a new
RpcException which notifies an invalid argument. |
static RpcException |
RpcException.getDataExistsException(String desc)
Return a new
RpcException which notifies a resource confliction. |
static RpcException |
RpcException.getDataExistsException(String desc,
Throwable cause)
Return a new
RpcException which notifies a resource confliction. |
static RpcException |
RpcUtils.getInvalidOperationException(VtnUpdateOperationType op)
Return a new
RpcException that indicates the RPC request has
failed due to invalid VtnUpdateOperationType value. |
static RpcException |
RpcException.getMissingArgumentException(String desc)
Return a new
RpcException which notifies an missing element
in the request. |
static RpcException |
RpcException.getNotFoundException(String desc)
Return a new
RpcException which notifies an missing data
object. |
static RpcException |
RpcException.getNotFoundException(String desc,
Throwable cause)
Return a new
RpcException which notifies an missing data
object. |
static RpcException |
RpcException.getNullArgumentException(String desc)
Return a new
RpcException which indicates a null is
specified as argument unexpectedly. |
static RpcException |
RpcUtils.getNullInputException()
Return a new
RpcException that indicates the RPC request has
failed due to null RPC input. |
| Modifier and Type | Class and Description |
|---|---|
class |
MacMapConflictException
An exception which indicates the specified host is already mapped by the
MAC mapping.
|
class |
MacMapDuplicateException
An exception which indicates the same MAC address as the specified host
is already mapped by the same MAC mapping.
|
class |
MacMapException
A base class of exception which indicates invalid state of the MAC mapping.
|
class |
MacMapGoneException
An exception which indicates the specified host is no longer mapped by the
target MAC mapping.
|
class |
MacMapPortBusyException
An exception which indicates the specified VLAN network on a switch port is
reserved by another virtual mapping.
|
| Modifier and Type | Method and Description |
|---|---|
static RpcException |
VTNMacMapConfig.getAlreadyMappedException(long mac)
Create an exception that indicates the specified MAC address is already
mapped to this vBridge.
|
static RpcException |
VNodeIdentifier.getBadPathException(Object o)
Return an exception that notifies an invalid virtual node path.
|
RpcException |
VNodeIdentifier.getDataExistsException()
Return an exception that indicates the virtual node specified by this
instance is already present.
|
RpcException |
VNodeType.getDataExistsException(String name)
Return a new
RpcException that indicates the virtual node
is already present. |
static RpcException |
VTNMacMapConfig.getDuplicateMacAddressException(long mac)
Create an exception that indicates the same MAC address is configured
in the allowed host set.
|
static RpcException |
VNodeIdentifier.getFlowFilterUnsupportedException(VNodeIdentifier<?> ident)
Return an exception that indicates the virtual node does not support
flow filter.
|
static RpcException |
VInterfaceIdentifier.getNoRedirectDestinationException()
Return an exception that indicates the destination of redirect flow
filter is missing.
|
RpcException |
VNodeIdentifier.getNotFoundException()
Return an exception that indicates the virtual node specified by this
instance is not present.
|
RpcException |
VNodeType.getNotFoundException(String name)
Return a new
RpcException that indicates the virtual node
is not present. |
RpcException |
VNodeType.getNotFoundException(String name,
Throwable cause)
Return a new
RpcException that indicates the virtual node
is not present. |
| Modifier and Type | Method and Description |
|---|---|
static VnodeName |
VInterfaceIdentifier.checkName(String name)
Verify the name of the virtual interface.
|
VnodeName |
VNodeType.checkName(String name,
boolean find)
Check the given name of the virtual node.
|
String |
VNodeType.checkName(VnodeName vname)
Check the given name of the virtual node.
|
static VInterfaceIdentifier<?> |
VInterfaceIdentifier.create(RedirectDestination rdest)
Create a new virtual interface identifier which specifies the
destination of the redirection flow filter.
|
static VTenantIdentifier |
VTenantIdentifier.create(String tname,
boolean find)
Create a new identifier.
|
static VTerminalIdentifier |
VTerminalIdentifier.create(String tname,
String bname,
boolean find)
Create a new identifier.
|
static VBridgeIdentifier |
VBridgeIdentifier.create(String tname,
String bname,
boolean find)
Create a new identifier.
|
static VlanMapIdentifier |
VlanMapIdentifier.create(String tname,
String bname,
String id)
Create a new identifier.
|
static VTerminalIfIdentifier |
VTerminalIfIdentifier.create(String tname,
String bname,
String iname,
boolean find)
Create a new identifier.
|
static VBridgeIfIdentifier |
VBridgeIfIdentifier.create(String tname,
String bname,
String iname,
boolean find)
Create a new identifier.
|
static VBridgeIdentifier |
VBridgeIdentifier.create(VbridgePathFields path,
boolean find)
Create a new identifier.
|
static VNodeIdentifier<?> |
VNodeIdentifier.create(VnodePathFields vpath,
boolean find)
Construct a new instance from the given
VnodePathFields
instance. |
static VTerminalIdentifier |
VTerminalIdentifier.create(VterminalPathFields path,
boolean find)
Create a new identifier.
|
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<VtnFlowFilter> |
VNodeIdentifier.getFlowFilterIdentifier(boolean output,
Integer index)
Return an instance identifier that specifies a flow filter.
|
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier.InstanceIdentifierBuilder<? extends VtnFlowFilterList> |
VNodeIdentifier.getFlowFilterListIdentifierBuilder(boolean output)
Return an instance identifier builder rooted at the specified container
for the flow filter list.
|
MacMapChange |
VTNMacMapConfig.update(VtnUpdateOperationType op,
List<VlanHostDesc> allowed,
List<VlanHostDesc> denied)
Update the MAC mapping configuration.
|
MacMapChange |
VTNMacMapConfig.update(VtnUpdateOperationType op,
VtnAclType aclType,
List<VlanHostDesc> hosts)
Update the specified access control list.
|
void |
VTNPortMapConfig.verify()
Verify the contents of this instance.
|
void |
VTNMacMapConfig.verify()
Verify the contents of this instance.
|
void |
VTNVlanMapConfig.verify()
Verify the contents of this instance.
|
static MacVlan |
VTNMacMapConfig.verifyDeniedHost(MacVlan mv)
Verify a host information in the denied host set.
|
static MacVlan |
VTNMacMapConfig.verifyDeniedHost(VlanHostDesc host)
Verify a host information in the denied host set.
|
| Constructor and Description |
|---|
VTNMacMapConfig(VtnMacMapConfig vmmc)
Construct a new instance.
|
VTNPortMapConfig(VtnPortMapConfig vpmc)
Construct a new instance.
|
VTNVlanMapConfig(VtnVlanMapConfig vvmc)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static AddVlanMapTask |
AddVlanMapTask.create(AddVlanMapInput input)
Construct a new task that adds a VLAN mapping to the specified vBridge.
|
static RemovePortMapTask<?> |
RemovePortMapTask.create(RemovePortMapInput input)
Construct a new task that removes the port mapping from the specified
virtual interface.
|
static RemoveVbridgeTask |
RemoveVbridgeTask.create(RemoveVbridgeInput input)
Create a new task that removes the specified vBridge.
|
static RemoveVinterfaceTask<?> |
RemoveVinterfaceTask.create(RemoveVinterfaceInput input)
Construct a new task that removes the specified virtual interface.
|
static RemoveVterminalTask |
RemoveVterminalTask.create(RemoveVterminalInput input)
Create a new task that removes the specified vTerminal.
|
static RemoveVtnTask |
RemoveVtnTask.create(RemoveVtnInput input)
Create a new task that removes the specified VTN.
|
static SetFlowFilterTask |
SetFlowFilterTask.create(SetFlowFilterInput input)
Construct a new task that set all the given flow filter configurations
into the specified flow filter list.
|
static SetMacMapAclTask |
SetMacMapAclTask.create(SetMacMapAclInput input)
Construct a new task that configures the access control list in the
MAC mapping.
|
static SetMacMapTask |
SetMacMapTask.create(SetMacMapInput input)
Construct a new task that configures a MAC mapping in the specified
vBridge.
|
static SetPortMapTask<?> |
SetPortMapTask.create(SetPortMapInput input)
Construct a new task that configures the port mapping in the specified
virtual interface.
|
static UpdateVbridgeTask |
UpdateVbridgeTask.create(UpdateVbridgeInput input)
Construct a new task that creates or updates the specified vBridge.
|
static UpdateVinterfaceTask<?> |
UpdateVinterfaceTask.create(UpdateVinterfaceInput input)
Construct a new task that creates or updates the specified virtual
interface.
|
static UpdateVterminalTask |
UpdateVterminalTask.create(UpdateVterminalInput input)
Construct a new task that creates or updates the specified vTerminal.
|
static UpdateVtnTask |
UpdateVtnTask.create(UpdateVtnInput input)
Construct a new task that creates or updates the specified VTN.
|
static RemoveMacEntryTask |
RemoveMacEntryTask.create(VBridgeIdentifier ident,
List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress> addrs)
Construct a new task that removes all the given MAC addresses from
the MAC address table.
|
static RemoveVlanMapTask |
RemoveVlanMapTask.create(VBridgeIdentifier ident,
List<String> ids)
Construct a new task that removes all the specified VLAN mappings from
the specified vBridge.
|
static RemoveFlowFilterTask |
RemoveFlowFilterTask.create(VNodeIdentifier<?> ident,
boolean output,
List<Integer> indices)
Construct a new task that removes all the given flow filter
configurations from the specified virtual node.
|
protected VtenantConfig |
UpdateVtnTask.createConfig()
Create a new VTN configuration as specified by the RPC.
|
protected VterminalConfig |
UpdateVterminalTask.createConfig()
Create a new vTerminal configuration as specified by the RPC.
|
protected abstract C |
UpdateVirtualNodeTask.createConfig()
Create a new virtual node configuration as specified by the RPC.
|
protected VbridgeConfig |
UpdateVbridgeTask.createConfig()
Create a new vBridge configuration as specified by the RPC.
|
protected abstract C |
UpdateVirtualNodeTask.mergeConfig(C cur)
Merge the virtual node configuration specified by the RPC with the
current configuration.
|
protected VbridgeConfig |
UpdateVbridgeTask.mergeConfig(VbridgeConfig cur)
Merge the vBridge configuration specified by the RPC with the current
configuration.
|
protected VinterfaceConfig |
UpdateVinterfaceTask.mergeConfig(VinterfaceConfig cur)
Merge the virtual interface configuration specified by the RPC with
the current configuration.
|
protected VtenantConfig |
UpdateVtnTask.mergeConfig(VtenantConfig cur)
Merge the VTN configuration specified by the RPC with the current
configuration.
|
protected MacMapChange |
SetMacMapTask.updateConfig(VTNMacMapConfig cfg,
VtnUpdateOperationType op)
Update the MAC mapping configuration.
|
protected abstract MacMapChange |
UpdateMacMapTask.updateConfig(VTNMacMapConfig cfg,
VtnUpdateOperationType op)
Update the MAC mapping configuration.
|
protected MacMapChange |
SetMacMapAclTask.updateConfig(VTNMacMapConfig cfg,
VtnUpdateOperationType op)
Update the MAC mapping configuration.
|
| Constructor and Description |
|---|
GetMacMappedHostFuture(TxContext ctx,
GetMacMappedHostInput input)
Construct a new instance.
|
GetVlanMapFuture(TxContext ctx,
GetVlanMapInput input)
Construct a new instance.
|
UpdateVirtualNodeTask(I ident,
VnodeUpdateMode mode,
VtnUpdateOperationType op)
Construct a new instance.
|
VTNMacMap(BridgeIdentifier<Vbridge> vbrId,
MacMap mmp)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static List<XmlVInterface> |
XmlVInterface.toList(List<Vinterface> list)
Convert the given virtual interface list into a list of
XmlVInterface instances. |
VbridgeBuilder |
XmlVBridge.toVbridgeBuilder(XmlLogger xlogger,
BridgeIdentifier<Vbridge> vbrId)
Convert this instance into a
VbridgeBuilder instance. |
VinterfaceBuilder |
XmlVInterface.toVinterfaceBuilder(XmlLogger xlogger,
VInterfaceIdentifier<?> ifId)
Convert this instance into a
VinterfaceBuilder instance. |
VterminalBuilder |
XmlVTerminal.toVterminalBuilder()
Convert this instance into a
VterminalBuilder instance. |
VtnBuilder |
XmlVTenant.toVtnBuilder(XmlLogger xlogger,
String name)
Create a
VtnBuilder instance that contains the VTN
configuration. |
| Constructor and Description |
|---|
XmlAbstractBridge(VnodeName vname,
List<Vinterface> ifList)
Construct a new instance.
|
XmlVBridge(VtnVbridgeInfo vbr)
Construct a new instance.
|
XmlVInterface(VtnMappableVinterface vif)
Construct a new instance.
|
XmlVTenant(VtnInfo vtn)
Construct a new instance.
|
XmlVTerminal(VtnVterminalInfo vterm)
Construct a new instance.
|
Copyright © 2018 OpenDaylight. All rights reserved.