summaryrefslogtreecommitdiffhomepage
path: root/docs/jsapi/LuCI.Network.Protocol.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/jsapi/LuCI.Network.Protocol.html')
-rw-r--r--docs/jsapi/LuCI.Network.Protocol.html944
1 files changed, 904 insertions, 40 deletions
diff --git a/docs/jsapi/LuCI.Network.Protocol.html b/docs/jsapi/LuCI.Network.Protocol.html
index d6dd78cb89..c104314ec6 100644
--- a/docs/jsapi/LuCI.Network.Protocol.html
+++ b/docs/jsapi/LuCI.Network.Protocol.html
@@ -498,6 +498,8 @@
<li data-name="LuCI.Network.Protocol#containsDevice"><a href="LuCI.Network.Protocol.html#containsDevice">containsDevice</a></li>
+ <li data-name="LuCI.Network.Protocol#deleteConfiguration"><a href="LuCI.Network.Protocol.html#deleteConfiguration">deleteConfiguration</a></li>
+
<li data-name="LuCI.Network.Protocol#deleteDevice"><a href="LuCI.Network.Protocol.html#deleteDevice">deleteDevice</a></li>
<li data-name="LuCI.Network.Protocol#get"><a href="LuCI.Network.Protocol.html#get">get</a></li>
@@ -556,6 +558,8 @@
<li data-name="LuCI.Network.Protocol#isBridge"><a href="LuCI.Network.Protocol.html#isBridge">isBridge</a></li>
+ <li data-name="LuCI.Network.Protocol#isCreateable"><a href="LuCI.Network.Protocol.html#isCreateable">isCreateable</a></li>
+
<li data-name="LuCI.Network.Protocol#isDynamic"><a href="LuCI.Network.Protocol.html#isDynamic">isDynamic</a></li>
<li data-name="LuCI.Network.Protocol#isEmpty"><a href="LuCI.Network.Protocol.html#isEmpty">isEmpty</a></li>
@@ -1002,6 +1006,610 @@
</ul>
</li>
+ <li class="item" data-name="LuCI.ui">
+ <span class="title">
+ <a href="LuCI.ui.html">LuCI.ui</a>
+
+ </span>
+ <ul class="members itemMembers">
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ <span class="subtitle">Typedefs</span>
+
+ <li data-name="LuCI.ui.FileUploadReply"><a href="LuCI.ui.html#.FileUploadReply">FileUploadReply</a></li>
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ </ul>
+ <ul class="methods itemMembers">
+
+ <span class="subtitle">Methods</span>
+
+ <li data-name="LuCI.ui#addNotification"><a href="LuCI.ui.html#addNotification">addNotification</a></li>
+
+ <li data-name="LuCI.ui#addValidator"><a href="LuCI.ui.html#addValidator">addValidator</a></li>
+
+ <li data-name="LuCI.ui#awaitReconnect"><a href="LuCI.ui.html#awaitReconnect">awaitReconnect</a></li>
+
+ <li data-name="LuCI.ui#createHandlerFn"><a href="LuCI.ui.html#createHandlerFn">createHandlerFn</a></li>
+
+ <li data-name="LuCI.ui#hideIndicator"><a href="LuCI.ui.html#hideIndicator">hideIndicator</a></li>
+
+ <li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
+
+ <li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
+
+ <li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
+
+ <li data-name="LuCI.ui#showIndicator"><a href="LuCI.ui.html#showIndicator">showIndicator</a></li>
+
+ <li data-name="LuCI.ui#showModal"><a href="LuCI.ui.html#showModal">showModal</a></li>
+
+ <li data-name="LuCI.ui#uploadFile"><a href="LuCI.ui.html#uploadFile">uploadFile</a></li>
+
+ </ul>
+ <ul class="events itemMembers">
+
+ </ul>
+ </li>
+
+ <li class="item" data-name="LuCI.ui.AbstractElement">
+ <span class="title">
+ <a href="LuCI.ui.AbstractElement.html">LuCI.ui.AbstractElement</a>
+
+ </span>
+ <ul class="members itemMembers">
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ <span class="subtitle">Typedefs</span>
+
+ <li data-name="LuCI.ui.AbstractElement.InitOptions"><a href="LuCI.ui.AbstractElement.html#.InitOptions">InitOptions</a></li>
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ </ul>
+ <ul class="methods itemMembers">
+
+ <span class="subtitle">Methods</span>
+
+ <li data-name="LuCI.ui.AbstractElement#getValue"><a href="LuCI.ui.AbstractElement.html#getValue">getValue</a></li>
+
+ <li data-name="LuCI.ui.AbstractElement#isValid"><a href="LuCI.ui.AbstractElement.html#isValid">isValid</a></li>
+
+ <li data-name="LuCI.ui.AbstractElement#registerEvents"><a href="LuCI.ui.AbstractElement.html#registerEvents">registerEvents</a></li>
+
+ <li data-name="LuCI.ui.AbstractElement#render"><a href="LuCI.ui.AbstractElement.html#render">render</a></li>
+
+ <li data-name="LuCI.ui.AbstractElement#setChangeEvents"><a href="LuCI.ui.AbstractElement.html#setChangeEvents">setChangeEvents</a></li>
+
+ <li data-name="LuCI.ui.AbstractElement#setUpdateEvents"><a href="LuCI.ui.AbstractElement.html#setUpdateEvents">setUpdateEvents</a></li>
+
+ <li data-name="LuCI.ui.AbstractElement#setValue"><a href="LuCI.ui.AbstractElement.html#setValue">setValue</a></li>
+
+ <li data-name="LuCI.ui.AbstractElement#triggerValidation"><a href="LuCI.ui.AbstractElement.html#triggerValidation">triggerValidation</a></li>
+
+ </ul>
+ <ul class="events itemMembers">
+
+ </ul>
+ </li>
+
+ <li class="item" data-name="LuCI.ui.changes">
+ <span class="title">
+ <a href="LuCI.ui.changes.html">LuCI.ui.changes</a>
+
+ </span>
+ <ul class="members itemMembers">
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ </ul>
+ <ul class="methods itemMembers">
+
+ <span class="subtitle">Methods</span>
+
+ <li data-name="LuCI.ui.changes#apply"><a href="LuCI.ui.changes.html#apply">apply</a></li>
+
+ <li data-name="LuCI.ui.changes#displayChanges"><a href="LuCI.ui.changes.html#displayChanges">displayChanges</a></li>
+
+ <li data-name="LuCI.ui.changes#renderChangeIndicator"><a href="LuCI.ui.changes.html#renderChangeIndicator">renderChangeIndicator</a></li>
+
+ <li data-name="LuCI.ui.changes#revert"><a href="LuCI.ui.changes.html#revert">revert</a></li>
+
+ <li data-name="LuCI.ui.changes#setIndicator"><a href="LuCI.ui.changes.html#setIndicator">setIndicator</a></li>
+
+ </ul>
+ <ul class="events itemMembers">
+
+ </ul>
+ </li>
+
+ <li class="item" data-name="LuCI.ui.Checkbox">
+ <span class="title">
+ <a href="LuCI.ui.Checkbox.html">LuCI.ui.Checkbox</a>
+
+ </span>
+ <ul class="members itemMembers">
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ <span class="subtitle">Typedefs</span>
+
+ <li data-name="LuCI.ui.Checkbox.InitOptions"><a href="LuCI.ui.Checkbox.html#.InitOptions">InitOptions</a></li>
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ </ul>
+ <ul class="methods itemMembers">
+
+ <span class="subtitle">Methods</span>
+
+ <li data-name="LuCI.ui.Checkbox#getValue"><a href="LuCI.ui.Checkbox.html#getValue">getValue</a></li>
+
+ <li data-name="LuCI.ui.Checkbox#isChecked"><a href="LuCI.ui.Checkbox.html#isChecked">isChecked</a></li>
+
+ <li data-name="LuCI.ui.Checkbox#isValid"><a href="LuCI.ui.Checkbox.html#isValid">isValid</a></li>
+
+ <li data-name="LuCI.ui.Checkbox#registerEvents"><a href="LuCI.ui.Checkbox.html#registerEvents">registerEvents</a></li>
+
+ <li data-name="LuCI.ui.Checkbox#render"><a href="LuCI.ui.Checkbox.html#render">render</a></li>
+
+ <li data-name="LuCI.ui.Checkbox#setChangeEvents"><a href="LuCI.ui.Checkbox.html#setChangeEvents">setChangeEvents</a></li>
+
+ <li data-name="LuCI.ui.Checkbox#setUpdateEvents"><a href="LuCI.ui.Checkbox.html#setUpdateEvents">setUpdateEvents</a></li>
+
+ <li data-name="LuCI.ui.Checkbox#setValue"><a href="LuCI.ui.Checkbox.html#setValue">setValue</a></li>
+
+ <li data-name="LuCI.ui.Checkbox#triggerValidation"><a href="LuCI.ui.Checkbox.html#triggerValidation">triggerValidation</a></li>
+
+ </ul>
+ <ul class="events itemMembers">
+
+ </ul>
+ </li>
+
+ <li class="item" data-name="LuCI.ui.Combobox">
+ <span class="title">
+ <a href="LuCI.ui.Combobox.html">LuCI.ui.Combobox</a>
+
+ </span>
+ <ul class="members itemMembers">
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ <span class="subtitle">Typedefs</span>
+
+ <li data-name="LuCI.ui.Combobox.InitOptions"><a href="LuCI.ui.Combobox.html#.InitOptions">InitOptions</a></li>
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ </ul>
+ <ul class="methods itemMembers">
+
+ <span class="subtitle">Methods</span>
+
+ <li data-name="LuCI.ui.Combobox#addChoices"><a href="LuCI.ui.Combobox.html#addChoices">addChoices</a></li>
+
+ <li data-name="LuCI.ui.Combobox#clearChoices"><a href="LuCI.ui.Combobox.html#clearChoices">clearChoices</a></li>
+
+ <li data-name="LuCI.ui.Combobox#closeAllDropdowns"><a href="LuCI.ui.Combobox.html#closeAllDropdowns">closeAllDropdowns</a></li>
+
+ <li data-name="LuCI.ui.Combobox#isValid"><a href="LuCI.ui.Combobox.html#isValid">isValid</a></li>
+
+ <li data-name="LuCI.ui.Combobox#registerEvents"><a href="LuCI.ui.Combobox.html#registerEvents">registerEvents</a></li>
+
+ <li data-name="LuCI.ui.Combobox#setChangeEvents"><a href="LuCI.ui.Combobox.html#setChangeEvents">setChangeEvents</a></li>
+
+ <li data-name="LuCI.ui.Combobox#setUpdateEvents"><a href="LuCI.ui.Combobox.html#setUpdateEvents">setUpdateEvents</a></li>
+
+ <li data-name="LuCI.ui.Combobox#triggerValidation"><a href="LuCI.ui.Combobox.html#triggerValidation">triggerValidation</a></li>
+
+ </ul>
+ <ul class="events itemMembers">
+
+ </ul>
+ </li>
+
+ <li class="item" data-name="LuCI.ui.ComboButton">
+ <span class="title">
+ <a href="LuCI.ui.ComboButton.html">LuCI.ui.ComboButton</a>
+
+ </span>
+ <ul class="members itemMembers">
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ <span class="subtitle">Typedefs</span>
+
+ <li data-name="LuCI.ui.ComboButton.InitOptions"><a href="LuCI.ui.ComboButton.html#.InitOptions">InitOptions</a></li>
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ </ul>
+ <ul class="methods itemMembers">
+
+ <span class="subtitle">Methods</span>
+
+ <li data-name="LuCI.ui.ComboButton#addChoices"><a href="LuCI.ui.ComboButton.html#addChoices">addChoices</a></li>
+
+ <li data-name="LuCI.ui.ComboButton#clearChoices"><a href="LuCI.ui.ComboButton.html#clearChoices">clearChoices</a></li>
+
+ <li data-name="LuCI.ui.ComboButton#closeAllDropdowns"><a href="LuCI.ui.ComboButton.html#closeAllDropdowns">closeAllDropdowns</a></li>
+
+ <li data-name="LuCI.ui.ComboButton#isValid"><a href="LuCI.ui.ComboButton.html#isValid">isValid</a></li>
+
+ <li data-name="LuCI.ui.ComboButton#registerEvents"><a href="LuCI.ui.ComboButton.html#registerEvents">registerEvents</a></li>
+
+ <li data-name="LuCI.ui.ComboButton#setChangeEvents"><a href="LuCI.ui.ComboButton.html#setChangeEvents">setChangeEvents</a></li>
+
+ <li data-name="LuCI.ui.ComboButton#setUpdateEvents"><a href="LuCI.ui.ComboButton.html#setUpdateEvents">setUpdateEvents</a></li>
+
+ <li data-name="LuCI.ui.ComboButton#triggerValidation"><a href="LuCI.ui.ComboButton.html#triggerValidation">triggerValidation</a></li>
+
+ </ul>
+ <ul class="events itemMembers">
+
+ </ul>
+ </li>
+
+ <li class="item" data-name="LuCI.ui.Dropdown">
+ <span class="title">
+ <a href="LuCI.ui.Dropdown.html">LuCI.ui.Dropdown</a>
+
+ </span>
+ <ul class="members itemMembers">
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ <span class="subtitle">Typedefs</span>
+
+ <li data-name="LuCI.ui.Dropdown.InitOptions"><a href="LuCI.ui.Dropdown.html#.InitOptions">InitOptions</a></li>
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ </ul>
+ <ul class="methods itemMembers">
+
+ <span class="subtitle">Methods</span>
+
+ <li data-name="LuCI.ui.Dropdown#addChoices"><a href="LuCI.ui.Dropdown.html#addChoices">addChoices</a></li>
+
+ <li data-name="LuCI.ui.Dropdown#clearChoices"><a href="LuCI.ui.Dropdown.html#clearChoices">clearChoices</a></li>
+
+ <li data-name="LuCI.ui.Dropdown#closeAllDropdowns"><a href="LuCI.ui.Dropdown.html#closeAllDropdowns">closeAllDropdowns</a></li>
+
+ <li data-name="LuCI.ui.Dropdown#getValue"><a href="LuCI.ui.Dropdown.html#getValue">getValue</a></li>
+
+ <li data-name="LuCI.ui.Dropdown#isValid"><a href="LuCI.ui.Dropdown.html#isValid">isValid</a></li>
+
+ <li data-name="LuCI.ui.Dropdown#registerEvents"><a href="LuCI.ui.Dropdown.html#registerEvents">registerEvents</a></li>
+
+ <li data-name="LuCI.ui.Dropdown#render"><a href="LuCI.ui.Dropdown.html#render">render</a></li>
+
+ <li data-name="LuCI.ui.Dropdown#setChangeEvents"><a href="LuCI.ui.Dropdown.html#setChangeEvents">setChangeEvents</a></li>
+
+ <li data-name="LuCI.ui.Dropdown#setUpdateEvents"><a href="LuCI.ui.Dropdown.html#setUpdateEvents">setUpdateEvents</a></li>
+
+ <li data-name="LuCI.ui.Dropdown#setValue"><a href="LuCI.ui.Dropdown.html#setValue">setValue</a></li>
+
+ <li data-name="LuCI.ui.Dropdown#triggerValidation"><a href="LuCI.ui.Dropdown.html#triggerValidation">triggerValidation</a></li>
+
+ </ul>
+ <ul class="events itemMembers">
+
+ </ul>
+ </li>
+
+ <li class="item" data-name="LuCI.ui.DynamicList">
+ <span class="title">
+ <a href="LuCI.ui.DynamicList.html">LuCI.ui.DynamicList</a>
+
+ </span>
+ <ul class="members itemMembers">
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ <span class="subtitle">Typedefs</span>
+
+ <li data-name="LuCI.ui.DynamicList.InitOptions"><a href="LuCI.ui.DynamicList.html#.InitOptions">InitOptions</a></li>
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ </ul>
+ <ul class="methods itemMembers">
+
+ <span class="subtitle">Methods</span>
+
+ <li data-name="LuCI.ui.DynamicList#addChoices"><a href="LuCI.ui.DynamicList.html#addChoices">addChoices</a></li>
+
+ <li data-name="LuCI.ui.DynamicList#clearChoices"><a href="LuCI.ui.DynamicList.html#clearChoices">clearChoices</a></li>
+
+ <li data-name="LuCI.ui.DynamicList#getValue"><a href="LuCI.ui.DynamicList.html#getValue">getValue</a></li>
+
+ <li data-name="LuCI.ui.DynamicList#isValid"><a href="LuCI.ui.DynamicList.html#isValid">isValid</a></li>
+
+ <li data-name="LuCI.ui.DynamicList#registerEvents"><a href="LuCI.ui.DynamicList.html#registerEvents">registerEvents</a></li>
+
+ <li data-name="LuCI.ui.DynamicList#render"><a href="LuCI.ui.DynamicList.html#render">render</a></li>
+
+ <li data-name="LuCI.ui.DynamicList#setChangeEvents"><a href="LuCI.ui.DynamicList.html#setChangeEvents">setChangeEvents</a></li>
+
+ <li data-name="LuCI.ui.DynamicList#setUpdateEvents"><a href="LuCI.ui.DynamicList.html#setUpdateEvents">setUpdateEvents</a></li>
+
+ <li data-name="LuCI.ui.DynamicList#setValue"><a href="LuCI.ui.DynamicList.html#setValue">setValue</a></li>
+
+ <li data-name="LuCI.ui.DynamicList#triggerValidation"><a href="LuCI.ui.DynamicList.html#triggerValidation">triggerValidation</a></li>
+
+ </ul>
+ <ul class="events itemMembers">
+
+ </ul>
+ </li>
+
+ <li class="item" data-name="LuCI.ui.FileUpload">
+ <span class="title">
+ <a href="LuCI.ui.FileUpload.html">LuCI.ui.FileUpload</a>
+
+ </span>
+ <ul class="members itemMembers">
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ <span class="subtitle">Typedefs</span>
+
+ <li data-name="LuCI.ui.FileUpload.InitOptions"><a href="LuCI.ui.FileUpload.html#.InitOptions">InitOptions</a></li>
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ </ul>
+ <ul class="methods itemMembers">
+
+ <span class="subtitle">Methods</span>
+
+ <li data-name="LuCI.ui.FileUpload#getValue"><a href="LuCI.ui.FileUpload.html#getValue">getValue</a></li>
+
+ <li data-name="LuCI.ui.FileUpload#isValid"><a href="LuCI.ui.FileUpload.html#isValid">isValid</a></li>
+
+ <li data-name="LuCI.ui.FileUpload#registerEvents"><a href="LuCI.ui.FileUpload.html#registerEvents">registerEvents</a></li>
+
+ <li data-name="LuCI.ui.FileUpload#render"><a href="LuCI.ui.FileUpload.html#render">render</a></li>
+
+ <li data-name="LuCI.ui.FileUpload#setChangeEvents"><a href="LuCI.ui.FileUpload.html#setChangeEvents">setChangeEvents</a></li>
+
+ <li data-name="LuCI.ui.FileUpload#setUpdateEvents"><a href="LuCI.ui.FileUpload.html#setUpdateEvents">setUpdateEvents</a></li>
+
+ <li data-name="LuCI.ui.FileUpload#setValue"><a href="LuCI.ui.FileUpload.html#setValue">setValue</a></li>
+
+ <li data-name="LuCI.ui.FileUpload#triggerValidation"><a href="LuCI.ui.FileUpload.html#triggerValidation">triggerValidation</a></li>
+
+ </ul>
+ <ul class="events itemMembers">
+
+ </ul>
+ </li>
+
+ <li class="item" data-name="LuCI.ui.Hiddenfield">
+ <span class="title">
+ <a href="LuCI.ui.Hiddenfield.html">LuCI.ui.Hiddenfield</a>
+
+ </span>
+ <ul class="members itemMembers">
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ </ul>
+ <ul class="methods itemMembers">
+
+ <span class="subtitle">Methods</span>
+
+ <li data-name="LuCI.ui.Hiddenfield#getValue"><a href="LuCI.ui.Hiddenfield.html#getValue">getValue</a></li>
+
+ <li data-name="LuCI.ui.Hiddenfield#isValid"><a href="LuCI.ui.Hiddenfield.html#isValid">isValid</a></li>
+
+ <li data-name="LuCI.ui.Hiddenfield#registerEvents"><a href="LuCI.ui.Hiddenfield.html#registerEvents">registerEvents</a></li>
+
+ <li data-name="LuCI.ui.Hiddenfield#render"><a href="LuCI.ui.Hiddenfield.html#render">render</a></li>
+
+ <li data-name="LuCI.ui.Hiddenfield#setChangeEvents"><a href="LuCI.ui.Hiddenfield.html#setChangeEvents">setChangeEvents</a></li>
+
+ <li data-name="LuCI.ui.Hiddenfield#setUpdateEvents"><a href="LuCI.ui.Hiddenfield.html#setUpdateEvents">setUpdateEvents</a></li>
+
+ <li data-name="LuCI.ui.Hiddenfield#setValue"><a href="LuCI.ui.Hiddenfield.html#setValue">setValue</a></li>
+
+ <li data-name="LuCI.ui.Hiddenfield#triggerValidation"><a href="LuCI.ui.Hiddenfield.html#triggerValidation">triggerValidation</a></li>
+
+ </ul>
+ <ul class="events itemMembers">
+
+ </ul>
+ </li>
+
+ <li class="item" data-name="LuCI.ui.Select">
+ <span class="title">
+ <a href="LuCI.ui.Select.html">LuCI.ui.Select</a>
+
+ </span>
+ <ul class="members itemMembers">
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ <span class="subtitle">Typedefs</span>
+
+ <li data-name="LuCI.ui.Select.InitOptions"><a href="LuCI.ui.Select.html#.InitOptions">InitOptions</a></li>
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ </ul>
+ <ul class="methods itemMembers">
+
+ <span class="subtitle">Methods</span>
+
+ <li data-name="LuCI.ui.Select#getValue"><a href="LuCI.ui.Select.html#getValue">getValue</a></li>
+
+ <li data-name="LuCI.ui.Select#isValid"><a href="LuCI.ui.Select.html#isValid">isValid</a></li>
+
+ <li data-name="LuCI.ui.Select#registerEvents"><a href="LuCI.ui.Select.html#registerEvents">registerEvents</a></li>
+
+ <li data-name="LuCI.ui.Select#render"><a href="LuCI.ui.Select.html#render">render</a></li>
+
+ <li data-name="LuCI.ui.Select#setChangeEvents"><a href="LuCI.ui.Select.html#setChangeEvents">setChangeEvents</a></li>
+
+ <li data-name="LuCI.ui.Select#setUpdateEvents"><a href="LuCI.ui.Select.html#setUpdateEvents">setUpdateEvents</a></li>
+
+ <li data-name="LuCI.ui.Select#setValue"><a href="LuCI.ui.Select.html#setValue">setValue</a></li>
+
+ <li data-name="LuCI.ui.Select#triggerValidation"><a href="LuCI.ui.Select.html#triggerValidation">triggerValidation</a></li>
+
+ </ul>
+ <ul class="events itemMembers">
+
+ </ul>
+ </li>
+
+ <li class="item" data-name="LuCI.ui.tabs">
+ <span class="title">
+ <a href="LuCI.ui.tabs.html">LuCI.ui.tabs</a>
+
+ </span>
+ <ul class="members itemMembers">
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ </ul>
+ <ul class="methods itemMembers">
+
+ <span class="subtitle">Methods</span>
+
+ <li data-name="LuCI.ui.tabs#initTabGroup"><a href="LuCI.ui.tabs.html#initTabGroup">initTabGroup</a></li>
+
+ <li data-name="LuCI.ui.tabs#isEmptyPane"><a href="LuCI.ui.tabs.html#isEmptyPane">isEmptyPane</a></li>
+
+ </ul>
+ <ul class="events itemMembers">
+
+ </ul>
+ </li>
+
+ <li class="item" data-name="LuCI.ui.Textarea">
+ <span class="title">
+ <a href="LuCI.ui.Textarea.html">LuCI.ui.Textarea</a>
+
+ </span>
+ <ul class="members itemMembers">
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ <span class="subtitle">Typedefs</span>
+
+ <li data-name="LuCI.ui.Textarea.InitOptions"><a href="LuCI.ui.Textarea.html#.InitOptions">InitOptions</a></li>
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ </ul>
+ <ul class="methods itemMembers">
+
+ <span class="subtitle">Methods</span>
+
+ <li data-name="LuCI.ui.Textarea#getValue"><a href="LuCI.ui.Textarea.html#getValue">getValue</a></li>
+
+ <li data-name="LuCI.ui.Textarea#isValid"><a href="LuCI.ui.Textarea.html#isValid">isValid</a></li>
+
+ <li data-name="LuCI.ui.Textarea#registerEvents"><a href="LuCI.ui.Textarea.html#registerEvents">registerEvents</a></li>
+
+ <li data-name="LuCI.ui.Textarea#render"><a href="LuCI.ui.Textarea.html#render">render</a></li>
+
+ <li data-name="LuCI.ui.Textarea#setChangeEvents"><a href="LuCI.ui.Textarea.html#setChangeEvents">setChangeEvents</a></li>
+
+ <li data-name="LuCI.ui.Textarea#setUpdateEvents"><a href="LuCI.ui.Textarea.html#setUpdateEvents">setUpdateEvents</a></li>
+
+ <li data-name="LuCI.ui.Textarea#setValue"><a href="LuCI.ui.Textarea.html#setValue">setValue</a></li>
+
+ <li data-name="LuCI.ui.Textarea#triggerValidation"><a href="LuCI.ui.Textarea.html#triggerValidation">triggerValidation</a></li>
+
+ </ul>
+ <ul class="events itemMembers">
+
+ </ul>
+ </li>
+
+ <li class="item" data-name="LuCI.ui.Textfield">
+ <span class="title">
+ <a href="LuCI.ui.Textfield.html">LuCI.ui.Textfield</a>
+
+ </span>
+ <ul class="members itemMembers">
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ <span class="subtitle">Typedefs</span>
+
+ <li data-name="LuCI.ui.Textfield.InitOptions"><a href="LuCI.ui.Textfield.html#.InitOptions">InitOptions</a></li>
+
+ </ul>
+ <ul class="typedefs itemMembers">
+
+ </ul>
+ <ul class="methods itemMembers">
+
+ <span class="subtitle">Methods</span>
+
+ <li data-name="LuCI.ui.Textfield#getValue"><a href="LuCI.ui.Textfield.html#getValue">getValue</a></li>
+
+ <li data-name="LuCI.ui.Textfield#isValid"><a href="LuCI.ui.Textfield.html#isValid">isValid</a></li>
+
+ <li data-name="LuCI.ui.Textfield#registerEvents"><a href="LuCI.ui.Textfield.html#registerEvents">registerEvents</a></li>
+
+ <li data-name="LuCI.ui.Textfield#render"><a href="LuCI.ui.Textfield.html#render">render</a></li>
+
+ <li data-name="LuCI.ui.Textfield#setChangeEvents"><a href="LuCI.ui.Textfield.html#setChangeEvents">setChangeEvents</a></li>
+
+ <li data-name="LuCI.ui.Textfield#setUpdateEvents"><a href="LuCI.ui.Textfield.html#setUpdateEvents">setUpdateEvents</a></li>
+
+ <li data-name="LuCI.ui.Textfield#setValue"><a href="LuCI.ui.Textfield.html#setValue">setValue</a></li>
+
+ <li data-name="LuCI.ui.Textfield#triggerValidation"><a href="LuCI.ui.Textfield.html#triggerValidation">triggerValidation</a></li>
+
+ </ul>
+ <ul class="events itemMembers">
+
+ </ul>
+ </li>
+
<li class="item" data-name="LuCI.view">
<span class="title">
<a href="LuCI.view.html">LuCI.view</a>
@@ -1111,7 +1719,7 @@ subclasses which describe logical UCI networks defined by <code>config interface
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1854">line 1854</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1859">line 1859</a>
</div>
</div>
@@ -1196,7 +1804,7 @@ subclasses which describe logical UCI networks defined by <code>config interface
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2443">line 2443</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2465">line 2465</a>
</div>
</div>
@@ -1357,7 +1965,7 @@ interface or if the logical interface is virtual.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2612">line 2612</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2634">line 2634</a>
</div>
</div>
@@ -1511,6 +2119,116 @@ device or <code>false</code> if not.</td>
<dt>
<div class="nameContainer">
+ <h4 class="name" id="deleteConfiguration">
+
+ <span class="type-signature ">abstract</span>deleteConfiguration<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{*|Promise.&lt;*>}</span>
+ </h4>
+
+
+ <div class="tag-source">
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2682">line 2682</a>
+ </div>
+
+ </div>
+
+
+</dt>
+<dd>
+
+
+ <div class="description">
+ <p>Cleanup related configuration entries.</p>
+<p>This function will be invoked if an interface is about to be removed
+from the configuration and is responsible for performing any required
+cleanup tasks, such as unsetting uci entries in related configurations.</p>
+<p>It should be overwritten by protocol specific subclasses.</p>
+ </div>
+
+
+
+
+
+
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+
+
+
+
+ <h5>Returns:</h5>
+
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Type</th>
+ <th class="last">Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+
+ <td class="type">
+
+ *
+ |
+
+ Promise.&lt;*>
+
+
+ </td>
+ <td class="description last">This function may return a promise which is awaited before the rest of
+the configuration is removed. Any non-promise return value and any
+resolved promise value is ignored. If the returned promise is rejected,
+the interface removal will be aborted.</td>
+ </tr>
+
+ </tbody>
+</table>
+
+
+
+
+</dd>
+
+
+
+<dt>
+ <div class="nameContainer">
<h4 class="name" id="deleteDevice">
deleteDevice<span class="signature">(device)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
@@ -1518,7 +2236,7 @@ device or <code>false</code> if not.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2470">line 2470</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2492">line 2492</a>
</div>
</div>
@@ -1679,7 +2397,7 @@ interface or if the logical interface is virtual.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1887">line 1887</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1892">line 1892</a>
</div>
</div>
@@ -1831,7 +2549,7 @@ not found.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2497">line 2497</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2519">line 2519</a>
</div>
</div>
@@ -1933,7 +2651,7 @@ expected Linux network device according to the configuration.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2558">line 2558</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2580">line 2580</a>
</div>
</div>
@@ -2040,7 +2758,7 @@ virtual and not a bridge.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2212">line 2212</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2217">line 2217</a>
</div>
</div>
@@ -2141,7 +2859,7 @@ protocol backend.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2124">line 2124</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2129">line 2129</a>
</div>
</div>
@@ -2242,7 +2960,7 @@ protocol backend.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2256">line 2256</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2261">line 2261</a>
</div>
</div>
@@ -2350,7 +3068,7 @@ error code in case no translation can be found.</p>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2007">line 2007</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2012">line 2012</a>
</div>
</div>
@@ -2454,7 +3172,7 @@ if it isn't applicable to the associated protocol.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2192">line 2192</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2197">line 2197</a>
</div>
</div>
@@ -2556,7 +3274,7 @@ default route or <code>null</code> if no default route was found.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2104">line 2104</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2109">line 2109</a>
</div>
</div>
@@ -2658,7 +3376,7 @@ default route or <code>null</code> if no default route was found.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1952">line 1952</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1957">line 1957</a>
</div>
</div>
@@ -2760,7 +3478,7 @@ default route or <code>null</code> if no default route was found.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1912">line 1912</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1917">line 1917</a>
</div>
</div>
@@ -2864,7 +3582,7 @@ it could not be determined.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2143">line 2143</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2148">line 2148</a>
</div>
</div>
@@ -2968,7 +3686,7 @@ in CIDR notation or <code>null</code> if no IPv6 addresses were set.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2165">line 2165</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2170">line 2170</a>
</div>
</div>
@@ -3070,7 +3788,7 @@ follows the order of the addresses in <code>ubus</code> runtime information.</td
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2231">line 2231</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2236">line 2236</a>
</div>
</div>
@@ -3174,7 +3892,7 @@ handler or <code>null</code> if no prefix is present.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2059">line 2059</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2064">line 2064</a>
</div>
</div>
@@ -3278,7 +3996,7 @@ or <code>null</code> if no IPv4 addresses were set.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2072">line 2072</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2077">line 2077</a>
</div>
</div>
@@ -3380,7 +4098,7 @@ follows the order of the addresses in <code>ubus</code> runtime information.</td
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2530">line 2530</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2552">line 2552</a>
</div>
</div>
@@ -3482,7 +4200,7 @@ network device currently associated with the logical interface.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2543">line 2543</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2565">line 2565</a>
</div>
</div>
@@ -3584,7 +4302,7 @@ network device currently associated with the logical interface.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2027">line 2027</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2032">line 2032</a>
</div>
</div>
@@ -3685,7 +4403,7 @@ routes spawned by the associated logical interface.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1982">line 1982</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1987">line 1987</a>
</div>
</div>
@@ -3785,7 +4503,7 @@ routes spawned by the associated logical interface.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2090">line 2090</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2095">line 2095</a>
</div>
</div>
@@ -3889,7 +4607,7 @@ protocol handler or <code>null</code> if no IPv4 addresses were set.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2296">line 2296</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2301">line 2301</a>
</div>
</div>
@@ -3991,7 +4709,7 @@ function, e.g. <code>odhcp6c</code> for the <code>dhcpv6</code> prototocol.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1938">line 1938</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1943">line 1943</a>
</div>
</div>
@@ -4094,7 +4812,7 @@ function, e.g. <code>odhcp6c</code> for the <code>dhcpv6</code> prototocol.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1972">line 1972</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1977">line 1977</a>
</div>
</div>
@@ -4201,7 +4919,7 @@ interface or <code>null</code> if no <code>type</code> option is set.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1992">line 1992</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1997">line 1997</a>
</div>
</div>
@@ -4301,7 +5019,7 @@ interface or <code>null</code> if no <code>type</code> option is set.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2043">line 2043</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2048">line 2048</a>
</div>
</div>
@@ -4409,7 +5127,7 @@ handler didn't request a zone.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2384">line 2384</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2406">line 2406</a>
</div>
</div>
@@ -4516,7 +5234,7 @@ is an alias or <code>null</code> if it is not an alias interface.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2281">line 2281</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2286">line 2286</a>
</div>
</div>
@@ -4611,6 +5329,152 @@ or <code>false</code> when the logical interface is no bridge.</td>
<dt>
<div class="nameContainer">
+ <h4 class="name" id="isCreateable">
+
+ <span class="type-signature ">abstract</span>isCreateable<span class="signature">(ifname)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.&lt;(null|string)>}</span>
+ </h4>
+
+
+ <div class="tag-source">
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2318">line 2318</a>
+ </div>
+
+ </div>
+
+
+</dt>
+<dd>
+
+
+ <div class="description">
+ <p>Check function for the protocol handler if a new interface is createable.</p>
+<p>This function should be overwritten by protocol specific subclasses.</p>
+ </div>
+
+
+
+
+
+
+
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Name</th>
+
+
+ <th>Type</th>
+
+
+
+ <th class="last">Description</th>
+ </tr>
+ </thead>
+
+ <tbody>
+
+
+ <tr>
+
+ <td class="name"><code>ifname</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">string</span>
+
+
+
+ </td>
+
+
+
+ <td class="description last">
+
+ <p>The name of the interface to be created.</p></td>
+ </tr>
+
+
+ </tbody>
+</table>
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+
+
+
+
+ <h5>Returns:</h5>
+
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Type</th>
+ <th class="last">Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+
+ <td class="type">
+
+ Promise.&lt;(null|string)>
+
+
+ </td>
+ <td class="description last">Returns <code>null</code> if new interface is createable, else returns (error) message.</td>
+ </tr>
+
+ </tbody>
+</table>
+
+
+
+
+</dd>
+
+
+
+<dt>
+ <div class="nameContainer">
<h4 class="name" id="isDynamic">
isDynamic<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
@@ -4618,7 +5482,7 @@ or <code>false</code> when the logical interface is no bridge.</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2369">line 2369</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2391">line 2391</a>
</div>
</div>
@@ -4723,7 +5587,7 @@ or not (<code>false</code>).</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2404">line 2404</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2426">line 2426</a>
</div>
</div>
@@ -4824,7 +5688,7 @@ has no network devices attached.</p>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2353">line 2353</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2375">line 2375</a>
</div>
</div>
@@ -4933,7 +5797,7 @@ or not (<code>false</code>).</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2312">line 2312</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2334">line 2334</a>
</div>
</div>
@@ -5037,7 +5901,7 @@ returns <code>true</code>.</p>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2426">line 2426</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2448">line 2448</a>
</div>
</div>
@@ -5137,7 +6001,7 @@ returns <code>true</code>.</p>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2332">line 2332</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2354">line 2354</a>
</div>
</div>
@@ -5244,7 +6108,7 @@ dynamic interfaces (<code>true</code>) or not (<code>false</code>).</td>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1901">line 1901</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1906">line 1906</a>
</div>
</div>
@@ -5398,7 +6262,7 @@ configuration.</p></td>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Tue Mar 31 2020 21:30:33 GMT+0200 (Central European Summer Time)
</footer>
</div>
</div>