The Assimilation Project  based on Assimilation version 1.1.7.1474836767
docker.SystemTestEnvironment Class Reference
Inheritance diagram for docker.SystemTestEnvironment:
Collaboration diagram for docker.SystemTestEnvironment:

Public Member Functions

def __init__ (self, logname, nanocount=10, cmaimage='assimilation/build-wily', nanoimages=('assimilation/build-wily',)#, cmaimage='3f06b7c84030', nanoimages=('3f06b7c84030',), sysclass=DockerSystem, cleanupwhendone=False, nanodebug=0, cmadebug=0, chunksize=20)
 
def set_nanoconfig (self, nano, debug=0, tcpdump=False)
 
def set_cmaconfig (self, debug=0)
 
def fixneo4jpass (self)
 
def spawncma (self, nanodebug=0, cmadebug=0)
 
def spawnnanoprobe (self, debug=0)
 
def up_nanoprobes (self)
 
def down_nanoprobes (self)
 
def select_nanoprobe (self, count=1)
 
def select_up_nanoprobe (self, count=1)
 
def select_down_nanoprobe (self, count=1)
 
def select_nano_service (self, service=NANOSERVICE, count=1)
 
def select_nano_noservice (self, service=NANOSERVICE, count=1)
 
def stop (self)
 
def __del__ (self)
 

Data Fields

 sysclass
 
 cmaimage
 
 nanoimages
 
 nanoprobes
 
 cma
 
 debug
 
 cleanupwhendone
 
 logname
 
 nanodebug
 
 cmadebug
 

Static Public Attributes

string CMASERVICE = 'cma'
 
string NANOSERVICE = 'nanoprobe'
 
string NEO4JSERVICE = 'neo4j'
 
string LOGGINGSERVICE = 'rsyslog'
 
string NEO4JPASS = 'neo4j2'
 
string NEO4JLOGIN = 'neo4j'
 

Detailed Description

Definition at line 287 of file docker.py.

Constructor & Destructor Documentation

def docker.SystemTestEnvironment.__init__ (   self,
  logname,
  nanocount = 10,
  cmaimage = 'assimilation/build-wily',
  nanoimages = ('assimilation/build-wily',)     #,
  cmaimage = '3f06b7c84030',
  nanoimages = ('3f06b7c84030',),
  sysclass = DockerSystem,
  cleanupwhendone = False,
  nanodebug = 0,
  cmadebug = 0,
  chunksize = 20 
)

Definition at line 300 of file docker.py.

Member Function Documentation

def docker.SystemTestEnvironment.down_nanoprobes (   self)

Definition at line 468 of file docker.py.

References docker.SystemTestEnvironment.nanoprobes.

Referenced by docker.SystemTestEnvironment.select_down_nanoprobe().

Here is the caller graph for this function:

def docker.SystemTestEnvironment.fixneo4jpass (   self)

Definition at line 431 of file docker.py.

References docker.SystemTestEnvironment.NEO4JPASS.

Referenced by docker.SystemTestEnvironment.spawncma().

Here is the caller graph for this function:

def docker.SystemTestEnvironment.select_down_nanoprobe (   self,
  count = 1 
)

Definition at line 496 of file docker.py.

References docker.SystemTestEnvironment.down_nanoprobes().

Here is the call graph for this function:

def docker.SystemTestEnvironment.select_nano_noservice (   self,
  service = NANOSERVICE,
  count = 1 
)

Definition at line 523 of file docker.py.

References docker.SystemTestEnvironment.nanoprobes.

def docker.SystemTestEnvironment.select_nano_service (   self,
  service = NANOSERVICE,
  count = 1 
)

Definition at line 509 of file docker.py.

References docker.SystemTestEnvironment.nanoprobes.

def docker.SystemTestEnvironment.select_nanoprobe (   self,
  count = 1 
)

Definition at line 472 of file docker.py.

References docker.SystemTestEnvironment.nanoprobes.

def docker.SystemTestEnvironment.select_up_nanoprobe (   self,
  count = 1 
)

Definition at line 483 of file docker.py.

References docker.SystemTestEnvironment.up_nanoprobes().

Here is the call graph for this function:

def docker.SystemTestEnvironment.set_cmaconfig (   self,
  debug = 0 
)

Definition at line 419 of file docker.py.

Referenced by docker.SystemTestEnvironment.spawncma().

Here is the caller graph for this function:

def docker.SystemTestEnvironment.set_nanoconfig (   self,
  nano,
  debug = 0,
  tcpdump = False 
)

Definition at line 400 of file docker.py.

References docker.SystemTestEnvironment.cma.

Referenced by docker.SystemTestEnvironment.spawncma(), and docker.SystemTestEnvironment.spawnnanoprobe().

Here is the caller graph for this function:

def docker.SystemTestEnvironment.spawncma (   self,
  nanodebug = 0,
  cmadebug = 0 
)
def docker.SystemTestEnvironment.spawnnanoprobe (   self,
  debug = 0 
)

Definition at line 455 of file docker.py.

References docker.SystemTestEnvironment._spawnsystem(), docker.SystemTestEnvironment.nanoimages, and docker.SystemTestEnvironment.set_nanoconfig().

Here is the call graph for this function:

def docker.SystemTestEnvironment.stop (   self)

Definition at line 538 of file docker.py.

References docker.SystemTestEnvironment.nanoprobes.

def docker.SystemTestEnvironment.up_nanoprobes (   self)

Definition at line 464 of file docker.py.

References docker.SystemTestEnvironment.nanoprobes.

Referenced by docker.SystemTestEnvironment.select_up_nanoprobe().

Here is the caller graph for this function:

Field Documentation

docker.SystemTestEnvironment.cleanupwhendone

Definition at line 308 of file docker.py.

Referenced by docker.SystemTestEnvironment.__del__().

docker.SystemTestEnvironment.cmadebug

Definition at line 315 of file docker.py.

docker.SystemTestEnvironment.cmaimage

Definition at line 303 of file docker.py.

Referenced by docker.SystemTestEnvironment.spawncma().

string docker.SystemTestEnvironment.CMASERVICE = 'cma'
static

Definition at line 289 of file docker.py.

string docker.SystemTestEnvironment.LOGGINGSERVICE = 'rsyslog'
static

Definition at line 292 of file docker.py.

docker.SystemTestEnvironment.logname

Definition at line 309 of file docker.py.

docker.SystemTestEnvironment.nanodebug

Definition at line 314 of file docker.py.

docker.SystemTestEnvironment.nanoimages

Definition at line 304 of file docker.py.

Referenced by docker.SystemTestEnvironment.spawnnanoprobe().

string docker.SystemTestEnvironment.NANOSERVICE = 'nanoprobe'
static

Definition at line 290 of file docker.py.

string docker.SystemTestEnvironment.NEO4JLOGIN = 'neo4j'
static

Definition at line 294 of file docker.py.

string docker.SystemTestEnvironment.NEO4JPASS = 'neo4j2'
static

Definition at line 293 of file docker.py.

Referenced by docker.SystemTestEnvironment.fixneo4jpass().

string docker.SystemTestEnvironment.NEO4JSERVICE = 'neo4j'
static

Definition at line 291 of file docker.py.

docker.SystemTestEnvironment.sysclass

Definition at line 302 of file docker.py.


The documentation for this class was generated from the following file: