Interface LocalGenericConditions
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
Conditions
,GenericConditions
@Generated("mdsal-binding-generator")
public interface LocalGenericConditions
extends org.opendaylight.yangtools.binding.Grouping
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; } } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn installProtocolEq, ornull
if it is not present.default @NonNull InstallProtocolType
Return installProtocolEq, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
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
-