Interface Bgp
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Bgp>
,BgpAfConfig
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<Unicast>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,SlowPeerConfig
public interface Bgp extends org.opendaylight.yangtools.yang.binding.ChildOf<Unicast>, org.opendaylight.yangtools.yang.binding.Augmentable<Bgp>, BgpAfConfig
BGP specific commands for ipv4-unicast address family/sub-addess family combination.This class represents the following YANG schema fragment defined in module bgp
container bgp { uses bgp-af-config; leaf always-compare-med { type boolean; default false; } leaf enforce-first-as { type boolean; default true; } leaf fast-external-fallover { type boolean; default true; } leaf suppress-inactive { type boolean; } leaf asnotation { type enumeration { enum asplain; enum dot; } } leaf enable-client-to-client-reflection { type boolean; default true; } leaf cluster-id { type string; } container confederation { leaf identifier { type string; } list peers { key as-name; leaf as-name { type string; } } } container consistency-checker { leaf enable { type boolean; } leaf interval { type uint16 { range 5..1440; } } choice inconsistency-action { case error-message { leaf generate-error-message-only { type boolean; } } case autorepair { leaf perform-autorepair { type boolean; } } } } leaf deterministic-med { type boolean; } container graceful-restart { leaf enable { type boolean; } leaf restart-time { type uint16 { range 1..3600; } default 120; } leaf stalepath-time { type uint16 { range 5..3600; } default 360; } } container listener-congfig { leaf enable { type boolean; } leaf limit { type uint16 { range 1..5000; } default 100; } leaf range { type uint16 { range 0..32; } } leaf peer-group { type string; } } leaf log-neighbor-changes { type boolean; } leaf max-as-limit { type uint16 { range 1..254; } } container router-id { leaf enable { type boolean; } choice config-type { case static { leaf ip-address { type boolean; } } case auto-config { leaf enable-auto-config { type boolean; } } } } container transport { leaf enable-path-mtu-discovery { type boolean; default true; } } }
The schema path to identify an instance is bgp/bgp-router/af-configuration/ipv4/unicast/bgpTo create instances of this class use
BgpBuilder
.- See Also:
BgpBuilder
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Bgp.Asnotation
-
Nested classes/interfaces inherited from interface org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.BgpAfConfig
BgpAfConfig.AdditionalPaths
-
Nested classes/interfaces inherited from interface org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.SlowPeerConfig
SlowPeerConfig.SplitUpdateGroup
-
-
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 @Nullable Bgp.Asnotation
getAsnotation()
Sets the default asplain notation.@Nullable java.lang.String
getClusterId()
Configure Route-Reflector Cluster-id.@Nullable Confederation
getConfederation()
AS confederation parameters.@Nullable ConsistencyChecker
getConsistencyChecker()
Consistency-checker configuration.@Nullable GracefulRestart
getGracefulRestart()
Controls the BGP graceful restart capability.@Nullable ListenerCongfig
getListenerCongfig()
Associates a subnet range with a BGP peer group and activate the BGP dynamic neighbors feature.@Nullable org.opendaylight.yangtools.yang.common.Uint16
getMaxAsLimit()
Configures BGP to discard routes that have a number of autonomous system numbers in AS-path that exceed the specified value.@Nullable RouterId
getRouterId()
Configures a fixed router ID for the local BGP routing process.@Nullable Transport
getTransport()
Manages transport session parameters.default java.lang.Class<Bgp>
implementedInterface()
@Nullable java.lang.Boolean
isAlwaysCompareMed()
Allow comparing MED from different neighbors.@Nullable java.lang.Boolean
isDeterministicMed()
If enabled it enforce the deterministic comparison of the MED value between all paths received from within the same autonomous system.@Nullable java.lang.Boolean
isEnableClientToClientReflection()
Manages client to client route reflection.@Nullable java.lang.Boolean
isEnforceFirstAs()
Enforce the first AS for EBGP routes(default).@Nullable java.lang.Boolean
isFastExternalFallover()
Immediately reset session if a link to a directly connected external peer goes down.@Nullable java.lang.Boolean
isLogNeighborChanges()
Log neighbor up/down and reset reason.@Nullable java.lang.Boolean
isSuppressInactive()
Suppress routes that are not in the routing table.-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.BgpAfConfig
getAdditionalPaths, getAggregateTimer, getBestpath, getScanTime, isAdvertiseBestExternal, isDampening, isPropagateDmzlinkBw, isRedistributeInternal, isSoftReconfigBackup
-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.SlowPeerConfig
getDetection, getSplitUpdateGroup
-
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<Bgp> implementedInterface()
- Specified by:
implementedInterface
in interfaceBgpAfConfig
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceSlowPeerConfig
-
isAlwaysCompareMed
@Nullable java.lang.Boolean isAlwaysCompareMed()
Allow comparing MED from different neighbors.- Returns:
java.lang.Boolean
alwaysCompareMed
, ornull
if not present
-
isEnforceFirstAs
@Nullable java.lang.Boolean isEnforceFirstAs()
Enforce the first AS for EBGP routes(default).- Returns:
java.lang.Boolean
enforceFirstAs
, ornull
if not present
-
isFastExternalFallover
@Nullable java.lang.Boolean isFastExternalFallover()
Immediately reset session if a link to a directly connected external peer goes down.- Returns:
java.lang.Boolean
fastExternalFallover
, ornull
if not present
-
isSuppressInactive
@Nullable java.lang.Boolean isSuppressInactive()
Suppress routes that are not in the routing table.- Returns:
java.lang.Boolean
suppressInactive
, ornull
if not present
-
getAsnotation
@Nullable Bgp.Asnotation getAsnotation()
Sets the default asplain notation.- Returns:
org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.bgp.router.af.configuration.ipv4.unicast.Bgp.Asnotation
asnotation
, ornull
if not present
-
isEnableClientToClientReflection
@Nullable java.lang.Boolean isEnableClientToClientReflection()
Manages client to client route reflection.- Returns:
java.lang.Boolean
enableClientToClientReflection
, ornull
if not present
-
getClusterId
@Nullable java.lang.String getClusterId()
Configure Route-Reflector Cluster-id.- Returns:
java.lang.String
clusterId
, ornull
if not present
-
getConfederation
@Nullable Confederation getConfederation()
AS confederation parameters.- Returns:
org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.bgp.router.af.configuration.ipv4.unicast.bgp.Confederation
confederation
, ornull
if not present
-
getConsistencyChecker
@Nullable ConsistencyChecker getConsistencyChecker()
Consistency-checker configuration.- Returns:
org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.bgp.router.af.configuration.ipv4.unicast.bgp.ConsistencyChecker
consistencyChecker
, ornull
if not present
-
isDeterministicMed
@Nullable java.lang.Boolean isDeterministicMed()
If enabled it enforce the deterministic comparison of the MED value between all paths received from within the same autonomous system.- Returns:
java.lang.Boolean
deterministicMed
, ornull
if not present
-
getGracefulRestart
@Nullable GracefulRestart getGracefulRestart()
Controls the BGP graceful restart capability.- Returns:
org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.bgp.router.af.configuration.ipv4.unicast.bgp.GracefulRestart
gracefulRestart
, ornull
if not present
-
getListenerCongfig
@Nullable ListenerCongfig getListenerCongfig()
Associates a subnet range with a BGP peer group and activate the BGP dynamic neighbors feature.- Returns:
org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.bgp.router.af.configuration.ipv4.unicast.bgp.ListenerCongfig
listenerCongfig
, ornull
if not present
-
isLogNeighborChanges
@Nullable java.lang.Boolean isLogNeighborChanges()
Log neighbor up/down and reset reason.- Returns:
java.lang.Boolean
logNeighborChanges
, ornull
if not present
-
getMaxAsLimit
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getMaxAsLimit()
Configures BGP to discard routes that have a number of autonomous system numbers in AS-path that exceed the specified value.- Returns:
org.opendaylight.yangtools.yang.common.Uint16
maxAsLimit
, ornull
if not present
-
getRouterId
@Nullable RouterId getRouterId()
Configures a fixed router ID for the local BGP routing process.- Returns:
org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.bgp.router.af.configuration.ipv4.unicast.bgp.RouterId
routerId
, ornull
if not present
-
getTransport
@Nullable Transport getTransport()
Manages transport session parameters.- Returns:
org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.bgp.router.af.configuration.ipv4.unicast.bgp.Transport
transport
, ornull
if not present
-
-