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-targetsTo create instances of this class use
SubnetsAssociatedToRouteTargetsBuilder.- See Also:
SubnetsAssociatedToRouteTargetsBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable java.util.Map<RouteTargetKey,RouteTarget>getRouteTarget()default java.lang.Class<SubnetsAssociatedToRouteTargets>implementedInterface()default @NonNull java.util.Map<RouteTargetKey,RouteTarget>nonnullRouteTarget()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<SubnetsAssociatedToRouteTargets> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getRouteTarget
@Nullable java.util.Map<RouteTargetKey,RouteTarget> getRouteTarget()
- Returns:
java.util.MaprouteTarget, ornullif not present
-
nonnullRouteTarget
default @NonNull java.util.Map<RouteTargetKey,RouteTarget> nonnullRouteTarget()
- Returns:
java.util.MaprouteTarget, or an empty list if it is not present
-
-