def _wca_setup_expert(self, config):
     """
     Starts the WebConfigurationAssist and
     sets the values provided by the expert-mode(in the WebConfiguration)
     :param config: {node_name, mesh_vpn, limit_bandwidth, show_location, latitude, longitude, altitude, contact,...}
     """
     try:
         # remote_sytem has to be a router object
         wca = WebConfigurationAssist(config, self.router)
         wca.setup_expert_private_wlan()
         wca.setup_expert_remote_access()
         wca.setup_expert_network()
         wca.setup_expert_mesh_vpn()
         wca.setup_expert_wlan()
         wca.setup_expert_autoupdate()
     except Exception as e:
         logging.error("%s" + str(e), LoggerSetup.get_log_deep(2))
         raise e
Пример #2
0
 def _wca_setup_expert(self, config):
     """
     Starts the WebConfigurationAssist and
     sets the values provided by the expert-mode(in the WebConfiguration)
     :param config: {node_name, mesh_vpn, limit_bandwidth, show_location, latitude, longitude, altitude, contact,...}
     """
     try:
         # remote_sytem has to be a router object
         wca = WebConfigurationAssist(config, self.router)
         wca.setup_expert_private_wlan()
         wca.setup_expert_remote_access()
         wca.setup_expert_network()
         wca.setup_expert_mesh_vpn()
         wca.setup_expert_wlan()
         wca.setup_expert_autoupdate()
     except Exception as e:
         Logger().error(str(e), 2)
         raise e