diff options
author | Daniil Baturin <daniil@vyos.io> | 2022-06-19 17:40:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-19 17:40:26 +0300 |
commit | cd055ce723e0c993c786d44dd5f988aeb961cd39 (patch) | |
tree | 335be8fdf26cff04db846b6fb075eaa16d4f4ec2 /src | |
parent | a3559f7e429c86ccdfeeac0aaddfc054be403368 (diff) | |
parent | 5b5074c3f2b7bb8d87af85d3ef5adead6363f903 (diff) | |
download | vyos-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
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/https.py | 4 |
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): |