summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-08-19 12:04:56 -0400
committerDaniil Baturin <daniil@baturin.org>2019-08-19 12:04:56 -0400
commit212348145838e8791474b987efc624cba3fb8b00 (patch)
treec4914439531f177fd24fb083b785446f0c35c910 /python
parent589952faadcf7700702b24390c1d654706f3a857 (diff)
parentdc8cfa6dfd1d95890b3e14c928e3d2064451a851 (diff)
downloadvyos-1x-212348145838e8791474b987efc624cba3fb8b00.tar.gz
vyos-1x-212348145838e8791474b987efc624cba3fb8b00.zip
Merge branch 'current' into equuleus
Diffstat (limited to 'python')
-rw-r--r--python/vyos/defaults.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/python/vyos/defaults.py b/python/vyos/defaults.py
index 524b80424..3e4c02562 100644
--- a/python/vyos/defaults.py
+++ b/python/vyos/defaults.py
@@ -27,3 +27,22 @@ cfg_group = 'vyattacfg'
cfg_vintage = 'vyatta'
commit_lock = '/opt/vyatta/config/.lock'
+
+https_data = {
+ 'listen_address' : [ '127.0.0.1' ]
+}
+
+api_data = {
+ 'listen_address' : '127.0.0.1',
+ 'port' : '8080',
+ 'strict' : 'false',
+ 'debug' : 'false',
+ 'api_keys' : [ {"id": "testapp", "key": "qwerty"} ]
+}
+
+vyos_cert_data = {
+ "conf": "/etc/nginx/snippets/vyos-cert.conf",
+ "crt": "/etc/ssl/certs/vyos-selfsigned.crt",
+ "key": "/etc/ssl/private/vyos-selfsign",
+ "lifetime": "365",
+}