Development
This commit is contained in:
parent
fcdaf09477
commit
f152d82386
11 changed files with 219 additions and 66 deletions
|
|
@ -142,7 +142,7 @@
|
|||
"input_type": "number",
|
||||
"min": 1,
|
||||
"max": 4094,
|
||||
"validate": "vlan_id",
|
||||
"validate": "VALIDATION_RANGE_INT",
|
||||
"existing_ids": "%EXISTING_VLAN_IDS_JSON%",
|
||||
"hint": "Unique integer 1-4094. Sets the 802.1Q tag and interface name."
|
||||
},
|
||||
|
|
@ -151,7 +151,7 @@
|
|||
"label": "VLAN Name",
|
||||
"name": "name",
|
||||
"input_type": "text",
|
||||
"validate": "dashname",
|
||||
"validate": "VALIDATION_DASH_NAME",
|
||||
"hint": "Lowercase letters, digits, hyphens. E.g. iot"
|
||||
},
|
||||
{
|
||||
|
|
@ -184,7 +184,7 @@
|
|||
{
|
||||
"label": "IP Address",
|
||||
"name": "ip",
|
||||
"valtype": "address",
|
||||
"validate": "VALIDATION_ADDRESS",
|
||||
"attrs": {
|
||||
"data-dep-subnet": "[name='subnet']",
|
||||
"data-dep-mask": ".subnet-prefix-input"
|
||||
|
|
@ -200,7 +200,7 @@
|
|||
{
|
||||
"label": "Hostname",
|
||||
"name": "hostname",
|
||||
"validate": "networkname",
|
||||
"validate": "VALIDATION_NETWORK_NAME",
|
||||
"placeholder": "Optional"
|
||||
}
|
||||
]
|
||||
|
|
@ -223,7 +223,7 @@
|
|||
"label": "DNS Server(s)",
|
||||
"name": "dns_server",
|
||||
"override_name": "dns_server_override",
|
||||
"validate": "ip_in_subnet",
|
||||
"validate": "VALIDATION_ADDRESS",
|
||||
"hint": "DNS server(s) advertised to clients via DHCP."
|
||||
},
|
||||
{
|
||||
|
|
@ -231,7 +231,7 @@
|
|||
"label": "NTP Server(s)",
|
||||
"name": "ntp_server",
|
||||
"override_name": "ntp_server_override",
|
||||
"validate": "ip_in_subnet",
|
||||
"validate": "VALIDATION_ADDRESS",
|
||||
"hint": "NTP server(s) advertised to clients via DHCP."
|
||||
},
|
||||
{
|
||||
|
|
@ -239,7 +239,7 @@
|
|||
"label": "Domain",
|
||||
"name": "dhcp_domain",
|
||||
"input_type": "text",
|
||||
"validate": "networkname",
|
||||
"validate": "VALIDATION_NETWORK_NAME",
|
||||
"value": "lan",
|
||||
"hint": "Local domain name advertised to clients via DHCP (e.g. lan, home.arpa, corp). Avoid \"local\" per RFC 6762."
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue