summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2022-06-19 17:40:26 +0300
committerGitHub <noreply@github.com>2022-06-19 17:40:26 +0300
commitcd055ce723e0c993c786d44dd5f988aeb961cd39 (patch)
tree335be8fdf26cff04db846b6fb075eaa16d4f4ec2
parenta3559f7e429c86ccdfeeac0aaddfc054be403368 (diff)
parent5b5074c3f2b7bb8d87af85d3ef5adead6363f903 (diff)
downloadvyos-1x-cd055ce723e0c993c786d44dd5f988aeb961cd39.tar.gz
vyos-1x-cd055ce723e0c993c786d44dd5f988aeb961cd39.zip
Merge pull request #1349 from kajiuray/equuleus
http-api: T4459: Fix to set VRF in http(s) service
-rwxr-xr-xsrc/conf_mode/https.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/conf_mode/https.py b/src/conf_mode/https.py
index 96c50b4b5..1e58bb1e4 100755
--- a/src/conf_mode/https.py
+++ b/src/conf_mode/https.py
@@ -142,6 +142,10 @@ def get_config(config=None):
'api_set': api_set,
'certbot': certbot}
+ vrf_path = ['service', 'https', 'vrf']
+ if conf.exists(vrf_path):
+ https['vrf'] = conf.return_value(vrf_path)
+
return https
def verify(https):