Bump to 6.0.43, use go generate

Also moved fetching of JSON information to Go for cross-OS usage.
This commit is contained in:
Paul Tyng
2021-04-09 09:41:43 -04:00
parent 5219e06753
commit 4ab4036985
76 changed files with 504 additions and 429 deletions

View File

@@ -0,0 +1,20 @@
{
"name": ".{1,128}",
"vlan_enabled": "false|true",
"vlan_wlan_mode": "disabled|optional|required",
"use_usg_auth_server": "false|true",
"auth_servers": [{
"ip": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$",
"port": "^([1-9][0-9]{0,3}|[1-5][0-9]{4}|[6][0-4][0-9]{3}|[6][5][0-4][0-9]{2}|[6][5][5][0-2][0-9]|[6][5][5][3][0-5])$|^$",
"x_secret": ""
}],
"accounting_enabled": "false|true",
"use_usg_acct_server": "false|true",
"interim_update_enabled": "false|true",
"interim_update_interval": "^([6-9][0-9]|[1-9][0-9]{2,3}|[1-7][0-9]{4}|8[0-5][0-9]{3}|86[0-3][0-9][0-9]|86400)$",
"acct_servers": [{
"ip": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$",
"port": "^([1-9][0-9]{0,3}|[1-5][0-9]{4}|[6][0-4][0-9]{3}|[6][5][0-4][0-9]{2}|[6][5][5][0-2][0-9]|[6][5][5][3][0-5])$|^$",
"x_secret": ""
}]
}