@Service public class RestSBControllerImpl extends Object implements org.onosproject.protocol.rest.RestSBController
| Constructor and Description |
|---|
RestSBControllerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
addDevice(org.onosproject.protocol.rest.RestSBDevice device) |
void |
deactivate() |
boolean |
delete(org.onosproject.net.DeviceId device,
String request,
InputStream payload,
String mediaType) |
InputStream |
get(org.onosproject.net.DeviceId device,
String request,
String mediaType) |
org.onosproject.protocol.rest.RestSBDevice |
getDevice(org.onosproject.net.DeviceId deviceInfo) |
org.onosproject.protocol.rest.RestSBDevice |
getDevice(org.onlab.packet.IpAddress ip,
int port) |
Map<org.onosproject.net.DeviceId,org.onosproject.protocol.rest.RestSBDevice> |
getDevices() |
boolean |
patch(org.onosproject.net.DeviceId device,
String request,
InputStream payload,
String mediaType) |
boolean |
post(org.onosproject.net.DeviceId device,
String request,
InputStream payload,
String mediaType) |
boolean |
put(org.onosproject.net.DeviceId device,
String request,
InputStream payload,
String mediaType) |
void |
removeDevice(org.onosproject.net.DeviceId deviceId) |
@Activate public void activate()
@Deactivate public void deactivate()
public Map<org.onosproject.net.DeviceId,org.onosproject.protocol.rest.RestSBDevice> getDevices()
getDevices in interface org.onosproject.protocol.rest.RestSBControllerpublic org.onosproject.protocol.rest.RestSBDevice getDevice(org.onosproject.net.DeviceId deviceInfo)
getDevice in interface org.onosproject.protocol.rest.RestSBControllerpublic org.onosproject.protocol.rest.RestSBDevice getDevice(org.onlab.packet.IpAddress ip,
int port)
getDevice in interface org.onosproject.protocol.rest.RestSBControllerpublic void addDevice(org.onosproject.protocol.rest.RestSBDevice device)
addDevice in interface org.onosproject.protocol.rest.RestSBControllerpublic void removeDevice(org.onosproject.net.DeviceId deviceId)
removeDevice in interface org.onosproject.protocol.rest.RestSBControllerpublic boolean post(org.onosproject.net.DeviceId device,
String request,
InputStream payload,
String mediaType)
post in interface org.onosproject.protocol.rest.RestSBControllerpublic boolean put(org.onosproject.net.DeviceId device,
String request,
InputStream payload,
String mediaType)
put in interface org.onosproject.protocol.rest.RestSBControllerpublic InputStream get(org.onosproject.net.DeviceId device, String request, String mediaType)
get in interface org.onosproject.protocol.rest.RestSBControllerpublic boolean patch(org.onosproject.net.DeviceId device,
String request,
InputStream payload,
String mediaType)
patch in interface org.onosproject.protocol.rest.RestSBControllerpublic boolean delete(org.onosproject.net.DeviceId device,
String request,
InputStream payload,
String mediaType)
delete in interface org.onosproject.protocol.rest.RestSBControllerCopyright © 2016. All rights reserved.