Skip to content
Snippets Groups Projects
Commit fc5db78f authored by Erik Reid's avatar Erik Reid
Browse files

added redis params to config handling

parent 88c9a562
No related branches found
No related tags found
No related merge requests found
......@@ -29,9 +29,23 @@ CONFIG_SCHEMA = {
},
"required": ["private-key", "known-hosts"],
"additionalProperties": False
},
"redis": {
"type": "object",
"properties": {
"hostname": {"type": "string"},
"port": {"type": "integer"}
},
"required": ["hostname", "port"],
"additionalProperties": False
}
},
"required": ["alarms-db", "oid_list.conf", "routers_community.conf"],
"required": [
"alarms-db",
"oid_list.conf",
"routers_community.conf",
"ssh",
"redis"],
"additionalProperties": False
}
......
......@@ -94,6 +94,10 @@ def data_config_filename(tmp_dir_name):
"ssh": {
"private-key": "private-key-filename",
"known-hosts": "known-hosts=filename"
},
"redis": {
"hostname": "xxxxxx",
"port": 6379
}
}
......
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