Package expedient :: Package clearinghouse :: Package defaultsettings :: Module openflowtests
[hide private]
[frames] | no frames]

Module openflowtests

source code

Contains default settings for the testing environment. Created on Aug 22, 2010


Author: jnaous

Variables [hide private]
  PYTHON_DIR = '/home/jnaous/csl/projects/e-geni/doc-expedient/s...
  OM_PROJECT_DIR = '/home/jnaous/csl/projects/e-geni/doc-expedie...
  CH_PROJECT_DIR = '/home/jnaous/csl/projects/e-geni/doc-expedie...
  GCF_DIR = '/home/jnaous/csl/projects/e-geni/doc-expedient/src/...
  SSL_DIR = '/home/jnaous/csl/projects/e-geni/doc-expedient/src/...
  FLOWVISOR_DIR = '/home/jnaous/csl/projects/e-geni/doc-expedien...
Location of the testing Flowvisor source directory.
  USE_RANDOM = False
Randomize the tests where possible?
  SITE_IP_ADDR = '192.168.126.128'
The IP address of the host where Expedient and the OM are running.
  OM_PORT = 8443
Port on which the Opt-In manager is running.
  CH_PORT = 443
Port on which Expedient is running.
  PREFIX = ''
  FV_CONFIG = 'fv_vm_config.xml'
Name of the Flowvisor config file.
  GCH_PORT = 8001
The port on which the GENI Clearinghouse should run.
  FLOWVISORS = [{'of_port': 6633, 'password': 'rootpassword', 'p...
Information about where the test flowvisor should run.
  MININET_VMS = [('172.16.77.131', 22)]
Information about where the Mininet VM is running.
  MININET_SWITCH_TYPE = 'user'
Type of switch to use.
  NUM_EXPERIMENTS = 2
Number of Slices to instantiate during testing.
  NUM_DUMMY_OMS = 3
Number of Dummy OMs to use for GAPI tests.
  NUM_SWITCHES_PER_AGG = 10
Number of dummy switches for GAPI tests.
  NUM_LINKS_PER_AGG = 20
Number of dummy links for GAPI tests.
  NUM_DUMMY_FVS = 1
Don't change.
  USE_HTTPS = True
Run using HTTPS or HTTP to expedient & OM?
  SHOW_PROCESSES_IN_XTERM = True
Don't change.
  PAUSE_AFTER_TESTS = False
If true, each test will wait for an Enter from the user before tearing down (useful to look at xterm output).
  TIMEOUT = 20
Time to wait for processes to run and for communication to work.
  __package__ = 'expedient.clearinghouse.defaultsettings'
Variables Details [hide private]

PYTHON_DIR

Value:
'/home/jnaous/csl/projects/e-geni/doc-expedient/src/python/expedient/c\
learinghouse/defaultsettings/../../..'

OM_PROJECT_DIR

Value:
'/home/jnaous/csl/projects/e-geni/doc-expedient/src/python/expedient/c\
learinghouse/defaultsettings/../../../openflow/optin_manager'

CH_PROJECT_DIR

Value:
'/home/jnaous/csl/projects/e-geni/doc-expedient/src/python/expedient/c\
learinghouse/defaultsettings/../../../expedient/clearinghouse'

GCF_DIR

Value:
'/home/jnaous/csl/projects/e-geni/doc-expedient/src/python/expedient/c\
learinghouse/defaultsettings/../../../gcf'

SSL_DIR

Value:
'/home/jnaous/csl/projects/e-geni/doc-expedient/src/python/expedient/c\
learinghouse/defaultsettings/ssl'

FLOWVISOR_DIR

Location of the testing Flowvisor source directory.

Value:
'/home/jnaous/csl/projects/e-geni/doc-expedient/src/python/expedient/c\
learinghouse/defaultsettings/../../../../../../../flowvisor'

FLOWVISORS

Information about where the test flowvisor should run.

This should be a list of dicts with the following keys:

  • of_port: The openflow port number the Flowvisor will use.
  • xmlrpc_port: The port number for XMLRPC calls to the Flowvisor.
  • username: The username to use for accessing the xmlrpc calls.
  • password: The password to use for accessing the xmlrpc calls.
  • path: The location of the flowvisor config file.
Value:
[{'of_port': 6633,
  'password': 'rootpassword',
  'path': ('/home/jnaous/csl/projects/e-geni/doc-expedient/src/python/\
expedient/clearinghouse/defaultsettings/../../../../../../../flowvisor\
',
           'fv_vm_config.xml'),
  'username': 'root',
  'xmlrpc_port': 8080}]

MININET_VMS

Information about where the Mininet VM is running.

This should be a list of tuples (IP address, SSH port number)

Value:
[('172.16.77.131', 22)]

MININET_SWITCH_TYPE

Type of switch to use. One of "user", "ovsk", "kernel"

Value:
'user'

NUM_DUMMY_FVS

Don't change. Num of Dummy FVs for OM tests.

Value:
1

SHOW_PROCESSES_IN_XTERM

Don't change. Should forked processes run in an xterm?

Value:
True