Interface DefaultRouteDistance
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<DefaultRouteDistance>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<BgpGlobalBase>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface DefaultRouteDistance extends org.opendaylight.yangtools.yang.binding.ChildOf<BgpGlobalBase>, org.opendaylight.yangtools.yang.binding.Augmentable<DefaultRouteDistance>
Administrative distance (or preference) assigned to routes received from different sources (external, internal, and local).This class represents the following YANG schema fragment defined in module openconfig-bgp
container default-route-distance { container config { uses bgp-default-route-distance_config; } container state { config false; uses bgp-default-route-distance_config; } }
The schema path to identify an instance is openconfig-bgp/bgp-global-base/default-route-distanceTo create instances of this class use
DefaultRouteDistanceBuilder
.- See Also:
DefaultRouteDistanceBuilder
-
-
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 Config
getConfig()
Configuration parameters relating to the default route distanceState
getState()
State information relating to the default route distancedefault Class<DefaultRouteDistance>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
default Class<DefaultRouteDistance> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getConfig
Config getConfig()
Configuration parameters relating to the default route distance- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.rev151009.bgp.global.base._default.route.distance.Config
config
, ornull
if not present
-
getState
State getState()
State information relating to the default route distance- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.rev151009.bgp.global.base._default.route.distance.State
state
, ornull
if not present
-
-