Skip to content
Snippets Groups Projects
Commit c78cd1a9 authored by Sam Roberts's avatar Sam Roberts
Browse files

Merge branch 'feature/REPORTING-306-add-config' into feature/REPORTING-297-msr-mdvpn-endpoint

parents 46b27147 05792451
No related branches found
No related tags found
1 merge request!1Feature/reporting 297 msr mdvpn endpoint
...@@ -226,7 +226,8 @@ CONFIG_SCHEMA = { ...@@ -226,7 +226,8 @@ CONFIG_SCHEMA = {
'redis-databases', 'redis-databases',
'ims', 'ims',
'managed-routers', 'managed-routers',
'gws-direct'] 'gws-direct',
'nren-asn-map']
}, },
{ {
'required': [ 'required': [
...@@ -236,7 +237,8 @@ CONFIG_SCHEMA = { ...@@ -236,7 +237,8 @@ CONFIG_SCHEMA = {
'redis-databases', 'redis-databases',
'ims', 'ims',
'managed-routers', 'managed-routers',
'gws-direct'] 'gws-direct',
'nren-asn-map']
} }
], ],
'additionalProperties': False 'additionalProperties': False
......
...@@ -65,7 +65,12 @@ def data_config_filename(): ...@@ -65,7 +65,12 @@ def data_config_filename():
"router": "another.bogus.host.name" "router": "another.bogus.host.name"
} }
], ],
'gws-direct': {} 'gws-direct': {},
'nren-asn-map': {
"100": "BogusNREN",
"200": "FoobarNREN",
"300": "AlsoNET"
}
} }
with open(os.path.join(TEST_DATA_DIRNAME, 'gws-direct.json')) as gws: with open(os.path.join(TEST_DATA_DIRNAME, 'gws-direct.json')) as gws:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment