diff options
author | John Estabrook <jestabro@sentrium.io> | 2019-08-13 15:48:04 -0500 |
---|---|---|
committer | John Estabrook <jestabro@sentrium.io> | 2019-08-14 12:52:21 -0500 |
commit | ae7501bd0aeef87b708eb033907aab470ea764b7 (patch) | |
tree | 90ad83fc00f47244eedb9dbcbe2ac0ba99f78455 /python | |
parent | 8d1e768a6f3285ed717f588f356db9340871b043 (diff) | |
download | vyos-1x-ae7501bd0aeef87b708eb033907aab470ea764b7.tar.gz vyos-1x-ae7501bd0aeef87b708eb033907aab470ea764b7.zip |
[service https] T1443: move https and api default data to vyos.defaults
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/defaults.py | 12 |
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"} ] +} |