Interface Subnets

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

    public interface Subnets
    extends org.opendaylight.yangtools.yang.binding.ChildOf<SubnetsAttributes>, org.opendaylight.yangtools.yang.binding.Augmentable<Subnets>

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

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

    To create instances of this class use SubnetsBuilder.

    See Also:
    SubnetsBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Map<SubnetKey,​Subnet> getSubnet()
        Returns:
        java.util.Map subnet, or null if not present
      • nonnullSubnet

        default @NonNull Map<SubnetKey,​Subnet> nonnullSubnet()
        Returns:
        java.util.Map subnet, or an empty list if it is not present