public class NetconfDeviceInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
NetconfDeviceInfo(String name,
String password,
org.onlab.packet.IpAddress ipAddress,
int port)
Information for contacting the controller.
|
NetconfDeviceInfo(String name,
String password,
org.onlab.packet.IpAddress ipAddress,
int port,
String keyString)
Information for contacting the controller.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object toBeCompared) |
org.onosproject.net.DeviceId |
getDeviceId()
Return the DeviceId about the device containing the URI.
|
File |
getKeyFile()
Exposes the keyFile of the controller.
|
int |
hashCode() |
org.onlab.packet.IpAddress |
ip()
Exposes the ip address of the controller.
|
String |
name()
Exposes the name of the controller.
|
String |
password()
Exposes the password of the controller.
|
int |
port()
Exposes the port of the controller.
|
String |
toString()
Return the info about the device in a string.
|
public NetconfDeviceInfo(String name, String password, org.onlab.packet.IpAddress ipAddress, int port)
name - the connection typepassword - the password for the deviceipAddress - the ip addressport - the tcp portpublic NetconfDeviceInfo(String name, String password, org.onlab.packet.IpAddress ipAddress, int port, String keyString)
name - the connection typepassword - the password for the deviceipAddress - the ip addressport - the tcp portkeyString - the string containing the key.public String name()
public String password()
public org.onlab.packet.IpAddress ip()
public int port()
public File getKeyFile()
public String toString()
public org.onosproject.net.DeviceId getDeviceId()