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