Interface NxConntrack
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<NxConntrack>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.ChildOf<NxActionConntrackGrouping>,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface NxConntrack extends org.opendaylight.yangtools.yang.binding.ChildOf<NxActionConntrackGrouping>, org.opendaylight.yangtools.yang.binding.Augmentable<NxConntrack>
This class represents the following YANG schema fragment defined in module openflowplugin-extension-nicira-action
container nx-conntrack { leaf flags { type uint16; } leaf zone-src { type uint32; } leaf conntrack-zone { type uint16; } leaf recirc-table { type uint8; } list ct-actions { uses ofpact-actions; } }The schema path to identify an instance is openflowplugin-extension-nicira-actionnx-action-conntrack-groupingnx-conntrackTo create instances of this class use
NxConntrackBuilder.- See Also:
NxConntrackBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static booleanbindingEquals(@NonNull NxConntrack thisObj, Object obj)Default implementation ofObject.equals(Object)contract for this interface.static intbindingHashCode(@NonNull NxConntrack obj)Default implementation ofObject.hashCode()contract for this interface.static StringbindingToString(@NonNull NxConntrack obj)Default implementation ofObject.toString()contract for this interface.org.opendaylight.yangtools.yang.common.Uint16getConntrackZone()Return conntrackZone, ornullif it is not present.@Nullable List<CtActions>getCtActions()Return ctActions, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint16getFlags()Return flags, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint8getRecircTable()Return recircTable, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getZoneSrc()Return zoneSrc, ornullif it is not present.default Class<NxConntrack>implementedInterface()default @NonNull List<CtActions>nonnullCtActions()Return ctActions, or an empty list if it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Uint16requireConntrackZone()Return conntrackZone, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint16requireFlags()Return flags, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8requireRecircTable()Return recircTable, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireZoneSrc()Return zoneSrc, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
default Class<NxConntrack> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
static int bindingHashCode(@NonNull NxConntrack obj)
Default implementation ofObject.hashCode()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException- ifobjis null
-
bindingEquals
static boolean bindingEquals(@NonNull NxConntrack thisObj, Object obj)
Default implementation ofObject.equals(Object)contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj- Object acting as the receiver of equals invocationobj- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException- ifthisObjis null
-
bindingToString
static String bindingToString(@NonNull NxConntrack obj)
Default implementation ofObject.toString()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj- Object for which to generate toString() result.- Returns:
Stringvalue of data modeled by this interface.- Throws:
NullPointerException- ifobjis null
-
getFlags
org.opendaylight.yangtools.yang.common.Uint16 getFlags()
Return flags, ornullif it is not present.- Returns:
Uint16flags, ornullif it is not present.
-
requireFlags
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireFlags()
Return flags, guaranteed to be non-null.- Returns:
Uint16flags, guaranteed to be non-null.- Throws:
NoSuchElementException- if flags is not present
-
getZoneSrc
org.opendaylight.yangtools.yang.common.Uint32 getZoneSrc()
Return zoneSrc, ornullif it is not present.- Returns:
Uint32zoneSrc, ornullif it is not present.
-
requireZoneSrc
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireZoneSrc()
Return zoneSrc, guaranteed to be non-null.- Returns:
Uint32zoneSrc, guaranteed to be non-null.- Throws:
NoSuchElementException- if zoneSrc is not present
-
getConntrackZone
org.opendaylight.yangtools.yang.common.Uint16 getConntrackZone()
Return conntrackZone, ornullif it is not present.- Returns:
Uint16conntrackZone, ornullif it is not present.
-
requireConntrackZone
default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireConntrackZone()
Return conntrackZone, guaranteed to be non-null.- Returns:
Uint16conntrackZone, guaranteed to be non-null.- Throws:
NoSuchElementException- if conntrackZone is not present
-
getRecircTable
org.opendaylight.yangtools.yang.common.Uint8 getRecircTable()
Return recircTable, ornullif it is not present.- Returns:
Uint8recircTable, ornullif it is not present.
-
requireRecircTable
default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireRecircTable()
Return recircTable, guaranteed to be non-null.- Returns:
Uint8recircTable, guaranteed to be non-null.- Throws:
NoSuchElementException- if recircTable is not present
-
getCtActions
@Nullable List<CtActions> getCtActions()
Return ctActions, ornullif it is not present.- Returns:
List<CtActions>ctActions, ornullif it is not present.
-
-