Skip to content
Snippets Groups Projects
Commit 8ae8b1ff authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

Update config to include excluded dashboards

parent c166b73b
No related branches found
Tags 0.3
No related merge requests found
...@@ -2,11 +2,6 @@ import json ...@@ -2,11 +2,6 @@ import json
import jsonschema import jsonschema
DEFAULT_ORGANIZATIONS = [ DEFAULT_ORGANIZATIONS = [
{
"name": "Main Org.",
"excluded_nrens": [],
"excluded_dashboards": []
},
{ {
"name": "GÉANT Staff", "name": "GÉANT Staff",
"excluded_nrens": [], "excluded_nrens": [],
...@@ -15,23 +10,40 @@ DEFAULT_ORGANIZATIONS = [ ...@@ -15,23 +10,40 @@ DEFAULT_ORGANIZATIONS = [
{ {
"name": "NRENs", "name": "NRENs",
"excluded_nrens": [], "excluded_nrens": [],
"excluded_dashboards": [] "excluded_dashboards": [
"GÉANT Office devices",
"GÉANT VM"
]
}, },
{ {
"name": "General Public", "name": "General Public",
"excluded_nrens": [ "excluded_nrens": [
"JISC", "CARNET",
"PSNC" "PSNC"
], ],
"excluded_dashboards": [] "excluded_dashboards": [
"GÉANT Office devices",
"GÉANT VM"
]
}, },
{ {
"name": "CAE1 - Europe", "name": "CAE1 - Europe",
"excluded_nrens": [],
"excluded_dashboards": [
"GÉANT Office devices",
"GÉANT VM"
]
},
{
"name": "CAE1 - Asia",
"excluded_nrens": [ "excluded_nrens": [
"JISC", "CARNET",
"PSNC" "PSNC"
], ],
"excluded_dashboards": [] "excluded_dashboards": [
"GÉANT Office devices",
"GÉANT VM"
]
} }
] ]
...@@ -68,13 +80,14 @@ CONFIG_SCHEMA = { ...@@ -68,13 +80,14 @@ CONFIG_SCHEMA = {
"type": "object", "type": "object",
"properties": { "properties": {
"name": {"type": "string"}, "name": {"type": "string"},
"excluded_nrens": {"type": "array", "items": {"type": "string"}}, "excluded_nrens": {
"excluded_dashboards": {"type": "array", "items": {"type": "string"}}, "type": "array",
"items": {"type": "string"}
},
}, },
"required": [ "required": [
"name", "name",
"excluded_nrens", "excluded_nrens",
"excluded_dashboards"
] ]
} }
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment