Interface IpPortEntity

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    IpPortExternal

    public interface IpPortEntity
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module odl-nat

     grouping ip-port-entity {
       leaf ip-address {
         type string;
       }
       leaf port-num {
         type uint16;
       }
     }
     
    The schema path to identify an instance is odl-nat/ip-port-entity
    • Field Detail

      • QNAME

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

      • implementedInterface

        java.lang.Class<? extends IpPortEntity> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getIpAddress

        @Nullable java.lang.String getIpAddress()
        Returns:
        java.lang.String ipAddress, or null if not present
      • getPortNum

        @Nullable org.opendaylight.yangtools.yang.common.Uint16 getPortNum()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 portNum, or null if not present