diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2024-10-09 16:00:15 +0200 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2024-10-09 16:00:15 +0200 |
commit | 7765e037b9fc9913b58a39bfa39209ebfd3b3f71 (patch) | |
tree | f64837212af055db0af54e2c87c8ff0426645637 /smoketest | |
parent | 90a4827284acd3cb072cdfeef323c522802c6449 (diff) | |
download | vyos-1x-7765e037b9fc9913b58a39bfa39209ebfd3b3f71.tar.gz vyos-1x-7765e037b9fc9913b58a39bfa39209ebfd3b3f71.zip |
haproxy: T6745: Add haproxy migration to config test
Diffstat (limited to 'smoketest')
-rw-r--r-- | smoketest/configs/basic-vyos | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/smoketest/configs/basic-vyos b/smoketest/configs/basic-vyos index e95d7458f..242f3d1de 100644 --- a/smoketest/configs/basic-vyos +++ b/smoketest/configs/basic-vyos @@ -32,6 +32,27 @@ interfaces { loopback lo { } } +load-balancing { + reverse-proxy { + backend bk-01 { + balance "round-robin" + mode "tcp" + server srv01 { + address "192.0.2.11" + port "8881" + } + server srv02 { + address "192.0.2.12" + port "8882" + } + } + service my-tcp-api { + backend "bk-01" + mode "tcp" + port "8888" + } + } +} protocols { static { arp 192.168.0.20 { |