Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.odl.bgp._default.policy.rev200120
Interface RoleSet
- 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:
RoleSets
@Generated("mdsal-binding-generator")
public interface RoleSet
extends org.opendaylight.yangtools.yang.binding.DataObject
Data definition for a list of Odl Bgp roles which are matched as part of a
policy
This class represents the following YANG schema fragment defined in module odl-bgp-policy
grouping role-set { list role-set { key role-set-name; leaf role-set-name { type string; } leaf-list role { type rib:peer-role; } } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescription@Nullable Map<RoleSetKey,
RoleSet> Return roleSet, ornull
if it is not present.default @NonNull Map<RoleSetKey,
RoleSet> Return roleSet, or an empty list 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
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getRoleSet
@Nullable Map<RoleSetKey,RoleSet> getRoleSet()Return roleSet, ornull
if it is not present.List of the defined role sets
- Returns:
Map<RoleSetKey, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.odl.bgp._default.policy.rev200120.role.set.RoleSet>
roleSet, ornull
if it is not present.
-
nonnullRoleSet
Return roleSet, or an empty list if it is not present.- Returns:
Map<RoleSetKey, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.odl.bgp._default.policy.rev200120.role.set.RoleSet>
roleSet, or an empty list if it is not present.
-