Interface SubnetsAssociatedToRouteTargets

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

    public interface SubnetsAssociatedToRouteTargets
    extends org.opendaylight.yangtools.yang.binding.ChildOf<OdlL3vpnData>, org.opendaylight.yangtools.yang.binding.Augmentable<SubnetsAssociatedToRouteTargets>

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

     container subnets-associated-to-route-targets {
       config false;
       list route-target {
         key "rt rt-type";
         leaf rt {
           type string;
         }
         leaf rt-type {
           type enumeration {
             enum iRT {
               value 0;
             }
             enum eRT {
               value 1;
             }
           }
         }
         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

    To create instances of this class use SubnetsAssociatedToRouteTargetsBuilder.

    See Also:
    SubnetsAssociatedToRouteTargetsBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable java.util.List<RouteTarget> getRouteTarget()
        Returns:
        java.util.List routeTarget, or null if not present
      • nonnullRouteTarget

        default @NonNull java.util.List<RouteTarget> nonnullRouteTarget()
        Returns:
        java.util.List routeTarget, or an empty list if it is not present