diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2018-01-20 15:42:53 +0200 |
---|---|---|
committer | Hannu Nyman <hannu.nyman@iki.fi> | 2018-01-20 15:42:53 +0200 |
commit | 6a8ee26207a8d085c91919d4b056bc2fae524069 (patch) | |
tree | 6252a633461e0a7fa6bd0241f47aec295868d8b1 /applications/luci-app-diag-devinfo/luasrc/model | |
parent | 5cc9df99e5dafb14c509afb53be5ad9bd99bd3b8 (diff) |
luci-app-diag-devinfo: remove from repo
Remove luci-app-diag-devinfo as it has been BROKEN since 2015 due to
several dependencies to packages in oldpackages or abandoned
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'applications/luci-app-diag-devinfo/luasrc/model')
9 files changed, 0 insertions, 244 deletions
diff --git a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/mactodevinfo.lua b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/mactodevinfo.lua deleted file mode 100644 index 2ecb359aea..0000000000 --- a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/mactodevinfo.lua +++ /dev/null @@ -1,25 +0,0 @@ --- Copyright 2009 Daniel Dickinson --- Licensed to the public under the Apache License 2.0. - -m = Map("mactodevinfo", luci.i18n.translate("MAC Device Info Overrides"), translate("Override the information returned by the MAC to Device Info Script (mac-to-devinfo) for a specified range of MAC Addresses")) - -s = m:section(TypedSection, "mactodevinfo", translate("MAC Device Override"), translate("MAC range and information used to override system and IEEE databases")) -s.addremove = true -s.anonymous = true - -v = s:option(Value, "name", translate("Name")) -v.optional = true -v = s:option(Value, "maclow", translate("Beginning of MAC address range")) -v.optional = false -v = s:option(Value, "machigh", translate("End of MAC address range")) -v.optional = false -v = s:option(Value, "vendor", translate("Vendor")) -v.optional = false -v = s:option(Value, "devtype", translate("Device Type")) -v.optional = false -v = s:option(Value, "model", translate("Model")) -v.optional = false -v = s:option(Value, "ouiowneroverride", translate("OUI Owner")) -v.optional = true - -return m diff --git a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo.lua b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo.lua deleted file mode 100644 index 535c46ba7b..0000000000 --- a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo.lua +++ /dev/null @@ -1,33 +0,0 @@ ---[[ -netdiscover_devinfo - SIP Device Information - -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- - -require("luci.i18n") -require("luci.util") -require("luci.sys") -require("luci.model.uci") -require("luci.controller.luci_diag.netdiscover_common") -require("luci.controller.luci_diag.devinfo_common") - -local debug = false - -m = SimpleForm("luci_devinfo", translate("Network Device Scan"), translate("Scans for devices on specified networks.")) -m.reset = false -m.submit = false - -local outnets = luci.controller.luci_diag.netdiscover_common.get_params() -luci.controller.luci_diag.devinfo_common.run_processes(outnets, luci.controller.luci_diag.netdiscover_common.command_function) -luci.controller.luci_diag.devinfo_common.parse_output(m, outnets, false, "netdiscover", false, debug) -luci.controller.luci_diag.netdiscover_common.action_links(m, false) - -return m diff --git a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_config.lua b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_config.lua deleted file mode 100644 index ea8a64eced..0000000000 --- a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_config.lua +++ /dev/null @@ -1,19 +0,0 @@ --- Copyright 2009 Daniel Dickinson --- Licensed to the public under the Apache License 2.0. - -require("luci.controller.luci_diag.devinfo_common") - -m = Map("luci_devinfo", translate("Network Device Scanning Configuration"), translate("Configure scanning for devices on specified networks. Decreasing \'Timeout\', \'Repeat Count\', and/or \'Sleep Between Requests\' may speed up scans, but also may fail to find some devices.")) - -s = m:section(SimpleSection, "", translate("Use Configuration")) -b = s:option(DummyValue, "_scans", translate("Perform Scans (this can take a few minutes)")) -b.value = "" -b.titleref = luci.dispatcher.build_url("admin", "status", "netdiscover_devinfo") - -scannet = m:section(TypedSection, "netdiscover_scannet", translate("Scanning Configuration"), translate("Networks to scan for devices")) -scannet.addremove = true -scannet.anonymous = false - -luci.controller.luci_diag.devinfo_common.config_devinfo_scan(m, scannet) - -return m diff --git a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_config_mini.lua b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_config_mini.lua deleted file mode 100644 index 6d89bd668a..0000000000 --- a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_config_mini.lua +++ /dev/null @@ -1,19 +0,0 @@ --- Copyright 2009 Daniel Dickinson --- Licensed to the public under the Apache License 2.0. - -require("luci.controller.luci_diag.devinfo_common") - -m = Map("luci_devinfo", translate("Network Device Scanning Configuration"), translate("Configure scanning for devices on specified networks. Decreasing \'Timeout\', \'Repeat Count\', and/or \'Sleep Between Requests\' may speed up scans, but also may fail to find some devices.")) - -s = m:section(SimpleSection, "", translate("Use Configuration")) -b = s:option(DummyValue, "_scans", translate("Perform Scans (this can take a few minutes)")) -b.value = "" -b.titleref = luci.dispatcher.build_url("mini", "diag", "netdiscover_devinfo") - -scannet = m:section(TypedSection, "netdiscover_scannet", translate("Scanning Configuration"), translate("Networks to scan for devices")) -scannet.addremove = true -scannet.anonymous = false - -luci.controller.luci_diag.devinfo_common.config_devinfo_scan(m, scannet) - -return m diff --git a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_mini.lua b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_mini.lua deleted file mode 100644 index 271c114d2b..0000000000 --- a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_mini.lua +++ /dev/null @@ -1,33 +0,0 @@ ---[[ -netdiscover_devinfo - SIP Device Information - -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- - -require("luci.i18n") -require("luci.util") -require("luci.sys") -require("luci.model.uci") -require("luci.controller.luci_diag.netdiscover_common") -require("luci.controller.luci_diag.devinfo_common") - -local debug = false - -m = SimpleForm("luci_devinfo", translate("Network Device Scan"), translate("Scan for devices on specified networks.")) -m.reset = false -m.submit = false - -local outnets = luci.controller.luci_diag.netdiscover_common.get_params() -luci.controller.luci_diag.devinfo_common.run_processes(outnets, luci.controller.luci_diag.netdiscover_common.command_function) -luci.controller.luci_diag.devinfo_common.parse_output(m, outnets, false, "netdiscover", true, debug) -luci.controller.luci_diag.netdiscover_common.action_links(m, true) - -return m diff --git a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua deleted file mode 100644 index ff808d9ef7..0000000000 --- a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua +++ /dev/null @@ -1,33 +0,0 @@ ---[[ -smap_devinfo - SIP Device Information - -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- - -require("luci.i18n") -require("luci.util") -require("luci.sys") -require("luci.model.uci") -require("luci.controller.luci_diag.smap_common") -require("luci.controller.luci_diag.devinfo_common") - -local debug = false - -m = SimpleForm("luci-smap-to-devinfo", translate("SIP Device Information"), translate("Scan for supported SIP devices on specified networks.")) -m.reset = false -m.submit = false - -local outnets = luci.controller.luci_diag.smap_common.get_params() -luci.controller.luci_diag.devinfo_common.run_processes(outnets, luci.controller.luci_diag.smap_common.command_function) -luci.controller.luci_diag.devinfo_common.parse_output(m, outnets, true, "smap", false, debug) -luci.controller.luci_diag.smap_common.action_links(m, false) - -return m diff --git a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config.lua b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config.lua deleted file mode 100644 index aab2406161..0000000000 --- a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config.lua +++ /dev/null @@ -1,24 +0,0 @@ --- Copyright 2009 Daniel Dickinson --- Licensed to the public under the Apache License 2.0. - -require("luci.controller.luci_diag.devinfo_common") - -m = Map("luci_devinfo", translate("SIP Device Scanning Configuration"), translate("Configure scanning for supported SIP devices on specified networks. Decreasing \'Timeout\', \'Repeat Count\', and/or \'Sleep Between Requests\' may speed up scans, but also may fail to find some devices.")) - -s = m:section(SimpleSection, "", translate("Use Configuration")) -b = s:option(DummyValue, "_scans", translate("Perform Scans (this can take a few minutes)")) -b.value = "" -b.titleref = luci.dispatcher.build_url("admin", "status", "smap_devinfo") - -scannet = m:section(TypedSection, "smap_scannet", translate("Scanning Configuration"), translate("Networks to scan for supported devices")) -scannet.addremove = true -scannet.anonymous = false - -local ports -ports = scannet:option(Value, "ports", translate("Ports")) -ports.optional = true -ports.rmempty = true - -luci.controller.luci_diag.devinfo_common.config_devinfo_scan(m, scannet) - -return m diff --git a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config_mini.lua b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config_mini.lua deleted file mode 100644 index 01fc9b56cc..0000000000 --- a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config_mini.lua +++ /dev/null @@ -1,25 +0,0 @@ --- Copyright 2009 Daniel Dickinson --- Licensed to the public under the Apache License 2.0. - -require("luci.controller.luci_diag.devinfo_common") - -m = Map("luci_devinfo", translate("Phone Scanning Configuration"), translate("Configure scanning for supported SIP devices on specified networks. Decreasing \'Timeout\', \'Repeat Count\', and/or \'Sleep Between Requests\' may speed up scans, but also may fail to find some devices.")) - -s = m:section(SimpleSection, "", translate("Use Configuration")) -b = s:option(DummyValue, "_scans", translate("Perform Scans (this can take a few minutes)")) -b.value = "" -b.titleref = luci.dispatcher.build_url("mini", "diag", "phone_scan") - -scannet = m:section(TypedSection, "smap_scannet", translate("Scanning Configuration"), translate("Networks to scan for supported devices")) -scannet.addremove = true -scannet.anonymous = false - -local ports -ports = scannet:option(Value, "ports", translate("Ports")) -ports.optional = true -ports.rmempty = true - -luci.controller.luci_diag.devinfo_common.config_devinfo_scan(m, scannet) - - -return m diff --git a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua deleted file mode 100644 index 5b7bb0f0a4..0000000000 --- a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua +++ /dev/null @@ -1,33 +0,0 @@ ---[[ -smap_devinfo - SIP Device Information - -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- - -require("luci.i18n") -require("luci.util") -require("luci.sys") -require("luci.model.uci") -require("luci.controller.luci_diag.smap_common") -require("luci.controller.luci_diag.devinfo_common") - -local debug = false - -m = SimpleForm("luci-smap-to-devinfo", translate("Phone Information"), translate("Scan for supported SIP devices on specified networks.")) -m.reset = false -m.submit = false - -local outnets = luci.controller.luci_diag.smap_common.get_params() -luci.controller.luci_diag.devinfo_common.run_processes(outnets, luci.controller.luci_diag.smap_common.command_function) -luci.controller.luci_diag.devinfo_common.parse_output(m, outnets, true, "smap", true, debug) -luci.controller.luci_diag.smap_common.action_links(m, true) - -return m |