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.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 policyThis 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
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 @Nullable Map<RoleSetKey,RoleSet>
getRoleSet()
Return roleSet, ornull
if it is not present.Class<? extends RoleSet>
implementedInterface()
default @NonNull Map<RoleSetKey,RoleSet>
nonnullRoleSet()
Return roleSet, or an empty list if it is not present.
-
-
-
Method Detail
-
implementedInterface
Class<? extends RoleSet> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.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
default @NonNull Map<RoleSetKey,RoleSet> 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.
-
-