diff options
author | Christian Breunig <christian@breunig.cc> | 2023-11-21 20:25:59 +0100 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-11-22 05:51:05 +0000 |
commit | 92a75196e5a0d9568905f1c990a080cc4e1e0ea9 (patch) | |
tree | 9072da20295d86482d94a864f961e57a869cfd56 /smoketest/config-tests/basic-api-service | |
parent | d908073cac14539ba54665715ab84a5bf40662ad (diff) | |
download | vyos-1x-92a75196e5a0d9568905f1c990a080cc4e1e0ea9.tar.gz vyos-1x-92a75196e5a0d9568905f1c990a080cc4e1e0ea9.zip |
http: T5762: rename "virtual-host listen-port" -> "virtual-host port"
This complements commit f5e43b136 ("http: T5762: api: make API socket backend
communication the one and only default") so we have a consistent port CLI node
across VyOS components.
(cherry picked from commit 0e885f1bf01424130b6876e769cc42612b19351b)
Diffstat (limited to 'smoketest/config-tests/basic-api-service')
-rw-r--r-- | smoketest/config-tests/basic-api-service | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/smoketest/config-tests/basic-api-service b/smoketest/config-tests/basic-api-service index d78062402..1d2dc3472 100644 --- a/smoketest/config-tests/basic-api-service +++ b/smoketest/config-tests/basic-api-service @@ -5,6 +5,14 @@ set service ntp server time1.vyos.net set service ntp server time2.vyos.net set service ntp server time3.vyos.net set service https api keys id 1 key 'S3cur3' +set service https virtual-host bar allow-client address '172.16.0.0/12' +set service https virtual-host bar port '5555' +set service https virtual-host foo allow-client address '10.0.0.0/8' +set service https virtual-host foo allow-client address '2001:db8::/32' +set service https virtual-host foo port '7777' +set service https virtual-host baz allow-client address '192.168.0.0/16' +set service https virtual-host baz port '6666' +set service https virtual-host baz server-name 'baz' set system config-management commit-revisions '100' set system host-name 'vyos' set system login user vyos authentication encrypted-password '$6$2Ta6TWHd/U$NmrX0x9kexCimeOcYK1MfhMpITF9ELxHcaBU/znBq.X2ukQOj61fVI2UYP/xBzP4QtiTcdkgs7WOQMHWsRymO/' |