Interface ExtendedCommunity
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
ExtCommunityMember
,ExtCommunityMember
,ExtendedCommunities
@Generated("mdsal-binding-generator") public interface ExtendedCommunity extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module bgp-types
grouping extended-community { leaf transitive { type boolean; } choice extended-community { case as-specific-extended-community-case { container as-specific-extended-community { leaf global-administrator { type short-as-number; } leaf local-administrator { type binary { length 4; } } } } case inet4-specific-extended-community-case { container inet4-specific-extended-community { uses inet4-specific-extended-community-common; leaf global-administrator { status deprecated; type inet:ipv4-address-no-zone; } leaf local-administrator { status deprecated; type binary { length 2; } } } } case opaque-extended-community-case { container opaque-extended-community { leaf value { type binary { length 6; } } } } case route-target-extended-community-case { uses route-target-extended-community-grouping; } case route-target-ipv4-case { uses route-target-ipv4-grouping; } case as-4-route-target-extended-community-case { uses as-4-route-target-extended-community-grouping; } case route-origin-extended-community-case { container route-origin-extended-community { leaf global-administrator { type short-as-number; } leaf local-administrator { type binary { length 4; } } } } case route-origin-ipv4-case { container route-origin-ipv4 { uses route-ipv4-extended-community; } } case link-bandwidth-case { container link-bandwidth-extended-community { uses link-bandwidth-extended-community; } } case as-4-generic-spec-extended-community-case { container as-4-generic-spec-extended-community { uses as-4-spec-common; } } case as-4-route-origin-extended-community-case { container as-4-route-origin-extended-community { uses as-4-spec-common; } } case encapsulation-case { container encapsulation-extended-community { uses encapsulation-extended-community; } } case vrf-route-import-extended-community-case { container vrf-route-import-extended-community { uses inet4-specific-extended-community-common; } } case source-as-4-extended-community-case { container source-as-4-extended-community { uses source-as-4-extended-community-grouping; } } case source-as-extended-community-case { container source-as-extended-community { uses source-as-extended-community-grouping; } } } }
-
-
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 ExtendedCommunity
getExtendedCommunity()
Return extendedCommunity, ornull
if it is not present.Boolean
getTransitive()
Return transitive, ornull
if it is not present.Class<? extends ExtendedCommunity>
implementedInterface()
default @NonNull Boolean
requireTransitive()
Return transitive, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends ExtendedCommunity> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getTransitive
Boolean getTransitive()
Return transitive, ornull
if it is not present.- Returns:
Boolean
transitive, ornull
if it is not present.
-
requireTransitive
default @NonNull Boolean requireTransitive()
Return transitive, guaranteed to be non-null.- Returns:
Boolean
transitive, guaranteed to be non-null.- Throws:
NoSuchElementException
- if transitive is not present
-
getExtendedCommunity
ExtendedCommunity getExtendedCommunity()
Return extendedCommunity, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.extended.community.ExtendedCommunity
extendedCommunity, ornull
if it is not present.
-
-