Site Tools


New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
ov:magmarest

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ov:magmarest [2019/02/22 13:55] (current)
Line 1: Line 1:
 +The following REST interfaces are available on the Magma module:
  
 +  - **GET**: /of/{dpid: list of csv string}/​{type:​ string [flows/​groups]}
 +    * It shows the list of switches. For each switch shows its flows and groups. ​
 +    * body: empty
 +    * return value: HTTP 200, xml <code xml> ​ <of>
 +    <​switch>​
 +   <​dpid>​{dpid:​ string}</​dpid>​
 +      <​flows>​
 +        <​flow>​{description:​ string}</​flow>​
 +      </​flows>​
 +   <​groups>​
 +        <​group>​{description:​ string}</​group>​
 +      </​groups>​
 + </​switch>​
 +  </of>
 +</​code>​
 +  - **PUT**: /of
 +    * It modifies the OpenFlow tables of the switches ​
 +    * body: xml <code xml> ​ <​rules>​
 +    <​rule>​{description}</​rule>​
 +</​rules>​
 +</​code>​
 +    * return value: HTTP 201, empty body
ov/magmarest.txt ยท Last modified: 2019/02/22 13:55 (external edit)