@Service public class BgpSessionManager extends Object implements BgpInfoService
| Modifier and Type | Field and Description |
|---|---|
protected RouteAdminService |
routeService |
| Constructor and Description |
|---|
BgpSessionManager() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext context) |
protected void |
deactivate() |
Collection<BgpRouteEntry> |
getBgpRoutes4()
Gets the selected IPv4 BGP routes among all BGP sessions.
|
Collection<BgpRouteEntry> |
getBgpRoutes6()
Gets the selected IPv6 BGP routes among all BGP sessions.
|
Collection<BgpSession> |
getBgpSessions()
Gets the BGP sessions.
|
void |
modified(org.osgi.service.component.ComponentContext context) |
void |
start() |
void |
stop() |
@Reference(cardinality=MANDATORY_UNARY) protected RouteAdminService routeService
@Activate protected void activate(org.osgi.service.component.ComponentContext context)
@Deactivate protected void deactivate()
@Modified public void modified(org.osgi.service.component.ComponentContext context)
public Collection<BgpSession> getBgpSessions()
getBgpSessions in interface BgpInfoServicepublic Collection<BgpRouteEntry> getBgpRoutes4()
getBgpRoutes4 in interface BgpInfoServicepublic Collection<BgpRouteEntry> getBgpRoutes6()
getBgpRoutes6 in interface BgpInfoServicepublic void start()
public void stop()