Example #1
0
 def __init__(self, address, authkey, profile):
     if not profile['type'] == 'wlan':
         raise Exception('not a wlan profile: %s' % profile)
     RemoteSession.__init__(self, address, authkey, profile)
Example #2
0
 def __init__(self, address, authkey, profile):
     if not profile['type'] == 'testdrive':
         raise Exception('not a testdrive profile: %s' % profile)
     RemoteSession.__init__(self, address, authkey, profile)
Example #3
0
 def __init__(self, address, authkey, profile):
     if not profile['type'] == 'beryllium':
         raise Exception('not a beryllium profile: %s' % profile)
     RemoteSession.__init__(self, address, authkey, profile)
Example #4
0
 def __init__(self, address, authkey, profile):
     if not profile['type'] == 'powermeter':
         raise Exception('not a powermeter profile: %s' % profile)
     RemoteSession.__init__(self, address, authkey, profile)