@Service public class ConnectivityManager extends Object implements ConnectivityManagerService
| Modifier and Type | Field and Description |
|---|---|
protected CastorStore |
castorStore |
protected CoreService |
coreService |
protected IntentSynchronizationService |
intentSynchronizer |
| Constructor and Description |
|---|
ConnectivityManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
void |
deletePeer(Peer peer)
Deletes a BGP Peer.
|
void |
setUpConnectivity(Peer peer)
Sets up paths to establish connectivity between all internal.
|
void |
setUpL2(Peer peer)
Provisions the layer two flows for the Peer.
|
void |
start(Peer server)
Inputs the Route Servers.
|
void |
stop()
Stops the peer connectivity manager.
|
@Reference(cardinality=MANDATORY_UNARY) protected IntentSynchronizationService intentSynchronizer
@Reference(cardinality=MANDATORY_UNARY) protected CoreService coreService
@Reference(cardinality=MANDATORY_UNARY) protected CastorStore castorStore
@Activate public void activate()
@Deactivate public void deactivate()
public void start(Peer server)
start in interface ConnectivityManagerServiceserver - The Route Serverpublic void stop()
public void setUpConnectivity(Peer peer)
setUpConnectivity in interface ConnectivityManagerServicepeer - The Peer to be added.public void setUpL2(Peer peer)
ConnectivityManagerServicesetUpL2 in interface ConnectivityManagerServicepeer - The Peer for which layer 2 is to be configured.public void deletePeer(Peer peer)
ConnectivityManagerServicedeletePeer in interface ConnectivityManagerServicepeer - The Peer to be deleted.