Package org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.l3vpn.rev130911.vpn.to.extraroutes.vpn
Interface ExtraRoutes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<ExtraRoutes>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<Vpn>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<ExtraRoutesKey>
public interface ExtraRoutes extends org.opendaylight.yangtools.yang.binding.ChildOf<Vpn>, org.opendaylight.yangtools.yang.binding.Augmentable<ExtraRoutes>, org.opendaylight.yangtools.yang.binding.Identifiable<ExtraRoutesKey>
This class represents the following YANG schema fragment defined in module odl-l3vpn
list extra-routes { key vrf-id; leaf vrf-id { type string; } list routes { key prefix; leaf prefix { type string; } leaf-list nexthop-ip-list { type string; } } }
The schema path to identify an instance is odl-l3vpn/vpn-to-extraroutes/vpn/extra-routesTo create instances of this class use
ExtraRoutesBuilder
.- See Also:
ExtraRoutesBuilder
,ExtraRoutesKey
-
-
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<Routes>
getRoutes()
@Nullable java.lang.String
getVrfId()
The vrf-id configures unique route distinguisher (RD) for each ipv4 or ipv6 prefix when its nexthop-ip-list connected to same compute nodedefault java.lang.Class<ExtraRoutes>
implementedInterface()
ExtraRoutesKey
key()
default @NonNull java.util.List<Routes>
nonnullRoutes()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<ExtraRoutes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getVrfId
@Nullable java.lang.String getVrfId()
The vrf-id configures unique route distinguisher (RD) for each ipv4 or ipv6 prefix when its nexthop-ip-list connected to same compute node- Returns:
java.lang.String
vrfId
, ornull
if not present
-
getRoutes
@Nullable java.util.List<Routes> getRoutes()
- Returns:
java.util.List
routes
, ornull
if not present
-
nonnullRoutes
default @NonNull java.util.List<Routes> nonnullRoutes()
- Returns:
java.util.List
routes
, or an empty list if it is not present
-
key
ExtraRoutesKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<ExtraRoutesKey>
-
-