Classes | Functions | Variables
mm2client Namespace Reference

Classes

class  Bands
 
class  BandSettings
 
class  MiniMaxClientException
 

Functions

def ChangeBandsOnMM (bandsobj, mm2host)
 
def GetCurrentBands (mm2name)
 
def GetMM2Config (mm2name)
 
def GetMM2ConfigInJson (mm2name)
 

Variables

 bnds = GetCurrentBands(mm2name)
 
 mm2name = sys.argv[1]
 
int MM_REV = 12
 
 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

mm2client.bnds = GetCurrentBands(mm2name)

Definition at line 544 of file mm2client.py.

mm2client.mm2name = sys.argv[1]

Definition at line 514 of file mm2client.py.

int mm2client.MM_REV = 12

Definition at line 539 of file mm2client.py.

mm2client.pvt = platform.python_version_tuple()

Definition at line 28 of file mm2client.py.



mini_maxwell
Author(s): Yusuke Furuta
autogenerated on Wed Jul 10 2019 03:47:09