public class DefaultSnmpDevice extends Object implements org.onosproject.snmp.SnmpDevice
| Constructor and Description |
|---|
DefaultSnmpDevice(String snmpHost,
int snmpPort,
String username,
String community) |
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.net.DeviceId |
deviceId() |
String |
deviceInfo() |
void |
disconnect() |
String |
getCommunity() |
String |
getSnmpHost() |
int |
getSnmpPort() |
String |
getUsername() |
boolean |
isReachable() |
public String deviceInfo()
deviceInfo in interface org.onosproject.snmp.SnmpDevicepublic void disconnect()
disconnect in interface org.onosproject.snmp.SnmpDevicepublic boolean isReachable()
isReachable in interface org.onosproject.snmp.SnmpDevicepublic String getSnmpHost()
getSnmpHost in interface org.onosproject.snmp.SnmpDevicepublic int getSnmpPort()
getSnmpPort in interface org.onosproject.snmp.SnmpDevicepublic String getUsername()
getUsername in interface org.onosproject.snmp.SnmpDevicepublic String getCommunity()
getCommunity in interface org.onosproject.snmp.SnmpDevicepublic org.onosproject.net.DeviceId deviceId()
deviceId in interface org.onosproject.snmp.SnmpDeviceCopyright © 2016. All rights reserved.