Interface IpPort
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<IpPort>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<IntipPortMap>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<IpPortKey>
public interface IpPort extends org.opendaylight.yangtools.yang.binding.ChildOf<IntipPortMap>, org.opendaylight.yangtools.yang.binding.Augmentable<IpPort>, org.opendaylight.yangtools.yang.binding.Identifiable<IpPortKey>
This class represents the following YANG schema fragment defined in module odl-nat
list ip-port { key internal-ip; leaf internal-ip { type string; } list int-ip-proto-type { key protocol; leaf protocol { type protocol-types; } leaf-list ports { type uint16; } } }
The schema path to identify an instance is odl-nat/snatint-ip-port-map/intip-port-map/ip-portTo create instances of this class use
IpPortBuilder
.- See Also:
IpPortBuilder
,IpPortKey
-
-
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 java.lang.String
getInternalIp()
@Nullable java.util.List<IntIpProtoType>
getIntIpProtoType()
default java.lang.Class<IpPort>
implementedInterface()
IpPortKey
key()
default @NonNull java.util.List<IntIpProtoType>
nonnullIntIpProtoType()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<IpPort> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getInternalIp
@Nullable java.lang.String getInternalIp()
- Returns:
java.lang.String
internalIp
, ornull
if not present
-
getIntIpProtoType
@Nullable java.util.List<IntIpProtoType> getIntIpProtoType()
- Returns:
java.util.List
intIpProtoType
, ornull
if not present
-
nonnullIntIpProtoType
default @NonNull java.util.List<IntIpProtoType> nonnullIntIpProtoType()
- Returns:
java.util.List
intIpProtoType
, or an empty list if it is not present
-
-