A B C D E G H I M N O P R S T U V 
All Classes All Packages

A

addDevice(RestSBDevice) - Method in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 
addDevice(RestSBDevice) - Method in interface org.onosproject.protocol.http.HttpSBController
Adds a device to the device map.
addProxiedDevice(DeviceId, RestSBDevice) - Method in interface org.onosproject.protocol.rest.RestSBController
Add a new association between a proxied device exposed to ONOS and a REST proxy server.
authentication() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 
authentication() - Method in interface org.onosproject.protocol.rest.RestSBDevice
The authentication scheme of rest device.

B

BASIC - org.onosproject.protocol.rest.RestSBDevice.AuthenticationScheme
 

C

cancelServerSentEvents(DeviceId) - Method in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 
cancelServerSentEvents(DeviceId) - Method in interface org.onosproject.protocol.http.HttpSBController
Cancels a Server Sent Events listener to a device.
COLON - Static variable in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 

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
 
DefaultRestSBDevice(IpAddress, int, String, String, String, String, boolean, String, String, String, String, boolean, RestSBDevice.AuthenticationScheme, String) - Constructor for class org.onosproject.protocol.rest.DefaultRestSBDevice
 
DefaultRestSBDevice(IpAddress, int, String, String, String, String, boolean, String, String, String, String, RestSBDevice.AuthenticationScheme, String) - Constructor for class org.onosproject.protocol.rest.DefaultRestSBDevice
 
delete(DeviceId, String, InputStream, MediaType) - Method in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 
delete(DeviceId, String, InputStream, MediaType) - Method in interface org.onosproject.protocol.http.HttpSBController
Does a HTTP 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.
DOUBLESLASH - Static variable in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 

E

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

G

get(DeviceId, String, MediaType) - Method in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 
get(DeviceId, String, MediaType) - Method in interface org.onosproject.protocol.http.HttpSBController
Does a HTTP GET request with specified parameters to the device.
getClientMap() - Method in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 
getComment() - Method in class org.onosproject.protocol.rest.RestSBServerSentEvent
 
getData() - Method in class org.onosproject.protocol.rest.RestSBServerSentEvent
 
getDevice(IpAddress, int) - Method in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 
getDevice(IpAddress, int) - Method in interface org.onosproject.protocol.http.HttpSBController
Returns a device by Ip and Port.
getDevice(DeviceId) - Method in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 
getDevice(DeviceId) - Method in interface org.onosproject.protocol.http.HttpSBController
Returns a device by node identifier.
getDeviceMap() - Method in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 
getDevices() - Method in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 
getDevices() - Method in interface org.onosproject.protocol.http.HttpSBController
Returns all the devices known to this controller.
getId() - Method in class org.onosproject.protocol.rest.RestSBServerSentEvent
 
getName() - Method in class org.onosproject.protocol.rest.RestSBServerSentEvent
 
getProxiedDevices(DeviceId) - Method in interface org.onosproject.protocol.rest.RestSBController
Get all the proxied device exposed to ONOS ids under the same REST proxy server.
getProxySBDevice(DeviceId) - Method in interface org.onosproject.protocol.rest.RestSBController
Get a REST proxied server given a device id.
getServerSentEvents(DeviceId, String, Consumer<InboundSseEvent>, Consumer<Throwable>) - Method in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 
getServerSentEvents(DeviceId, String, Consumer<InboundSseEvent>, Consumer<Throwable>) - Method in interface org.onosproject.protocol.http.HttpSBController
Does a HTTP GET against a Server Sent Events (SSE_INBOUND) resource on the device.
getSseEventSourceMap() - Method in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 
getUrlString(DeviceId, String) - Method in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 
getWebTarget(DeviceId, String) - Method in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 

H

hashCode() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 
hashCode() - Method in class org.onosproject.protocol.rest.RestSBServerSentEvent
 
HttpSBController - Interface in org.onosproject.protocol.http
Abstraction of an HTTP controller.
HttpSBControllerImpl - Class in org.onosproject.protocol.http.ctl
The implementation of HttpSBController.
HttpSBControllerImpl() - Constructor for class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 
hwVersion() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 
hwVersion() - Method in interface org.onosproject.protocol.rest.RestSBDevice
The hardware version of the rest device.

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.
isProxy() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 
isProxy() - Method in interface org.onosproject.protocol.rest.RestSBDevice
Returns the proxy state of this device (if true, the device is proxying multiple ONOS devices).

