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
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 Modifier and Type Method Description @Nullable org.opendaylight.yangtools.yang.common.Uint32
getAdvertisementInterval()
Minimum interval between sending BGP routing updates.@Nullable org.opendaylight.yangtools.yang.common.Uint32
getMaximumPrefix()
Maximum number of prefixes accepted from this peer.@Nullable RemovePrivateAs
getRemovePrivateAs()
@Nullable NeighbourBaseAfConfig.SendCommunity
getSendCommunity()
Send Community attribute to this neighbor.@Nullable java.lang.String
getSoo()
Site-of-Origin extended community.@Nullable org.opendaylight.yangtools.yang.common.Uint16
getWeight()
Set default weight for routes from this neighbor.java.lang.Class<? extends NeighbourBaseAfConfig>
implementedInterface()
@Nullable java.lang.Boolean
isActive()
Enable the address family for this neighbor.@Nullable java.lang.Boolean
isAllowasIn()
Accept as-path with my AS present in it.@Nullable java.lang.Boolean
isNextHopSelf()
Enable the next hop calculation for this neighbor.@Nullable java.lang.Boolean
isNextHopUnchanged()
Propagate next hop unchanged for iBGP paths to this neighbour.@Nullable java.lang.Boolean
isRouteReflectorClient()
Configure a neighbor as Route Reflector client.-
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
-
isActive
@Nullable java.lang.Boolean isActive()
Enable the address family for this neighbor.- Returns:
java.lang.Boolean
active
, ornull
if not present
-
getAdvertisementInterval
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getAdvertisementInterval()
Minimum interval between sending BGP routing updates.- Returns:
org.opendaylight.yangtools.yang.common.Uint32
advertisementInterval
, ornull
if not present
-
isAllowasIn
@Nullable java.lang.Boolean isAllowasIn()
Accept as-path with my AS present in it.- Returns:
java.lang.Boolean
allowasIn
, ornull
if not present
-
getMaximumPrefix
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getMaximumPrefix()
Maximum number of prefixes accepted from this peer.- Returns:
org.opendaylight.yangtools.yang.common.Uint32
maximumPrefix
, ornull
if not present
-
isNextHopSelf
@Nullable java.lang.Boolean isNextHopSelf()
Enable the next hop calculation for this neighbor.- Returns:
java.lang.Boolean
nextHopSelf
, ornull
if not present
-
isNextHopUnchanged
@Nullable java.lang.Boolean isNextHopUnchanged()
Propagate next hop unchanged for iBGP paths to this neighbour.- Returns:
java.lang.Boolean
nextHopUnchanged
, ornull
if not present
-
getRemovePrivateAs
@Nullable RemovePrivateAs getRemovePrivateAs()
- Returns:
org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.neighbour.base.af.config.RemovePrivateAs
removePrivateAs
, ornull
if not present
-
isRouteReflectorClient
@Nullable java.lang.Boolean isRouteReflectorClient()
Configure a neighbor as Route Reflector client.- Returns:
java.lang.Boolean
routeReflectorClient
, ornull
if not present
-
getSendCommunity
@Nullable NeighbourBaseAfConfig.SendCommunity getSendCommunity()
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 not present
-
getSoo
@Nullable java.lang.String getSoo()
Site-of-Origin extended community. Format is ASN:nn or IP-address:nn- Returns:
java.lang.String
soo
, ornull
if not present
-
getWeight
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getWeight()
Set default weight for routes from this neighbor.- Returns:
org.opendaylight.yangtools.yang.common.Uint16
weight
, ornull
if not present
-
-