Ejemplo n.º 1
0
    def _GET(self, *param, **params):
        host_id = self.chk_hostby1(param)
        if host_id is None: return web.notfound()
        self.view.host_id = host_id

        config = LogViewConfigParam(LOG_VIEW_XML_FILE)
        config.load_xml_config()
        self.view.apps = config.get_applications()
        return True
Ejemplo n.º 2
0
    def _GET(self, *param, **params):
        host_id = self.chk_hostby1(param)
        if host_id is None: return web.notfound()
        self.view.host_id = host_id

        config = LogViewConfigParam(LOG_VIEW_XML_FILE)
        config.load_xml_config()
        self.view.apps = config.get_applications()
        return True