M

manufacturer() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 
manufacturer() - Method in interface org.onosproject.protocol.rest.RestSBDevice
The manufacturer of the rest device.

N

NO_AUTHENTICATION - org.onosproject.protocol.rest.RestSBDevice.AuthenticationScheme
 

O

OAUTH - org.onosproject.protocol.rest.RestSBDevice.AuthenticationScheme
 
OAUTH2 - org.onosproject.protocol.rest.RestSBDevice.AuthenticationScheme
 
org.onosproject.protocol.http - package org.onosproject.protocol.http
REST southbound protocol controller.
org.onosproject.protocol.http.ctl - package org.onosproject.protocol.http.ctl
REST southbound protocol controller.
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, MediaType) - Method in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 
patch(DeviceId, String, InputStream, MediaType) - Method in interface org.onosproject.protocol.http.HttpSBController
Does a HTTP 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 port of this device.
post(DeviceId, String, InputStream, MediaType) - Method in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 
post(DeviceId, String, InputStream, MediaType) - Method in interface org.onosproject.protocol.http.HttpSBController
Does a HTTP POST request with specified parameters to the device.
post(DeviceId, String, InputStream, MediaType, Class<T>) - Method in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 
post(DeviceId, String, InputStream, MediaType, Class<T>) - Method in interface org.onosproject.protocol.http.HttpSBController
Does a HTTP POST request with specified parameters to the device and extracts an object of type T from the response entity field.
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, MediaType) - Method in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 
put(DeviceId, String, InputStream, MediaType) - Method in interface org.onosproject.protocol.http.HttpSBController
Does a HTTP PUT request with specified parameters to the device.

R

removeDevice(DeviceId) - Method in class org.onosproject.protocol.http.ctl.HttpSBControllerImpl
 
removeDevice(DeviceId) - Method in interface org.onosproject.protocol.http.HttpSBController
Removes the device from the devices map.
removeProxiedDevice(DeviceId) - Method in interface org.onosproject.protocol.rest.RestSBController
Remove the association between a proxied device exposed to ONOS and a REST proxy server.
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.
RestSBDevice.AuthenticationScheme - Enum in org.onosproject.protocol.rest
REST Authentication schemes.
RestSBEventListener - Interface in org.onosproject.protocol.rest
Listener interface for Server Sent Events from Rest SB.
RestSBServerSentEvent - Class in org.onosproject.protocol.rest
Event received on the REST SB interface as ServerSentEvent (SSE_INBOUND).
RestSBServerSentEvent(RestSBServerSentEvent.Type, DeviceId, InboundSseEvent) - Constructor for class org.onosproject.protocol.rest.RestSBServerSentEvent
 
RestSBServerSentEvent.Type - Enum in org.onosproject.protocol.rest
SSE Event types supported.

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.
SSE_INBOUND - org.onosproject.protocol.rest.RestSBServerSentEvent.Type
 
startServerSentEvents(DeviceId, String) - Method in interface org.onosproject.protocol.rest.RestSBController
Call on the Rest SB interface for a device to request ServerSentEvents from events URL.
swVersion() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 
swVersion() - Method in interface org.onosproject.protocol.rest.RestSBDevice
The software version of rest device.

T

testUrl() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 
testUrl() - Method in interface org.onosproject.protocol.rest.RestSBDevice
Returns the url for the REST TEST requests.
token() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 
token() - Method in interface org.onosproject.protocol.rest.RestSBDevice
The access token of rest device if authentication is OAuth2.
toString() - Method in class org.onosproject.protocol.rest.DefaultRestSBDevice
 
toString() - Method in class org.onosproject.protocol.rest.RestSBServerSentEvent
 

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.

V

valueOf(String) - Static method in enum org.onosproject.protocol.rest.RestSBDevice.AuthenticationScheme
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.onosproject.protocol.rest.RestSBServerSentEvent.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.onosproject.protocol.rest.RestSBDevice.AuthenticationScheme
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.onosproject.protocol.rest.RestSBServerSentEvent.Type
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E G H I M N O P R S T U V 
All Classes All Packages