public class RoutingBGPConfigUpdateRequest extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
RoutingBGPConfigUpdateRequest.BGPNeighbour
The BGP Neighbour configuration.
|
| Constructor and Description |
|---|
RoutingBGPConfigUpdateRequest(boolean enabled,
String localASNumber,
List<RoutingBGPConfigUpdateRequest.BGPNeighbour> bgpNeighbours,
RedistributionUpdateRequest redistribution,
boolean gracefulRestart,
boolean defaultOriginate)
Instantiates a new routing BGP config.
|
| Modifier and Type | Method and Description |
|---|---|
List<RoutingBGPConfigUpdateRequest.BGPNeighbour> |
getBgpNeighbours()
Gets BGP Neighbours.
|
String |
getLocalASNumber()
Gets local AS Number.
|
RedistributionUpdateRequest |
getRedistribution()
Gets BGP Redistribution.
|
boolean |
isDefaultOriginate()
Is default originate boolean.
|
boolean |
isEnabled()
Is enabled.
|
boolean |
isGracefulRestart()
Is graceful restart boolean.
|
public RoutingBGPConfigUpdateRequest(boolean enabled,
String localASNumber,
List<RoutingBGPConfigUpdateRequest.BGPNeighbour> bgpNeighbours,
RedistributionUpdateRequest redistribution,
boolean gracefulRestart,
boolean defaultOriginate)
enabled - the enabledlocalASNumber - the localASNumberbgpNeighbours - the bgpNeighboursredistribution - the redistributiongracefulRestart - the gracefulRestartdefaultOriginate - the defaultOriginatepublic boolean isEnabled()
public String getLocalASNumber()
String the localASNumberpublic List<RoutingBGPConfigUpdateRequest.BGPNeighbour> getBgpNeighbours()
List of RoutingBGPConfigUpdateRequest.BGPNeighbour the bgpNeighbourspublic RedistributionUpdateRequest getRedistribution()
RedistributionUpdateRequest the redistributionpublic boolean isGracefulRestart()
public boolean isDefaultOriginate()
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.