Interface BgpNeighborConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface BgpNeighborConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Neighbor level configuration items.This class represents the following YANG schema fragment defined in module openconfig-bgp
grouping bgp-neighbor_config { leaf peer-as { type inet:as-number; } leaf local-as { type inet:as-number; } leaf peer-type { type bgp-types:peer-type; } leaf auth-password { type string; } leaf remove-private-as { type bgp-types:remove-private-as-option; } leaf route-flap-damping { type boolean; default false; } leaf send-community { type bgp-types:community-type; default NONE; } leaf description { type string; } }
The schema path to identify an instance is openconfig-bgp/bgp-neighbor_config
-
-
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 String
getAuthPassword()
Configures an MD5 authentication password for use with neighboring devices.@Nullable String
getDescription()
An optional textual description (intended primarily for use with a peer or group@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
getLocalAs()
The local autonomous system number that is to be used when establishing sessions with the remote peer or peer group, if this differs from the global BGP router autonomous system number.@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
getPeerAs()
AS number of the peer.@Nullable PeerType
getPeerType()
Explicitly designate the peer or peer group as internal (iBGP) or external (eBGP).@Nullable RemovePrivateAsOption
getRemovePrivateAs()
Remove private AS numbers from updates sent to peers.@Nullable CommunityType
getSendCommunity()
Specify which types of community should be sent to the neighbor or group.Class<? extends BgpNeighborConfig>
implementedInterface()
@Nullable Boolean
isRouteFlapDamping()
Enable route flap damping.
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpNeighborConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getPeerAs
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber getPeerAs()
AS number of the peer.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
peerAs
, ornull
if not present
-
getLocalAs
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber getLocalAs()
The local autonomous system number that is to be used when establishing sessions with the remote peer or peer group, if this differs from the global BGP router autonomous system number.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
localAs
, ornull
if not present
-
getPeerType
@Nullable PeerType getPeerType()
Explicitly designate the peer or peer group as internal (iBGP) or external (eBGP).- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.types.rev151009.PeerType
peerType
, ornull
if not present
-
getAuthPassword
@Nullable String getAuthPassword()
Configures an MD5 authentication password for use with neighboring devices.- Returns:
java.lang.String
authPassword
, ornull
if not present
-
getRemovePrivateAs
@Nullable RemovePrivateAsOption getRemovePrivateAs()
Remove private AS numbers from updates sent to peers.- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.types.rev151009.RemovePrivateAsOption
removePrivateAs
, ornull
if not present
-
isRouteFlapDamping
@Nullable Boolean isRouteFlapDamping()
Enable route flap damping.- Returns:
java.lang.Boolean
routeFlapDamping
, ornull
if not present
-
getSendCommunity
@Nullable CommunityType getSendCommunity()
Specify which types of community should be sent to the neighbor or group. The default is to not send the community attribute- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.types.rev151009.CommunityType
sendCommunity
, ornull
if not present
-
getDescription
@Nullable String getDescription()
An optional textual description (intended primarily for use with a peer or group- Returns:
java.lang.String
description
, ornull
if not present
-
-