User Tools

Site Tools


ov:magmarest

The following REST interfaces are available on the Magma module:

  1. 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
        <of>
          <switch>
      	  <dpid>{dpid: string}</dpid>
            <flows>
              <flow>{description: string}</flow>
            </flows>
      	  <groups>
              <group>{description: string}</group>
            </groups>
      	</switch>
        </of>
  2. PUT: /of
    • It modifies the OpenFlow tables of the switches
    • body: xml
        <rules>
          <rule>{description}</rule>
      </rules>
    • return value: HTTP 201, empty body
ov/magmarest.txt · Last modified: 2018/04/11 10:49 by 130.251.17.67