diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-04-11 02:17:19 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-04-11 02:17:19 +0000 |
commit | 7c43e1e53cb1f9bd0d47be6095ab34d462a27cbb (patch) | |
tree | f0fe3251da379397b24c73d6410ee286d3bf60ef /opennhrp-model.lua | |
parent | a3b838873fd04b83285fe3f955d012d5a0da71c5 (diff) | |
download | acf-opennhrp-7c43e1e53cb1f9bd0d47be6095ab34d462a27cbb.tar.bz2 acf-opennhrp-7c43e1e53cb1f9bd0d47be6095ab34d462a27cbb.tar.xz |
Changes to use new htmlviewfunctions functions
Diffstat (limited to 'opennhrp-model.lua')
-rw-r--r-- | opennhrp-model.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/opennhrp-model.lua b/opennhrp-model.lua index c9a8e4c..1fa81bd 100644 --- a/opennhrp-model.lua +++ b/opennhrp-model.lua @@ -220,10 +220,10 @@ end function mymodule.getinterfacedetails(interface) local details = {} - details.interface = cfe({ value=interface, label="Interface" }) - details.type = cfe({ type="select", value="Unused", label="Interface type", option={"Unused", "NHRP Enabled", "Shortcut Destination"} }) - details.map = cfe({ type="list", value={}, label="Static Peers", descr="List of static peer mappings of protocol-address to nbma-address. Optional 'register' parameter specifies Registration Request sent to this peer on startup. If the statically mapped peer is running Cisco IOS, specify the cisco keyword. (protocol-address[/prefix] nbma-address [register] [cisco])" }) - details["dynamic-map"] = cfe({ type="list", value={}, label="Dynamic Peers", descr="List of dynamic peer mappings of protocol-address to nbma-domain-name. For each A record in the domain nbma-domain-name, opennhrp creates a dynamic NHS entry. (protocol-address/prefix nbma-domain-name)" }) + details.interface = cfe({ readonly=true, value=interface, label="Interface", seq=1 }) + details.type = cfe({ type="select", value="Unused", label="Interface type", option={"Unused", "NHRP Enabled", "Shortcut Destination"}, seq=2 }) + details.map = cfe({ type="list", value={}, label="Static Peers", descr="List of static peer mappings of protocol-address to nbma-address. Optional 'register' parameter specifies Registration Request sent to this peer on startup. If the statically mapped peer is running Cisco IOS, specify the cisco keyword. (protocol-address[/prefix] nbma-address [register] [cisco])", seq=3 }) + details["dynamic-map"] = cfe({ type="list", value={}, label="Dynamic Peers", descr="List of dynamic peer mappings of protocol-address to nbma-domain-name. For each A record in the domain nbma-domain-name, opennhrp creates a dynamic NHS entry. (protocol-address/prefix nbma-domain-name)", seq=4 }) configfilecontent = configfilecontent or fs.read_file(configfile) or "" config = config or parseconfigfile(configfilecontent) |