Interface BgpConfederationConfig
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
@Generated("mdsal-binding-generator")
public interface BgpConfederationConfig
extends org.opendaylight.yangtools.binding.Grouping
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; } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn enabled, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
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> Return memberAs, ornull
if it is not present.default @NonNull Boolean
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
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> Return memberAs, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
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
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
-