Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
The entries in bold are currently implemented.
Documentation
The auto-generated REST API documentation of a running ONOS instance can be reached at http://<controller IP>:8181/onos/v1/docs/.
This also offers a nice way to directly run queries or copy&paste curl commands.
Device
GET /devices | Lists all infrastructure devices. |
GET /devices/{deviceId} | Lists details of a specific infrastructure device. |
GET /devices/{deviceId}/ports | Lists ports of a specific infrastructure device. |
POST /devices | Creates a new infrastructure device into inventory (future). |
PUT /devices/{deviceId} | Updates a device - attributes, availability, mastership. |
DELETE /devices/{deviceId} | Deletes an infrastructure device from inventory. |
...