Changes between Initial Version and Version 1 of Software/eAM/qNetwork


Ignore:
Timestamp:
May 2, 2011, 12:25:43 AM (14 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Software/eAM/qNetwork

    v1 v1  
     1ORBIT provides HTTP request API abstraction to controlling the configuration of the top switch. The service implementing this API can be accessed by an experimenter from within the SB9 network, including the console and experiment nodes, at the following address:
     2
     3{{{
     4http://nox.orbit-lab.rutgers.edu:5052/network
     5Or simply as:
     6http://nox:5052/network
     7}}}
     8
     9That base URL renders an XML response detailing all requests implemented by the service. Parameter values, such as to address a particular port (port #) on a particular switch (switch IP address), be passed as URL arguments in the HTTP request. For example, to retrieve the details of particular port (say 5) on the top switch ('''IP=10.19.0.253'''), the requested URL is:
     10
     11= Switch Control Service =
     12
     13{{{
     14http://nox:5052/network/portStat?switch=10.19.0.253&port=5
     15}}}
     16
     17The service supports the following main features for the native mode (refer to XML response from the base URL for complete list and API specification):
     18
     19 1. Getting/setting the VLAN ID on any port(s)
     20 1. Assigning two or more VLAN IDs on a port, making it a trunk
     21 1. Getting per port statistics (in, out packet counts) and configuration (VLAN) information
     22 1. Enabling/disabling a port
     23 1. Turning on/off default switch topology protocols - Spanning Tree Protocol (STP)
     24 1. Saving the per-port configuration of the entire switch
     25 1. Restoring switch configuration to prior saved version
     26
     27In addition, it supports the following requests to support the !OpenFlow mode:
     28
     29 1. Change the mode of the switch from native to !OpenFlow mode (and vice versa)
     30 1. Set the !OpenFlow mode parameters including: control port, controller IP, switch ID (dpid), and the transport mode for secure channel