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-subnetTo create instances of this class use
AssociatedSubnetBuilder
.- See Also:
AssociatedSubnetBuilder
,AssociatedSubnetKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable java.util.List<AssociatedVpn>
getAssociatedVpn()
@Nullable java.lang.String
getCidr()
default java.lang.Class<AssociatedSubnet>
implementedInterface()
AssociatedSubnetKey
key()
default @NonNull java.util.List<AssociatedVpn>
nonnullAssociatedVpn()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<AssociatedSubnet> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getCidr
@Nullable java.lang.String getCidr()
- Returns:
java.lang.String
cidr
, ornull
if not present
-
getAssociatedVpn
@Nullable java.util.List<AssociatedVpn> getAssociatedVpn()
- Returns:
java.util.List
associatedVpn
, ornull
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
-
key
AssociatedSubnetKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<AssociatedSubnetKey>
-
-