Interface LocalGenericConditions
- 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:
Conditions
,GenericConditions
@Generated("mdsal-binding-generator")
public interface LocalGenericConditions
extends org.opendaylight.yangtools.yang.binding.DataObject
Condition statement definitions for consideration of a local characteristic of
route
This class represents the following YANG schema fragment defined in module openconfig-routing-policy
grouping local-generic-conditions { leaf install-protocol-eq { type identityref { base install-protocol-type; } } }
-
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 installProtocolEq, ornull
if it is not present.Class<? extends LocalGenericConditions>
default @NonNull InstallProtocolType
Return installProtocolEq, guaranteed to be non-null.
-
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 LocalGenericConditions> 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
-
getInstallProtocolEq
InstallProtocolType getInstallProtocolEq()Return installProtocolEq, ornull
if it is not present.Condition to check the protocol / method used to install which installed the route into the local routing table
- Returns:
InstallProtocolType
installProtocolEq, ornull
if it is not present.
-
requireInstallProtocolEq
Return installProtocolEq, guaranteed to be non-null.Condition to check the protocol / method used to install which installed the route into the local routing table
- Returns:
InstallProtocolType
installProtocolEq, guaranteed to be non-null.- Throws:
NoSuchElementException
- if installProtocolEq is not present
-