use of com.btisystems.pronx.ems.core.snmp.SnmpSessionFactory in project onos by opennetworkinglab.
the class DefaultSnmpController method activate.
@Activate
public void activate(ComponentContext context) {
factoryMap = Maps.newHashMap();
factoryMap.put(SnmpConstants.version2c, new SnmpSessionFactory(new DefaultSnmpConfigurationFactory(new V2cSnmpConfiguration())));
factoryMap.put(SnmpConstants.version3, new SnmpSessionFactory(new DefaultSnmpConfigurationFactory(new V3SnmpConfiguration())));
log.info("Started");
}
Aggregations