Interface RouterToNaptSwitch
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<RouterToNaptSwitch>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<NaptSwitches>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<RouterToNaptSwitchKey>
public interface RouterToNaptSwitch extends org.opendaylight.yangtools.yang.binding.ChildOf<NaptSwitches>, org.opendaylight.yangtools.yang.binding.Augmentable<RouterToNaptSwitch>, org.opendaylight.yangtools.yang.binding.Identifiable<RouterToNaptSwitchKey>
This class represents the following YANG schema fragment defined in module odl-nat
list router-to-napt-switch { key router-name; leaf router-name { type string; } leaf primary-switch-id { type uint64; } leaf enable-snat { type boolean; } }
The schema path to identify an instance is odl-nat/napt-switches/router-to-napt-switchTo create instances of this class use
RouterToNaptSwitchBuilder
.- See Also:
RouterToNaptSwitchBuilder
,RouterToNaptSwitchKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable org.opendaylight.yangtools.yang.common.Uint64
getPrimarySwitchId()
@Nullable java.lang.String
getRouterName()
default java.lang.Class<RouterToNaptSwitch>
implementedInterface()
@Nullable java.lang.Boolean
isEnableSnat()
RouterToNaptSwitchKey
key()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<RouterToNaptSwitch> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getRouterName
@Nullable java.lang.String getRouterName()
- Returns:
java.lang.String
routerName
, ornull
if not present
-
getPrimarySwitchId
@Nullable org.opendaylight.yangtools.yang.common.Uint64 getPrimarySwitchId()
- Returns:
org.opendaylight.yangtools.yang.common.Uint64
primarySwitchId
, ornull
if not present
-
isEnableSnat
@Nullable java.lang.Boolean isEnableSnat()
- Returns:
java.lang.Boolean
enableSnat
, ornull
if not present
-
key
RouterToNaptSwitchKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<RouterToNaptSwitchKey>
-
-