Interface AssociatedSubnet

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<AssociatedSubnet>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<RouteTarget>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<AssociatedSubnetKey>

    public interface AssociatedSubnet
    extends org.opendaylight.yangtools.yang.binding.ChildOf<RouteTarget>, org.opendaylight.yangtools.yang.binding.Augmentable<AssociatedSubnet>, org.opendaylight.yangtools.yang.binding.Identifiable<AssociatedSubnetKey>

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

     list associated-subnet {
       key cidr;
       leaf cidr {
         type string;
       }
       list associated-vpn {
         key name;
         leaf name {
           type string;
         }
       }
     }
     
    The schema path to identify an instance is odl-l3vpn/subnets-associated-to-route-targets/route-target/associated-subnet

    To create instances of this class use AssociatedSubnetBuilder.

    See Also:
    AssociatedSubnetBuilder, AssociatedSubnetKey
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable java.lang.String getCidr()
        Returns:
        java.lang.String cidr, or null if not present
      • getAssociatedVpn

        @Nullable java.util.List<AssociatedVpn> getAssociatedVpn()
        Returns:
        java.util.List associatedVpn, or null if not present
      • nonnullAssociatedVpn

        default @NonNull java.util.List<AssociatedVpn> nonnullAssociatedVpn()
        Returns:
        java.util.List associatedVpn, or an empty list if it is not present