Interface BgpConfederationConfig
-
- 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 BgpConfederationConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration options specifying parameters when the local router is within an autonomous system which is part of a BGP confederation.This class represents the following YANG schema fragment defined in module openconfig-bgp
grouping bgp-confederation_config { leaf enabled { type boolean; } leaf identifier { type inet:as-number; } leaf-list member-as { type inet:as-number; } }
-
-
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 Boolean
getEnabled()
Return enabled, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
getIdentifier()
Return identifier, ornull
if it is not present.@Nullable Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber>
getMemberAs()
Return memberAs, ornull
if it is not present.Class<? extends BgpConfederationConfig>
implementedInterface()
default @NonNull Boolean
requireEnabled()
Return enabled, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
requireIdentifier()
Return identifier, guaranteed to be non-null.default @NonNull Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber>
requireMemberAs()
Return memberAs, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpConfederationConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getEnabled
Boolean getEnabled()
Return enabled, ornull
if it is not present.When this leaf is set to true it indicates that the local-AS is part of a BGP confederation
- Returns:
Boolean
enabled, ornull
if it is not present.
-
requireEnabled
default @NonNull Boolean requireEnabled()
Return enabled, guaranteed to be non-null.When this leaf is set to true it indicates that the local-AS is part of a BGP confederation
- Returns:
Boolean
enabled, guaranteed to be non-null.- Throws:
NoSuchElementException
- if enabled is not present
-
getIdentifier
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber getIdentifier()
Return identifier, ornull
if it is not present.Confederation identifier for the autonomous system.
- Returns:
AsNumber
identifier, ornull
if it is not present.
-
requireIdentifier
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber requireIdentifier()
Return identifier, guaranteed to be non-null.Confederation identifier for the autonomous system.
- Returns:
AsNumber
identifier, guaranteed to be non-null.- Throws:
NoSuchElementException
- if identifier is not present
-
getMemberAs
@Nullable Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber> getMemberAs()
Return memberAs, ornull
if it is not present.Remote autonomous systems that are to be treated as part of the local confederation.
- Returns:
Set<AsNumber>
memberAs, ornull
if it is not present.
-
requireMemberAs
default @NonNull Set<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber> requireMemberAs()
Return memberAs, guaranteed to be non-null.Remote autonomous systems that are to be treated as part of the local confederation.
- Returns:
Set<AsNumber>
memberAs, guaranteed to be non-null.- Throws:
NoSuchElementException
- if memberAs is not present
-
-