Global Settings - Discovery Network (#12334)

Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
SourceDoctor
2020-11-21 18:08:46 +01:00
committed by GitHub
parent fde1b1ab43
commit b162eff5ee
3 changed files with 19 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
"/js/manifest.js": "/js/manifest.js?id=3c768977c2574a34506e",
"/js/vendor.js": "/js/vendor.js?id=4935c8e779ce375acbf4",
"/js/lang/de.js": "/js/lang/de.js?id=2c4ad02fa89b684d4f57",
"/js/lang/en.js": "/js/lang/en.js?id=a094c09a83b751d2aea3",
"/js/lang/en.js": "/js/lang/en.js?id=bd8b8dca7021ad041f0e",
"/js/lang/fr.js": "/js/lang/fr.js?id=9552304f4fd7338af018",
"/js/lang/it.js": "/js/lang/it.js?id=514765c5399ffaa111b9",
"/js/lang/ru.js": "/js/lang/ru.js?id=f6b7c078755312a0907c",

View File

@@ -633,6 +633,9 @@
]
},
"autodiscovery.nets-exclude": {
"group": "discovery",
"section": "networks",
"order": 2,
"type": "array",
"default": [
"0.0.0.0/8",
@@ -3717,7 +3720,10 @@
"type": "directory"
},
"nets": {
"type": "array"
"type": "array",
"group": "discovery",
"section": "networks",
"order": 1
},
"network_map_items": {
"default": [

View File

@@ -39,6 +39,7 @@ return [
'route' => 'Routes Discovery Module',
'discovery_modules' => 'Discovery Modules',
'storage' => 'Storage Module',
'networks' => 'Networks',
],
'external' => [
'binaries' => 'Binary Locations',
@@ -1144,6 +1145,16 @@ return [
'description' => 'Max number of routes allowed for discovery',
'help' => 'No route will be discovered if the size of the routing table is bigger than this number',
],
'nets' => [
'description' => 'Autodiscovery Networks',
'help' => 'Networks from which devices will be discovered automatically.',
],
'autodiscovery' => [
'nets-exclude' => [
'description' => 'Networks/IPs to be ignored',
'help' => 'Networks/IPs which will not be discovered automatically. Excludes also IPs from Autodiscovery Networks',
],
],
'route_purge' => [
'description' => 'Route entries older than (days)',
'help' => 'Cleanup done by daily.sh',