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-port

    To create instances of this class use IpPortBuilder.

    See Also:
    IpPortBuilder, IpPortKey
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default java.lang.Class<IpPort> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getInternalIp

        @Nullable java.lang.String getInternalIp()
        Returns:
        java.lang.String internalIp, or null if not present
      • getIntIpProtoType

        @Nullable java.util.List<IntIpProtoType> getIntIpProtoType()
        Returns:
        java.util.List intIpProtoType, or null 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
      • key

        IpPortKey key()
        Specified by:
        key in interface org.opendaylight.yangtools.yang.binding.Identifiable<IpPortKey>