Interface Ports

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Ports>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<PortsAttributes>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface Ports
    extends org.opendaylight.yangtools.yang.binding.ChildOf<PortsAttributes>, org.opendaylight.yangtools.yang.binding.Augmentable<Ports>

    This class represents the following YANG schema fragment defined in module neutron-ports

     container ports {
       list port {
         key uuid;
         uses attrs:base-attributes;
         uses attrs:admin-attributes;
         uses port-attributes;
       }
     }
     
    The schema path to identify an instance is neutron-ports/ports-attributes/ports

    To create instances of this class use PortsBuilder.

    See Also:
    PortsBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<Ports> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getPort

        @Nullable Map<PortKey,​Port> getPort()
        Returns:
        java.util.Map port, or null if not present
      • nonnullPort

        default @NonNull Map<PortKey,​Port> nonnullPort()
        Returns:
        java.util.Map port, or an empty list if it is not present