summaryrefslogtreecommitdiff
path: root/smoketest/configs/basic-api-service
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-21 20:25:59 +0100
committerChristian Breunig <christian@breunig.cc>2023-11-21 20:52:08 +0100
commit0e885f1bf01424130b6876e769cc42612b19351b (patch)
treef21b06cdeaa4120486c2c0deedec29c94a3e254f /smoketest/configs/basic-api-service
parent3ab206b04350aec4872ed72ae4bd3440a47204f0 (diff)
downloadvyos-1x-0e885f1bf01424130b6876e769cc42612b19351b.tar.gz
vyos-1x-0e885f1bf01424130b6876e769cc42612b19351b.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.
Diffstat (limited to 'smoketest/configs/basic-api-service')
-rw-r--r--smoketest/configs/basic-api-service24
1 files changed, 22 insertions, 2 deletions
diff --git a/smoketest/configs/basic-api-service b/smoketest/configs/basic-api-service
index 98b2ebcf8..f5b56ac98 100644
--- a/smoketest/configs/basic-api-service
+++ b/smoketest/configs/basic-api-service
@@ -18,8 +18,28 @@ service {
}
socket
}
- }
- ssh {
+ virtual-host bar {
+ allow-client {
+ address 172.16.0.0/12
+ }
+ listen-port 5555
+ server-name bar
+ }
+ virtual-host baz {
+ allow-client {
+ address 192.168.0.0/16
+ }
+ listen-port 6666
+ server-name baz
+ }
+ virtual-host foo {
+ allow-client {
+ address 10.0.0.0/8
+ address 2001:db8::/32
+ }
+ listen-port 7777
+ server-name foo
+ }
}
}
system {