public interface RestSBDevice
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.net.DeviceId |
deviceId()
Returns the ONOS deviceID for this device.
|
org.onlab.packet.IpAddress |
ip()
Returns the ip of this device.
|
boolean |
isActive()
Returns the state of this device.
|
String |
password()
Returns the password of this device.
|
int |
port()
Returns the password of this device.
|
String |
protocol()
Returns the protocol for the REST request, usually HTTP o HTTPS.
|
void |
setActive(boolean active)
Sets or unsets the state of the device.
|
String |
url()
Returns the url for the REST requests, to be used instead of IP and PORT.
|
String |
username()
Returns the username of this device.
|
org.onlab.packet.IpAddress ip()
int port()
String username()
String password()
org.onosproject.net.DeviceId deviceId()
void setActive(boolean active)
active - booleanboolean isActive()
String protocol()
String url()