Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.odl.bgp._default.policy.rev200120
Interface MatchRoleConditionGrouping
- 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
,MatchSetOptionsRestrictedGroup
@Generated("mdsal-binding-generator")
public interface MatchRoleConditionGrouping
extends org.opendaylight.yangtools.yang.binding.DataObject, MatchSetOptionsRestrictedGroup
This class represents the following YANG schema fragment defined in module odl-bgp-policy
grouping match-role-condition-grouping { leaf role-set { type leafref { path /rpol:routing-policy/rpol:defined-sets/bgppol:bgp-defined-sets/role-sets/role-set/role-set-name; } } uses rpol:match-set-options-restricted-group; }
-
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 TypeMethodDescriptionReturn roleSet, ornull
if it is not present.Class<? extends MatchRoleConditionGrouping>
default @NonNull String
Return roleSet, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.MatchSetOptionsRestrictedGroup
getMatchSetOptions, requireMatchSetOptions
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends MatchRoleConditionGrouping> 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
- Specified by:
implementedInterface
in interfaceMatchSetOptionsRestrictedGroup
-
getRoleSet
String getRoleSet()Return roleSet, ornull
if it is not present.References a defined neighbor roles set
- Returns:
String
roleSet, ornull
if it is not present.
-
requireRoleSet
Return roleSet, guaranteed to be non-null.References a defined neighbor roles set
- Returns:
String
roleSet, guaranteed to be non-null.- Throws:
NoSuchElementException
- if roleSet is not present
-