Interface BgpGlobalConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface BgpGlobalConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Global configuration options for the BGP router.This class represents the following YANG schema fragment defined in module openconfig-bgp
grouping bgp-global_config { leaf as { type inet:as-number; } leaf router-id { type inet:ipv4-address; } }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
getAs()
Return as, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address
getRouterId()
Return routerId, ornull
if it is not present.Class<? extends BgpGlobalConfig>
implementedInterface()
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
requireAs()
Return as, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address
requireRouterId()
Return routerId, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpGlobalConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAs
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber getAs()
Return as, ornull
if it is not present.Local autonomous system number of the router. Uses the 32-bit as-number type from the model in RFC 6991.
- Returns:
AsNumber
as, ornull
if it is not present.
-
requireAs
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber requireAs()
Return as, guaranteed to be non-null.Local autonomous system number of the router. Uses the 32-bit as-number type from the model in RFC 6991.
- Returns:
AsNumber
as, guaranteed to be non-null.- Throws:
NoSuchElementException
- if as is not present
-
getRouterId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address getRouterId()
Return routerId, ornull
if it is not present.Router id of the router, expressed as an 32-bit value, IPv4 address.
- Returns:
Ipv4Address
routerId, ornull
if it is not present.
-
requireRouterId
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address requireRouterId()
Return routerId, guaranteed to be non-null.Router id of the router, expressed as an 32-bit value, IPv4 address.
- Returns:
Ipv4Address
routerId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if routerId is not present
-
-