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