Interface PathAttributes
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Update,UpdateMessage
@Generated("mdsal-binding-generator")
public interface PathAttributes
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module bgp-message
grouping path-attributes {
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 {
}
}
}
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn attributes, ornullif it is not present.Class<? extends PathAttributes>@NonNull AttributesReturn attributes, or an empty instance if it is not present.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends PathAttributes> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAttributes
Attributes getAttributes()Return attributes, ornullif it is not present.- Returns:
Attributesattributes, ornullif it is not present.
-
nonnullAttributes
@NonNull Attributes nonnullAttributes()Return attributes, or an empty instance if it is not present.- Returns:
Attributesattributes, or an empty instance if it is not present.
-