public final class ClassifierEntry extends Object implements ClassifierRenderableEntry
ClassifierRenderableEntry implementation that supports all
the different render types.| Modifier and Type | Method and Description |
|---|---|
static ClassifierEntry |
buildEgressEntry(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.InterfaceKey interfaceKey,
String destinationIp)
Build a
ClassifierEntry supporting a remote egress render type. |
static ClassifierEntry |
buildIngressEntry(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.InterfaceKey interfaceKey)
Build a
ClassifierEntry supporting an ingress render type. |
static ClassifierEntry |
buildMatchEntry(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId node,
String connector,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.ace.Matches matches,
Long nsp,
Short nsi)
Build a
ClassifierEntry supporting an match render type. |
static ClassifierEntry |
buildNodeEntry(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId node)
Build a
ClassifierEntry supporting an node render type. |
static ClassifierEntry |
buildPathEntry(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId node,
Long nsp,
short nsi,
short nsl,
String firstHopIp)
Build a
ClassifierEntry supporting a path render type. |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
render(ClassifierEntryRenderer classifierEntryRenderer)
Render the entry using the provided
ClassifierEntryRenderer. |
void |
suppress(ClassifierEntryRenderer classifierEntryRenderer)
Suppress the entry using the provided
ClassifierEntryRenderer. |
String |
toString() |
public void render(ClassifierEntryRenderer classifierEntryRenderer)
ClassifierRenderableEntryClassifierEntryRenderer.render in interface ClassifierRenderableEntryclassifierEntryRenderer - the renderer.public void suppress(ClassifierEntryRenderer classifierEntryRenderer)
ClassifierRenderableEntryClassifierEntryRenderer.suppress in interface ClassifierRenderableEntryclassifierEntryRenderer - the renderer.public static ClassifierEntry buildIngressEntry(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.InterfaceKey interfaceKey)
ClassifierEntry supporting an ingress render type.interfaceKey - the ingress interface.ClassifierEntry.public static ClassifierEntry buildNodeEntry(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId node)
ClassifierEntry supporting an node render type.node - the classifier node identifier.ClassifierEntry.public static ClassifierEntry buildPathEntry(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId node, Long nsp, short nsi, short nsl, String firstHopIp)
ClassifierEntry supporting a path render type.node - the classifier node identifier.nsp - the path identifier.nsi - the path starting index.nsl - the path length.firstHopIp - the first SFF ip address. Null if the SFF is nodeId.ClassifierEntry.public static ClassifierEntry buildMatchEntry(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId node, String connector, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.ace.Matches matches, Long nsp, Short nsi)
ClassifierEntry supporting an match render type.node - the classifier node identifier.connector - the node connector for the ingress interface.matches - the ACL matches.nsp - the path identifier.nsi - the initial path index.ClassifierEntry.public static ClassifierEntry buildEgressEntry(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.InterfaceKey interfaceKey, String destinationIp)
ClassifierEntry supporting a remote egress render type.interfaceKey - the egress interface key.destinationIp - the destination IP address associated to the
interface. If the interface is a local interface,
this should be a node local IP address, otherwise
the remote IP address.ClassifierEntry.Copyright © 2019 OpenDaylight. All rights reserved.