Interface Attributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Attributes>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<PathAttributes>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,NextHop
public interface Attributes extends org.opendaylight.yangtools.yang.binding.ChildOf<PathAttributes>, org.opendaylight.yangtools.yang.binding.Augmentable<Attributes>, NextHop
This class represents the following YANG schema fragment defined in module bgp-message
container attributes { container origin { leaf value { type bgp-t:bgp-origin; } } container as-path { list segments { uses bgp-t:as-path-segment; } } uses bgp-t:next-hop; container multi-exit-disc { leaf med { type uint32; } } container local-pref { leaf pref { type uint32; } } container atomic-aggregate { presence "Atomic Aggregate attribute is present."; } container aggregator { uses bgp-t:bgp-aggregator; } list communities { uses bgp-t:community; } list extended-communities { uses bgp-t:extended-community; } container originator-id { uses originator-id; } container cluster-id { uses cluster-id; } container aigp { container aigp-tlv { leaf metric { type netc:accumulated-igp-metric; } } } list unrecognized-attributes { key type; leaf partial { type boolean; } leaf transitive { type boolean; } leaf type { type uint8; } leaf value { type binary { length 0..65535; } } } container bgp-prefix-sid { list bgp-prefix-sid-tlvs { choice bgp-prefix-sid-tlv { } } } }
The schema path to identify an instance is bgp-message/path-attributes/attributesTo create instances of this class use
AttributesBuilder
.- See Also:
AttributesBuilder
-
-
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 Aggregator
getAggregator()
@Nullable Aigp
getAigp()
@Nullable AsPath
getAsPath()
@Nullable AtomicAggregate
getAtomicAggregate()
@Nullable BgpPrefixSid
getBgpPrefixSid()
@Nullable ClusterId
getClusterId()
@Nullable List<Communities>
getCommunities()
@Nullable List<ExtendedCommunities>
getExtendedCommunities()
@Nullable LocalPref
getLocalPref()
@Nullable MultiExitDisc
getMultiExitDisc()
@Nullable Origin
getOrigin()
@Nullable OriginatorId
getOriginatorId()
@Nullable List<UnrecognizedAttributes>
getUnrecognizedAttributes()
default Class<Attributes>
implementedInterface()
default @NonNull List<Communities>
nonnullCommunities()
default @NonNull List<ExtendedCommunities>
nonnullExtendedCommunities()
default @NonNull List<UnrecognizedAttributes>
nonnullUnrecognizedAttributes()
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.NextHop
getCNextHop
-
-
-
-
Method Detail
-
implementedInterface
default Class<Attributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceNextHop
-
getOrigin
@Nullable Origin getOrigin()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.Origin
origin
, ornull
if not present
-
getAsPath
@Nullable AsPath getAsPath()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.AsPath
asPath
, ornull
if not present
-
getMultiExitDisc
@Nullable MultiExitDisc getMultiExitDisc()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.MultiExitDisc
multiExitDisc
, ornull
if not present
-
getLocalPref
@Nullable LocalPref getLocalPref()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.LocalPref
localPref
, ornull
if not present
-
getAtomicAggregate
@Nullable AtomicAggregate getAtomicAggregate()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.AtomicAggregate
atomicAggregate
, ornull
if not present
-
getAggregator
@Nullable Aggregator getAggregator()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.Aggregator
aggregator
, ornull
if not present
-
getCommunities
@Nullable List<Communities> getCommunities()
- Returns:
java.util.List
communities
, ornull
if not present
-
nonnullCommunities
default @NonNull List<Communities> nonnullCommunities()
- Returns:
java.util.List
communities
, or an empty list if it is not present
-
getExtendedCommunities
@Nullable List<ExtendedCommunities> getExtendedCommunities()
- Returns:
java.util.List
extendedCommunities
, ornull
if not present
-
nonnullExtendedCommunities
default @NonNull List<ExtendedCommunities> nonnullExtendedCommunities()
- Returns:
java.util.List
extendedCommunities
, or an empty list if it is not present
-
getOriginatorId
@Nullable OriginatorId getOriginatorId()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.OriginatorId
originatorId
, ornull
if not present
-
getClusterId
@Nullable ClusterId getClusterId()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.ClusterId
clusterId
, ornull
if not present
-
getAigp
@Nullable Aigp getAigp()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.Aigp
aigp
, ornull
if not present
-
getUnrecognizedAttributes
@Nullable List<UnrecognizedAttributes> getUnrecognizedAttributes()
- Returns:
java.util.List
unrecognizedAttributes
, ornull
if not present
-
nonnullUnrecognizedAttributes
default @NonNull List<UnrecognizedAttributes> nonnullUnrecognizedAttributes()
- Returns:
java.util.List
unrecognizedAttributes
, or an empty list if it is not present
-
getBgpPrefixSid
@Nullable BgpPrefixSid getBgpPrefixSid()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.BgpPrefixSid
bgpPrefixSid
, ornull
if not present
-
-