Interface Attributes
- All Superinterfaces:
org.opendaylight.yangtools.binding.Augmentable<Attributes>,org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.ChildOf<PathAttributes>,org.opendaylight.yangtools.binding.ContainerObject<PathAttributes,,Attributes> org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.DataObject,org.opendaylight.yangtools.binding.Grouping,org.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,,Attributes> org.opendaylight.yangtools.binding.lib.JavaDataContainer<Attributes>,NextHop,org.opendaylight.yangtools.binding.ParentObject<Attributes>
@Generated("mdsal-binding-generator")
public interface Attributes
extends org.opendaylight.yangtools.binding.ContainerObject<PathAttributes,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 {
}
}
}
}
To create instances of this class use AttributesBuilder.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameThe YANG identifier of thecontainerstatement represented by this interface. -
Method Summary
Modifier and TypeMethodDescriptionReturnsAggregatoraggregator, ornullif it is not present.getAigp()ReturnsAigpaigp, ornullif it is not present.ReturnsAsPathasPath, ornullif it is not present.ReturnsAtomicAggregateatomicAggregate, ornullif it is not present.ReturnsBgpPrefixSidbgpPrefixSid, ornullif it is not present.ReturnsClusterIdclusterId, ornullif it is not present.@Nullable List<Communities> ReturnsList<Communities>communities, ornullif it is not present.@Nullable List<ExtendedCommunities> ReturnsList<ExtendedCommunities>extendedCommunities, ornullif it is not present.ReturnsLocalPreflocalPref, ornullif it is not present.ReturnsMultiExitDiscmultiExitDisc, ornullif it is not present.ReturnsOriginorigin, ornullif it is not present.ReturnsOriginatorIdoriginatorId, ornullif it is not present.@Nullable Map<UnrecognizedAttributesKey, UnrecognizedAttributes> ReturnsMap<UnrecognizedAttributesKey, UnrecognizedAttributes>unrecognizedAttributes, ornullif it is not present.default Class<Attributes> default booleanjavaEQ(Attributes obj) default intjavaHC()default StringjavaTS()@NonNull AggregatorReturnsAggregatoraggregator, or an empty instance if it is not present.@NonNull AigpReturnsAigpaigp, or an empty instance if it is not present.@NonNull AsPathReturnsAsPathasPath, or an empty instance if it is not present.@NonNull BgpPrefixSidReturnsBgpPrefixSidbgpPrefixSid, or an empty instance if it is not present.@NonNull ClusterIdReturnsClusterIdclusterId, or an empty instance if it is not present.default @NonNull List<Communities> ReturnsList<Communities>communities, or an empty list if it is not present.default @NonNull List<ExtendedCommunities> ReturnsList<ExtendedCommunities>extendedCommunities, or an empty list if it is not present.@NonNull LocalPrefReturnsLocalPreflocalPref, or an empty instance if it is not present.@NonNull MultiExitDiscReturnsMultiExitDiscmultiExitDisc, or an empty instance if it is not present.@NonNull OriginReturnsOriginorigin, or an empty instance if it is not present.@NonNull OriginatorIdReturnsOriginatorIdoriginatorId, or an empty instance if it is not present.default @NonNull Map<UnrecognizedAttributesKey, UnrecognizedAttributes> ReturnsMap<UnrecognizedAttributesKey, UnrecognizedAttributes>unrecognizedAttributes, or an empty list if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentationsMethods inherited from interface org.opendaylight.yangtools.binding.lib.JavaContract
equals, hashCode, toStringMethods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.NextHop
getCNextHop
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEThe YANG identifier of thecontainerstatement represented by this interface.
-
-
Method Details
-
getOrigin
Origin getOrigin()ReturnsOriginorigin, ornullif it is not present.- Returns:
Originorigin, ornullif it is not present
-
nonnullOrigin
@NonNull Origin nonnullOrigin()ReturnsOriginorigin, or an empty instance if it is not present.- Returns:
Originorigin, or an empty instance if it is not present
-
getAsPath
AsPath getAsPath()ReturnsAsPathasPath, ornullif it is not present.- Returns:
AsPathasPath, ornullif it is not present
-
nonnullAsPath
@NonNull AsPath nonnullAsPath()ReturnsAsPathasPath, or an empty instance if it is not present.- Returns:
AsPathasPath, or an empty instance if it is not present
-
getMultiExitDisc
MultiExitDisc getMultiExitDisc()ReturnsMultiExitDiscmultiExitDisc, ornullif it is not present.- Returns:
MultiExitDiscmultiExitDisc, ornullif it is not present
-
nonnullMultiExitDisc
@NonNull MultiExitDisc nonnullMultiExitDisc()ReturnsMultiExitDiscmultiExitDisc, or an empty instance if it is not present.- Returns:
MultiExitDiscmultiExitDisc, or an empty instance if it is not present
-
getLocalPref
LocalPref getLocalPref()ReturnsLocalPreflocalPref, ornullif it is not present.- Returns:
LocalPreflocalPref, ornullif it is not present
-
nonnullLocalPref
@NonNull LocalPref nonnullLocalPref()ReturnsLocalPreflocalPref, or an empty instance if it is not present.- Returns:
LocalPreflocalPref, or an empty instance if it is not present
-
getAtomicAggregate
AtomicAggregate getAtomicAggregate()ReturnsAtomicAggregateatomicAggregate, ornullif it is not present.- Returns:
AtomicAggregateatomicAggregate, ornullif it is not present
-
getAggregator
Aggregator getAggregator()ReturnsAggregatoraggregator, ornullif it is not present.- Returns:
Aggregatoraggregator, ornullif it is not present
-
nonnullAggregator
@NonNull Aggregator nonnullAggregator()ReturnsAggregatoraggregator, or an empty instance if it is not present.- Returns:
Aggregatoraggregator, or an empty instance if it is not present
-
getCommunities
@Nullable List<Communities> getCommunities()ReturnsList<Communities>communities, ornullif it is not present.- Returns:
List<Communities>communities, ornullif it is not present
-
nonnullCommunities
ReturnsList<Communities>communities, or an empty list if it is not present.- Returns:
List<Communities>communities, or an empty list if it is not present
-
getExtendedCommunities
@Nullable List<ExtendedCommunities> getExtendedCommunities()ReturnsList<ExtendedCommunities>extendedCommunities, ornullif it is not present.- Returns:
List<ExtendedCommunities>extendedCommunities, ornullif it is not present
-
nonnullExtendedCommunities
ReturnsList<ExtendedCommunities>extendedCommunities, or an empty list if it is not present.- Returns:
List<ExtendedCommunities>extendedCommunities, or an empty list if it is not present
-
getOriginatorId
OriginatorId getOriginatorId()ReturnsOriginatorIdoriginatorId, ornullif it is not present.- Returns:
OriginatorIdoriginatorId, ornullif it is not present
-
nonnullOriginatorId
@NonNull OriginatorId nonnullOriginatorId()ReturnsOriginatorIdoriginatorId, or an empty instance if it is not present.- Returns:
OriginatorIdoriginatorId, or an empty instance if it is not present
-
getClusterId
ClusterId getClusterId()ReturnsClusterIdclusterId, ornullif it is not present.- Returns:
ClusterIdclusterId, ornullif it is not present
-
nonnullClusterId
@NonNull ClusterId nonnullClusterId()ReturnsClusterIdclusterId, or an empty instance if it is not present.- Returns:
ClusterIdclusterId, or an empty instance if it is not present
-
getAigp
Aigp getAigp()ReturnsAigpaigp, ornullif it is not present.- Returns:
Aigpaigp, ornullif it is not present
-
nonnullAigp
@NonNull Aigp nonnullAigp()ReturnsAigpaigp, or an empty instance if it is not present.- Returns:
Aigpaigp, or an empty instance if it is not present
-
getUnrecognizedAttributes
@Nullable Map<UnrecognizedAttributesKey,UnrecognizedAttributes> getUnrecognizedAttributes()ReturnsMap<UnrecognizedAttributesKey, UnrecognizedAttributes>unrecognizedAttributes, ornullif it is not present.- Returns:
Map<UnrecognizedAttributesKey, UnrecognizedAttributes>unrecognizedAttributes, ornullif it is not present
-
nonnullUnrecognizedAttributes
default @NonNull Map<UnrecognizedAttributesKey,UnrecognizedAttributes> nonnullUnrecognizedAttributes()ReturnsMap<UnrecognizedAttributesKey, UnrecognizedAttributes>unrecognizedAttributes, or an empty list if it is not present.- Returns:
Map<UnrecognizedAttributesKey, UnrecognizedAttributes>unrecognizedAttributes, or an empty list if it is not present
-
getBgpPrefixSid
BgpPrefixSid getBgpPrefixSid()ReturnsBgpPrefixSidbgpPrefixSid, ornullif it is not present.- Returns:
BgpPrefixSidbgpPrefixSid, ornullif it is not present
-
nonnullBgpPrefixSid
@NonNull BgpPrefixSid nonnullBgpPrefixSid()ReturnsBgpPrefixSidbgpPrefixSid, or an empty instance if it is not present.- Returns:
BgpPrefixSidbgpPrefixSid, or an empty instance if it is not present
-
implementedInterface
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.DataObject- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.ParentObject<Attributes>
-
javaHC
default int javaHC()- Specified by:
javaHCin interfaceorg.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,Attributes> - Specified by:
javaHCin interfaceorg.opendaylight.yangtools.binding.lib.JavaDataContainer<Attributes>
-
javaEQ
- Specified by:
javaEQin interfaceorg.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,Attributes> - Specified by:
javaEQin interfaceorg.opendaylight.yangtools.binding.lib.JavaDataContainer<Attributes>
-
javaTS
- Specified by:
javaTSin interfaceorg.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,Attributes> - Specified by:
javaTSin interfaceorg.opendaylight.yangtools.binding.lib.JavaDataContainer<Attributes>
-