Package org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.bgp.router.rpki.config
Interface BestpathComputation
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<BestpathComputation>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<RpkiConfig>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface BestpathComputation extends org.opendaylight.yangtools.yang.binding.ChildOf<RpkiConfig>, org.opendaylight.yangtools.yang.binding.Augmentable<BestpathComputation>
Configures RPKI bestpath computation options.This class represents the following YANG schema fragment defined in module bgp
container bestpath-computation { leaf enable { type boolean; } leaf allow-invalid { type boolean; } }
The schema path to identify an instance is bgp/bgp-router/rpki-config/bestpath-computationTo create instances of this class use
BestpathComputationBuilder
.- See Also:
BestpathComputationBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.Class<BestpathComputation>
implementedInterface()
@Nullable java.lang.Boolean
isAllowInvalid()
Allows all 'invalid' paths to be considered for BGP bestpath computation.@Nullable java.lang.Boolean
isEnable()
Enables the validity states of BGP paths to affect the path's preference in the BGP bestpath process.
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<BestpathComputation> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
isEnable
@Nullable java.lang.Boolean isEnable()
Enables the validity states of BGP paths to affect the path's preference in the BGP bestpath process.- Returns:
java.lang.Boolean
enable
, ornull
if not present
-
isAllowInvalid
@Nullable java.lang.Boolean isAllowInvalid()
Allows all 'invalid' paths to be considered for BGP bestpath computation.- Returns:
java.lang.Boolean
allowInvalid
, ornull
if not present
-
-