Skip navigation links
A D E G H I O P R S T U 

A

addDevice(RestSBDevice) - Method in interface org.onosproject.protocol.rest.RestSBController
Adds a device to the device map.

D

DefaultRestSBDevice - Class in org.onosproject.protocol.rest
Default implementation for Rest devices.
DefaultRestSBDevice(IpAddress, int, String, String, String, String, boolean) - Constructor for class org.onosproject.protocol.rest.DefaultRestSBDevice
 
delete(DeviceId, String, InputStream, String) - Method in interface org.onosproject.protocol.rest.RestSBController
Does a REST DELETE request with specified parameters to the device.
deviceId() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 
deviceId() - Method in interface org.onosproject.protocol.rest.RestSBDevice
Returns the ONOS deviceID for this device.

E

equals(Object) - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 

G

get(DeviceId, String, String) - Method in interface org.onosproject.protocol.rest.RestSBController
Does a REST GET request with specified parameters to the device.
getDevice(DeviceId) - Method in interface org.onosproject.protocol.rest.RestSBController
Returns a device by node identifier.
getDevice(IpAddress, int) - Method in interface org.onosproject.protocol.rest.RestSBController
Returns a device by Ip and Port.
getDevices() - Method in interface org.onosproject.protocol.rest.RestSBController
Returns all the devices known to this controller.

H

hashCode() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 

I

ip() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 
ip() - Method in interface org.onosproject.protocol.rest.RestSBDevice
Returns the ip of this device.
isActive() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 
isActive() - Method in interface org.onosproject.protocol.rest.RestSBDevice
Returns the state of this device.

O

org.onosproject.protocol.rest - package org.onosproject.protocol.rest
REST southbound protocols libraries.

P

password() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 
password() - Method in interface org.onosproject.protocol.rest.RestSBDevice
Returns the password of this device.
patch(DeviceId, String, InputStream, String) - Method in interface org.onosproject.protocol.rest.RestSBController
Does a REST PATCH request with specified parameters to the device.
port() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 
port() - Method in interface org.onosproject.protocol.rest.RestSBDevice
Returns the password of this device.
post(DeviceId, String, InputStream, String) - Method in interface org.onosproject.protocol.rest.RestSBController
Does a REST POST request with specified parameters to the device.
protocol() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 
protocol() - Method in interface org.onosproject.protocol.rest.RestSBDevice
Returns the protocol for the REST request, usually HTTP o HTTPS.
put(DeviceId, String, InputStream, String) - Method in interface org.onosproject.protocol.rest.RestSBController
Does a REST PUT request with specified parameters to the device.

R

removeDevice(DeviceId) - Method in interface org.onosproject.protocol.rest.RestSBController
Removes the device from the devices map.
RestSBController - Interface in org.onosproject.protocol.rest
Abstraction of an REST controller.
RestSBDevice - Interface in org.onosproject.protocol.rest
Represents an abstraction of a Rest Device in ONOS.

S

setActive(boolean) - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 
setActive(boolean) - Method in interface org.onosproject.protocol.rest.RestSBDevice
Sets or unsets the state of the device.

T

toString() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 

U

url() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 
url() - Method in interface org.onosproject.protocol.rest.RestSBDevice
Returns the url for the REST requests, to be used instead of IP and PORT.
username() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 
username() - Method in interface org.onosproject.protocol.rest.RestSBDevice
Returns the username of this device.
A D E G H I O P R S T U 
Skip navigation links

Copyright © 2016. All rights reserved.