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
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; } } } }
The schema path to identify an instance is bgp-types/extended-community
-
-
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 Modifier and Type Method Description @Nullable ExtendedCommunity
getExtendedCommunity()
Class<? extends ExtendedCommunity>
implementedInterface()
@Nullable Boolean
isTransitive()
-
-
-
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
-
isTransitive
@Nullable Boolean isTransitive()
- Returns:
java.lang.Boolean
transitive
, ornull
if not present
-
getExtendedCommunity
@Nullable ExtendedCommunity getExtendedCommunity()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.extended.community.ExtendedCommunity
extendedCommunity
, ornull
if not present
-
-