2 smap_devinfo - SIP Device Information
4 (c) 2009 Daniel Dickinson
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
18 require("luci.model.uci")
19 require("luci.controller.luci_diag.smap_common")
20 require("luci.controller.luci_diag.devinfo_common")
24 m = SimpleForm("luci-smap-to-devinfo", translate("SIP Device Information"), translate("Scan for supported SIP devices on specified networks."))
28 local outnets = luci.controller.luci_diag.smap_common.get_params()
29 luci.controller.luci_diag.devinfo_common.run_processes(outnets, luci.controller.luci_diag.smap_common.command_function)
30 luci.controller.luci_diag.devinfo_common.parse_output(m, outnets, true, "smap", false, debug)
31 luci.controller.luci_diag.smap_common.action_links(m, false)