Example #1
0
 def startClickys(self):
     "Start clicky for each VNF."
     if 'DISPLAY' not in os.environ:
         error("Error starting clicky: Cannot connect to display\n")
         return
     info("*** Running clicky on %s\n" % os.environ['DISPLAY'])
     cleanUpScreens()
     self.clickys += makeClickys(self.ees, 'vnf')
Example #2
0
 def startClickys( self ):
     "Start clicky for each VNF."
     if 'DISPLAY' not in os.environ:
         error( "Error starting clicky: Cannot connect to display\n" )
         return
     info( "*** Running clicky on %s\n" % os.environ[ 'DISPLAY' ] )
     cleanUpScreens()
     self.clickys += makeClickys( self.ees, 'vnf' )
Example #3
0
 def do_clicky( self, line, clickgui='clicky' ):
     "Spawn clicky GUIs for the given node(s)."
     args = line.split()
     if not args:
         error( 'usage: %s node1 node2 ...\n' % clickgui )
     else:
         for arg in args:
             if arg not in self.mn:
                 error( "node '%s' not in network\n" % arg )
             else:
                 node = self.mn[ arg ]
                 self.mn.clickys += makeClickys( [ node ], clickgui = clickgui )