Classes | Functions | Variables
mm2client Namespace Reference

Classes

class  Bands
class  BandSettings
class  MiniMaxClientException

Functions

def ChangeBandsOnMM
def GetCurrentBands
def GetMM2Config
def GetMM2ConfigInJson

Variables

tuple bnds = GetCurrentBands(mm2name)
list mm2name = sys.argv[1]
int MM_REV = 12
tuple pvt = platform.python_version_tuple()

Function Documentation

def mm2client.ChangeBandsOnMM (   bandsobj,
  mm2host 
)
@param bandsobj: A Bands object containing the desired impairment settings.
@type bandsobj: Bands
@param mm2host: The hostname or IP address of the Mini Maxwell.
@type mm2host: string

Definition at line 479 of file mm2client.py.

def mm2client.GetCurrentBands (   mm2name)
Construct a Bands object using the current configuration on
a named Mini Maxwell

Definition at line 446 of file mm2client.py.

def mm2client.GetMM2Config (   mm2name)

Definition at line 79 of file mm2client.py.

def mm2client.GetMM2ConfigInJson (   mm2name)
Read the configuration information from a named Mini Maxwell.
Return a structure

The parts of the structure are these:
   jdata[0] - Data Version
   jdata[1] - Timestamp
   jdata[2] - Full Configuration dictionary

The parts of the full configuration dictionary are:
   full_config["general"]
   full_config["upstream_impairments"]
   full_config["downstream_impairments"]
   full_config["upstream-filters"]
   full_config["downstream-filters"]
   full_config["filters"]

Definition at line 48 of file mm2client.py.


Variable Documentation

Definition at line 544 of file mm2client.py.

list mm2client::mm2name = sys.argv[1]

Definition at line 514 of file mm2client.py.

Definition at line 539 of file mm2client.py.

tuple mm2client::pvt = platform.python_version_tuple()

Definition at line 28 of file mm2client.py.



mini_maxwell
Author(s): Yusuke Furuta
autogenerated on Sun Jan 25 2015 12:37:43