Skip to content

Instantly share code, notes, and snippets.

@jassoncasey
Created May 10, 2015 20:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jassoncasey/32627754e95b4a276266 to your computer and use it in GitHub Desktop.
Save jassoncasey/32627754e95b4a276266 to your computer and use it in GitHub Desktop.
TINY REST Notes
# Switch interface
GET /switch - get a list of all connected switches
GET /switch/:switchId - get a specific connected switch's general info
GET /switch/:switchId/capabilities - get a specific connected switch's capabilities
# Datapath interface
GET /switch/:switchId/datapath/configuration
GET /switch/:switchId/datapath/capabilities
GET /switch/:switchId/datapath/statistics
# Port interafce
GET /switch/:switchId/port/capabilities
GET /switch/:switchId/port/capabilities/:portId
GET /switch/:switchId/port/configuration
GET /switch/:switchId/port/configuration/:portId
GET /switch/:switchId/port/statistics
GET /switch/:switchId/port/statistics/:portId
# Table interafce
GET /switch/:switchId/table/capabilities
GET /switch/:switchId/table/capabilities/:tableId
GET /switch/:switchId/table/configuration
GET /switch/:switchId/table/configuration/:tableId
GET /switch/:switchId/table/statistics
GET /switch/:switchId/table/statistics/:tableId
# Flow interface
GET /switch/:switchId/table/configuration/:tableId/flow
POST /switch/:switchId/table/configuration/:tableId/flow
UPDATE /switch/:switchId/table/configuration/:tableId/flow
DELETE /switch/:switchId/table/configuration/:tableId/flow
GET /switch/:switchId/table/statistics/:tableId/flow
GET /switch/:switchId/table/statistics/:tableId/flows
# Group interafce
GET /switch/:switchId/group/capabilities
GET /switch/:switchId/group/capabilities/:groupId
GET /switch/:switchId/group/configuration
GET /switch/:switchId/group/configuration/:groupId
GET /switch/:switchId/group/statistics
GET /switch/:switchId/group/statistics/:groupId
# Meter interafce
GET /switch/:switchId/meter/capabilities
GET /switch/:switchId/meter/capabilities/:meterId
GET /switch/:switchId/meter/configuration
GET /switch/:switchId/meter/configuration/:meterId
GET /switch/:switchId/meter/statistics
GET /switch/:switchId/meter/statistics/:meterId
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment