summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@sentrium.io>2019-08-13 15:48:04 -0500
committerJohn Estabrook <jestabro@sentrium.io>2019-08-14 12:52:21 -0500
commitae7501bd0aeef87b708eb033907aab470ea764b7 (patch)
tree90ad83fc00f47244eedb9dbcbe2ac0ba99f78455 /python/vyos
parent8d1e768a6f3285ed717f588f356db9340871b043 (diff)
downloadvyos-1x-ae7501bd0aeef87b708eb033907aab470ea764b7.tar.gz
vyos-1x-ae7501bd0aeef87b708eb033907aab470ea764b7.zip
[service https] T1443: move https and api default data to vyos.defaults
Diffstat (limited to 'python/vyos')
-rw-r--r--python/vyos/defaults.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/python/vyos/defaults.py b/python/vyos/defaults.py
index 524b80424..ee307cf15 100644
--- a/python/vyos/defaults.py
+++ b/python/vyos/defaults.py
@@ -27,3 +27,15 @@ 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"} ]
+}