Beispiel #1
0
 def configure(self, config):
     set_attribute(self, "serial", "000300", config)
     set_attribute(self, "interface", "eth0", config)
     FTPTransporter.configure(self, config)
Beispiel #2
0
 def configuration(self):
     config = FTPTransporter.configuration(self)
     get_attribute(self, 'interface', config)
     get_attribute(self, 'serial', config)
     return config
Beispiel #3
0
 def configuration(self):
     config = FTPTransporter.configuration(self)
     get_attribute(self, "interface", config)
     get_attribute(self, "serial", config)
     return config
Beispiel #4
0
 def configure(self, config):
     set_attribute(self, 'serial', '000300', config)
     set_attribute(self, 'interface', 'eth0', config)
     FTPTransporter.configure(self, config)