Interface CommunitySets
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<CommunitySets>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<BgpDefinedSets>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface CommunitySets extends org.opendaylight.yangtools.yang.binding.ChildOf<BgpDefinedSets>, org.opendaylight.yangtools.yang.binding.Augmentable<CommunitySets>
Enclosing container for community setsThis class represents the following YANG schema fragment defined in module openconfig-bgp-policy
container community-sets { list community-set { key community-set-name; leaf community-set-name { type string; } list communities { uses bgp-t:community; } } }
The schema path to identify an instance is openconfig-bgp-policy/routing-policy/defined-sets/(http://openconfig.net/yang/bgp-policy?revision=2015-10-09)bgp-defined-sets/community-setsTo create instances of this class use
CommunitySetsBuilder
.- See Also:
CommunitySetsBuilder
-
-
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 List<CommunitySet>
getCommunitySet()
Definitions for community setsdefault Class<CommunitySets>
implementedInterface()
default @NonNull List<CommunitySet>
nonnullCommunitySet()
-
-
-
Method Detail
-
implementedInterface
default Class<CommunitySets> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getCommunitySet
@Nullable List<CommunitySet> getCommunitySet()
Definitions for community sets- Returns:
java.util.List
communitySet
, ornull
if not present
-
nonnullCommunitySet
default @NonNull List<CommunitySet> nonnullCommunitySet()
- Returns:
java.util.List
communitySet
, or an empty list if it is not present
-
-