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")
22 m = SimpleForm("luci-smap-to-devinfo", translate("l_d_d_sd_smap_to_devinfo"), translate("l_d_d_sd_smap_to_devinfo_descr"))
26 local outnets = luci.controller.luci_diag.smap_common.get_params()
27 luci.controller.luci_diag.devinfo_common.run_processes(outnets, luci.controller.luci_diag.smap_common.command_function)
28 luci.controller.luci_diag.devinfo_common.parse_output(m, outnets, true, "smap", false, debug)
29 luci.controller.luci_diag.smap_common.action_links(m, false)