public class SnmpDeviceProvider
extends org.onosproject.net.provider.AbstractProvider
implements org.onosproject.net.device.DeviceProvider
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.cfg.ComponentConfigService |
cfgService |
protected org.onosproject.cluster.ClusterService |
clusterService |
protected org.onosproject.net.device.DeviceService |
deviceService |
protected org.onosproject.net.device.DeviceProviderRegistry |
providerRegistry |
protected Map<org.onosproject.net.DeviceId,SnmpDevice> |
snmpDeviceMap |
| Constructor and Description |
|---|
SnmpDeviceProvider()
Creates a provider with the supplier identifier.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate(org.osgi.service.component.ComponentContext context) |
void |
deactivate(org.osgi.service.component.ComponentContext context) |
protected com.btisystems.pronx.ems.core.snmp.ISnmpSessionFactory |
getSessionFactory(com.btisystems.pronx.ems.core.snmp.ISnmpConfigurationFactory configurationFactory) |
boolean |
isReachable(org.onosproject.net.DeviceId deviceId) |
void |
modified(org.osgi.service.component.ComponentContext context) |
void |
roleChanged(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.MastershipRole newRole) |
void |
triggerProbe(org.onosproject.net.DeviceId deviceId) |
protected Map<org.onosproject.net.DeviceId,SnmpDevice> snmpDeviceMap
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.device.DeviceProviderRegistry providerRegistry
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.device.DeviceService deviceService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.cluster.ClusterService clusterService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.cfg.ComponentConfigService cfgService
public SnmpDeviceProvider()
@Activate public void activate(org.osgi.service.component.ComponentContext context)
@Deactivate public void deactivate(org.osgi.service.component.ComponentContext context)
@Modified public void modified(org.osgi.service.component.ComponentContext context)
public void triggerProbe(org.onosproject.net.DeviceId deviceId)
triggerProbe in interface org.onosproject.net.device.DeviceProviderpublic void roleChanged(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.MastershipRole newRole)
roleChanged in interface org.onosproject.net.device.DeviceProviderpublic boolean isReachable(org.onosproject.net.DeviceId deviceId)
isReachable in interface org.onosproject.net.device.DeviceProviderprotected com.btisystems.pronx.ems.core.snmp.ISnmpSessionFactory getSessionFactory(com.btisystems.pronx.ems.core.snmp.ISnmpConfigurationFactory configurationFactory)
Copyright © 2016. All rights reserved.