Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Hint about the amazing auto-generated documentation

...

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 /devicesLists all infrastructure devices.
GET /devices/{deviceId}Lists details of a specific infrastructure device.
GET /devices/{deviceId}/portsLists ports of a specific infrastructure device.
POST /devicesCreates 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.

...