Skip to content
Snippets Groups Projects
Commit eaa1ea73 authored by Robert Latta's avatar Robert Latta
Browse files

fixed config RE. DBOARD3-888

parent cd10e860
No related branches found
No related tags found
No related merge requests found
...@@ -214,6 +214,7 @@ CONFIG_SCHEMA = { ...@@ -214,6 +214,7 @@ CONFIG_SCHEMA = {
'properties': { 'properties': {
'ops-db': {'$ref': '#/definitions/database-credentials'}, 'ops-db': {'$ref': '#/definitions/database-credentials'},
'ssh': {'$ref': '#/definitions/ssh-credentials'}, 'ssh': {'$ref': '#/definitions/ssh-credentials'},
'nokia-ssh': {'$ref': '#/definitions/nokia-ssh-credentials'},
'redis': {'$ref': '#/definitions/redis-credentials'}, 'redis': {'$ref': '#/definitions/redis-credentials'},
'sentinel': {'$ref': '#/definitions/redis-sentinel-config'}, 'sentinel': {'$ref': '#/definitions/redis-sentinel-config'},
'ims': {'$ref': '#/definitions/ims'}, 'ims': {'$ref': '#/definitions/ims'},
...@@ -240,6 +241,7 @@ CONFIG_SCHEMA = { ...@@ -240,6 +241,7 @@ CONFIG_SCHEMA = {
{ {
'required': [ 'required': [
'ssh', 'ssh',
'nokia-ssh',
'redis', 'redis',
'redis-databases', 'redis-databases',
'ims', 'ims',
...@@ -250,6 +252,7 @@ CONFIG_SCHEMA = { ...@@ -250,6 +252,7 @@ CONFIG_SCHEMA = {
{ {
'required': [ 'required': [
'ssh', 'ssh',
'nokia-ssh',
'sentinel', 'sentinel',
'redis-databases', 'redis-databases',
'ims', 'ims',
......
...@@ -31,6 +31,11 @@ def data_config_filename(): ...@@ -31,6 +31,11 @@ def data_config_filename():
"private-key": "private-key-filename", "private-key": "private-key-filename",
"known-hosts": "known-hosts=filename" "known-hosts": "known-hosts=filename"
}, },
"nokia-ssh": {
"username": "uSeR-NaMe",
"password": "dummy-password",
"known-hosts": "known-hosts=filename"
},
"redis": { "redis": {
"hostname": "xxxxxx", "hostname": "xxxxxx",
"port": 6379, "port": 6379,
......
...@@ -17,6 +17,11 @@ def config(): ...@@ -17,6 +17,11 @@ def config():
'private-key': 'private_key_content', 'private-key': 'private_key_content',
'known-hosts': 'known_hosts_content' 'known-hosts': 'known_hosts_content'
}, },
"nokia-ssh": {
"username": "uSeR-NaMe",
"password": "dummy-password",
"known-hosts": "known-hosts=filename"
},
'redis-databases': [0, 1, 2], 'redis-databases': [0, 1, 2],
'ims': { 'ims': {
'api': 'ims_api', 'api': 'ims_api',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment