Interface NeighbourBaseAfConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,SlowPeerConfig
- All Known Subinterfaces:
Evpn
,Mdt
,Multicast
,Multicast
,Multicast
,Multicast
,Mvpn
,Mvpn
,NeighbourCastAfConfig
,NeighbourCommonAfConfig
,NeighbourIpMulticastAfConfig
,NeighbourIpUnicastAfConfig
,Unicast
,Unicast
,Unicast
,Unicast
,Unicast
,Unicast
,Vpls
@Generated("mdsal-binding-generator") public interface NeighbourBaseAfConfig extends org.opendaylight.yangtools.yang.binding.DataObject, SlowPeerConfig
A set of configuration parameters that is applicable to all neighbour address families.This class represents the following YANG schema fragment defined in module bgp
grouping neighbour-base-af-config { leaf active { type boolean; default false; } leaf advertisement-interval { type uint32; } leaf allowas-in { type boolean; default false; } leaf maximum-prefix { type uint32; } leaf next-hop-self { type boolean; default true; } leaf next-hop-unchanged { type boolean; default true; } container remove-private-as { leaf remove-private-as-number { type boolean; } leaf replace-with-local-as { type boolean; } } leaf route-reflector-client { type boolean; default false; } leaf send-community { type enumeration { enum both; enum extended; enum standard; } default standard; } uses slow-peer-config; leaf soo { type string; } leaf weight { type uint16; } }
The schema path to identify an instance is bgp/neighbour-base-af-config
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
NeighbourBaseAfConfig.SendCommunity
-
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 Deprecated Methods Modifier and Type Method Description java.lang.Boolean
getActive()
Return active, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getAdvertisementInterval()
Return advertisementInterval, ornull
if it is not present.java.lang.Boolean
getAllowasIn()
Return allowasIn, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getMaximumPrefix()
Return maximumPrefix, ornull
if it is not present.java.lang.Boolean
getNextHopSelf()
Return nextHopSelf, ornull
if it is not present.java.lang.Boolean
getNextHopUnchanged()
Return nextHopUnchanged, ornull
if it is not present.RemovePrivateAs
getRemovePrivateAs()
Return removePrivateAs, ornull
if it is not present.java.lang.Boolean
getRouteReflectorClient()
Return routeReflectorClient, ornull
if it is not present.NeighbourBaseAfConfig.SendCommunity
getSendCommunity()
Return sendCommunity, ornull
if it is not present.java.lang.String
getSoo()
Return soo, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getWeight()
Return weight, ornull
if it is not present.java.lang.Class<? extends NeighbourBaseAfConfig>
implementedInterface()
default java.lang.Boolean
isActive()
Deprecated, for removal: This API element is subject to removal in a future version.default java.lang.Boolean
isAllowasIn()
Deprecated, for removal: This API element is subject to removal in a future version.default java.lang.Boolean
isNextHopSelf()
Deprecated, for removal: This API element is subject to removal in a future version.default java.lang.Boolean
isNextHopUnchanged()
Deprecated, for removal: This API element is subject to removal in a future version.default java.lang.Boolean
isRouteReflectorClient()
Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.SlowPeerConfig
getDetection, getSplitUpdateGroup
-
-
-
-
Method Detail
-
implementedInterface
java.lang.Class<? extends NeighbourBaseAfConfig> implementedInterface()
- 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
-
getActive
java.lang.Boolean getActive()
Return active, ornull
if it is not present.Enable the address family for this neighbor.
- Returns:
java.lang.Boolean
active, ornull
if it is not present.
-
isActive
@Deprecated(forRemoval=true) default java.lang.Boolean isActive()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getAdvertisementInterval
org.opendaylight.yangtools.yang.common.Uint32 getAdvertisementInterval()
Return advertisementInterval, ornull
if it is not present.Minimum interval between sending BGP routing updates.
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
advertisementInterval, ornull
if it is not present.
-
getAllowasIn
java.lang.Boolean getAllowasIn()
Return allowasIn, ornull
if it is not present.Accept as-path with my AS present in it.
- Returns:
java.lang.Boolean
allowasIn, ornull
if it is not present.
-
isAllowasIn
@Deprecated(forRemoval=true) default java.lang.Boolean isAllowasIn()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getMaximumPrefix
org.opendaylight.yangtools.yang.common.Uint32 getMaximumPrefix()
Return maximumPrefix, ornull
if it is not present.Maximum number of prefixes accepted from this peer.
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
maximumPrefix, ornull
if it is not present.
-
getNextHopSelf
java.lang.Boolean getNextHopSelf()
Return nextHopSelf, ornull
if it is not present.Enable the next hop calculation for this neighbor.
- Returns:
java.lang.Boolean
nextHopSelf, ornull
if it is not present.
-
isNextHopSelf
@Deprecated(forRemoval=true) default java.lang.Boolean isNextHopSelf()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getNextHopUnchanged
java.lang.Boolean getNextHopUnchanged()
Return nextHopUnchanged, ornull
if it is not present.Propagate next hop unchanged for iBGP paths to this neighbour.
- Returns:
java.lang.Boolean
nextHopUnchanged, ornull
if it is not present.
-
isNextHopUnchanged
@Deprecated(forRemoval=true) default java.lang.Boolean isNextHopUnchanged()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getRemovePrivateAs
RemovePrivateAs getRemovePrivateAs()
Return removePrivateAs, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.neighbour.base.af.config.RemovePrivateAs
removePrivateAs, ornull
if it is not present.
-
getRouteReflectorClient
java.lang.Boolean getRouteReflectorClient()
Return routeReflectorClient, ornull
if it is not present.Configure a neighbor as Route Reflector client.
- Returns:
java.lang.Boolean
routeReflectorClient, ornull
if it is not present.
-
isRouteReflectorClient
@Deprecated(forRemoval=true) default java.lang.Boolean isRouteReflectorClient()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getSendCommunity
NeighbourBaseAfConfig.SendCommunity getSendCommunity()
Return sendCommunity, ornull
if it is not present.Send Community attribute to this neighbor.
- Returns:
org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.NeighbourBaseAfConfig.SendCommunity
sendCommunity, ornull
if it is not present.
-
getSoo
java.lang.String getSoo()
Return soo, ornull
if it is not present.Site-of-Origin extended community. Format is ASN:nn or IP-address:nn
- Returns:
java.lang.String
soo, ornull
if it is not present.
-
getWeight
org.opendaylight.yangtools.yang.common.Uint16 getWeight()
Return weight, ornull
if it is not present.Set default weight for routes from this neighbor.
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
weight, ornull
if it is not present.
-
-