Interface BgpvpnAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Bgpvpn
@Generated("mdsal-binding-generator") public interface BgpvpnAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module neutron-bgpvpns
grouping bgpvpn-attributes { leaf type { type bgpvpn-type; } leaf technique { type string; } leaf-list route-targets { type string; } leaf-list import-targets { type string; } leaf-list export-targets { type string; } leaf-list route-distinguishers { type string; } leaf vni { type uint32; } leaf auto-aggregate { type boolean; default false; } leaf-list networks { type yang:uuid; } leaf-list routers { type yang:uuid; } }
The schema path to identify an instance is neutron-bgpvpns/bgpvpn-attributes
-
-
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 Boolean
getAutoAggregate()
Return autoAggregate, ornull
if it is not present.@Nullable List<String>
getExportTargets()
Return exportTargets, ornull
if it is not present.@Nullable List<String>
getImportTargets()
Return importTargets, ornull
if it is not present.@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>
getNetworks()
Return networks, ornull
if it is not present.@Nullable List<String>
getRouteDistinguishers()
Return routeDistinguishers, ornull
if it is not present.@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>
getRouters()
Return routers, ornull
if it is not present.@Nullable List<String>
getRouteTargets()
Return routeTargets, ornull
if it is not present.String
getTechnique()
Return technique, ornull
if it is not present.Class<? extends BgpvpnTypeBase>
getType()
Return type, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getVni()
Return vni, ornull
if it is not present.Class<? extends BgpvpnAttributes>
implementedInterface()
default @NonNull Boolean
requireAutoAggregate()
Return autoAggregate, guaranteed to be non-null.default @NonNull List<String>
requireExportTargets()
Return exportTargets, guaranteed to be non-null.default @NonNull List<String>
requireImportTargets()
Return importTargets, guaranteed to be non-null.default @NonNull List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>
requireNetworks()
Return networks, guaranteed to be non-null.default @NonNull List<String>
requireRouteDistinguishers()
Return routeDistinguishers, guaranteed to be non-null.default @NonNull List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid>
requireRouters()
Return routers, guaranteed to be non-null.default @NonNull List<String>
requireRouteTargets()
Return routeTargets, guaranteed to be non-null.default @NonNull String
requireTechnique()
Return technique, guaranteed to be non-null.default @NonNull Class<? extends BgpvpnTypeBase>
requireType()
Return type, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
requireVni()
Return vni, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpvpnAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getType
Class<? extends BgpvpnTypeBase> getType()
Return type, ornull
if it is not present.selection of the type of VPN. e.g. l3 or l2
- Returns:
Class<? extends BgpvpnTypeBase>
type, ornull
if it is not present.
-
requireType
default @NonNull Class<? extends BgpvpnTypeBase> requireType()
Return type, guaranteed to be non-null.selection of the type of VPN. e.g. l3 or l2
- Returns:
Class<? extends BgpvpnTypeBase>
type, guaranteed to be non-null.- Throws:
NoSuchElementException
- if type is not present
-
getTechnique
String getTechnique()
Return technique, ornull
if it is not present.selection of technique used to implement VPN
- Returns:
String
technique, ornull
if it is not present.
-
requireTechnique
default @NonNull String requireTechnique()
Return technique, guaranteed to be non-null.selection of technique used to implement VPN
- Returns:
String
technique, guaranteed to be non-null.- Throws:
NoSuchElementException
- if technique is not present
-
getRouteTargets
@Nullable List<String> getRouteTargets()
Return routeTargets, ornull
if it is not present.route-targets
- Returns:
List<String>
routeTargets, ornull
if it is not present.
-
requireRouteTargets
default @NonNull List<String> requireRouteTargets()
Return routeTargets, guaranteed to be non-null.route-targets
- Returns:
List<String>
routeTargets, guaranteed to be non-null.- Throws:
NoSuchElementException
- if routeTargets is not present
-
getImportTargets
@Nullable List<String> getImportTargets()
Return importTargets, ornull
if it is not present.import RTs
- Returns:
List<String>
importTargets, ornull
if it is not present.
-
requireImportTargets
default @NonNull List<String> requireImportTargets()
Return importTargets, guaranteed to be non-null.import RTs
- Returns:
List<String>
importTargets, guaranteed to be non-null.- Throws:
NoSuchElementException
- if importTargets is not present
-
getExportTargets
@Nullable List<String> getExportTargets()
Return exportTargets, ornull
if it is not present.export RTs
- Returns:
List<String>
exportTargets, ornull
if it is not present.
-
requireExportTargets
default @NonNull List<String> requireExportTargets()
Return exportTargets, guaranteed to be non-null.export RTs
- Returns:
List<String>
exportTargets, guaranteed to be non-null.- Throws:
NoSuchElementException
- if exportTargets is not present
-
getRouteDistinguishers
@Nullable List<String> getRouteDistinguishers()
Return routeDistinguishers, ornull
if it is not present.list route-distinguishers
- Returns:
List<String>
routeDistinguishers, ornull
if it is not present.
-
requireRouteDistinguishers
default @NonNull List<String> requireRouteDistinguishers()
Return routeDistinguishers, guaranteed to be non-null.list route-distinguishers
- Returns:
List<String>
routeDistinguishers, guaranteed to be non-null.- Throws:
NoSuchElementException
- if routeDistinguishers is not present
-
getVni
org.opendaylight.yangtools.yang.common.Uint32 getVni()
Return vni, ornull
if it is not present.globally assigned VxLanId
- Returns:
Uint32
vni, ornull
if it is not present.
-
requireVni
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireVni()
Return vni, guaranteed to be non-null.globally assigned VxLanId
- Returns:
Uint32
vni, guaranteed to be non-null.- Throws:
NoSuchElementException
- if vni is not present
-
getAutoAggregate
Boolean getAutoAggregate()
Return autoAggregate, ornull
if it is not present.auto-aggregate enabled or not
- Returns:
Boolean
autoAggregate, ornull
if it is not present.
-
requireAutoAggregate
default @NonNull Boolean requireAutoAggregate()
Return autoAggregate, guaranteed to be non-null.auto-aggregate enabled or not
- Returns:
Boolean
autoAggregate, guaranteed to be non-null.- Throws:
NoSuchElementException
- if autoAggregate is not present
-
getNetworks
@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getNetworks()
Return networks, ornull
if it is not present.list of networks this vpn is associated with.
- Returns:
List<Uuid>
networks, ornull
if it is not present.
-
requireNetworks
default @NonNull List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> requireNetworks()
Return networks, guaranteed to be non-null.list of networks this vpn is associated with.
- Returns:
List<Uuid>
networks, guaranteed to be non-null.- Throws:
NoSuchElementException
- if networks is not present
-
getRouters
@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> getRouters()
Return routers, ornull
if it is not present.list of routers this vpn is associated with.
- Returns:
List<Uuid>
routers, ornull
if it is not present.
-
requireRouters
default @NonNull List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid> requireRouters()
Return routers, guaranteed to be non-null.list of routers this vpn is associated with.
- Returns:
List<Uuid>
routers, guaranteed to be non-null.- Throws:
NoSuchElementException
- if routers is not present
-
-