예제 #1
0
 def configuration(self):
     config = Exporter.configuration(self)
     map_from_attribute(self, "period", config, map_from_seconds)
     get_attribute(self, "connection_node", config)
     get_attribute(self, "debug", config, str)
     get_attribute(self, "connection_attempts", config)
     get_attribute(self, "timeout", config)
     get_attribute(self, "always_export", config, str)
     get_attribute(self, "synchronize_on", config)
     get_attribute(self, "breakup_on_period", config, str)
     return config
예제 #2
0
 def configuration(self):
     config = Exporter.configuration(self)
     map_from_attribute(self, 'period', config, map_from_seconds)
     get_attribute(self, 'connection_node', config)
     get_attribute(self, 'debug', config, str)
     get_attribute(self, 'connection_attempts', config)
     get_attribute(self, 'timeout', config)
     get_attribute(self, 'always_export', config, str)
     get_attribute(self, 'synchronize_on', config)
     get_attribute(self, 'breakup_on_period', config, str)
     return config
예제 #3
0
 def configuration( self ):
     config_dict = ConfigurableNode.configuration( self )
     get_attribute( self, 'enable', config_dict )
     get_attribute( self, 'debug', config_dict )
     
     get_attribute( self, 'ddns_service', config_dict )
     get_attribute( self, 'ddns_acct', config_dict )
     get_attribute( self, 'ddns_pswd', config_dict )
     get_attribute( self, 'host_name', config_dict )
     map_from_attribute( self, 'period', config_dict, map_from_seconds )
     
     return config_dict