-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
T6226: add HAPROXY tcp-request
related block to load-balancing reverse proxy config
#3306
Conversation
…reverse proxy config when TCP mode and ssl is configed
…nterface-definition for tcp-request
…reverse proxy config when TCP mode and ssl is configed
…nterface-definition for tcp-request
T6226: Fix lb reverse-proxy test conflict
tcp-request content accept
related block to load-balancing reverse proxy config in TCP modetcp-request
related block to load-balancing reverse proxy config
Conflicting files |
conflict resolved. |
9 commits to this simple feature seems a lot |
sorry that I am new to contribute this project, do I need to close this PR, re-fork and consolidate the commit then re-raise a PR for this one? |
I’m not master of git but probably you could use “squash” |
doing a soft-reset to current so you have the changes uncommitted, then create a new commit and force push to your repo would probably the easiest way to simplify it. |
Change Summary
Add tcp-request related directive in haproxy.cfg.j2 template and haproxy interface definitions, for service in tcp mode.
Add tcp mode related test case in test_load-balancing_reverse-proxy.py
Types of changes
Related Task(s)
https://vyos.dev/T6226
Related PR(s)
Component(s) name
load-balancing reverse-proxy
Proposed changes
Add tcp-request related directive in haproxy.cfg.j2 template, for service in tcp mode.
Add tcp mode related test case in test_load-balancing_reverse-proxy.py
How to test
Build the new vyos-1x deb package from my fork repo, then install it the instance build from vyos-1.5-rolling-202404130016-amd64.iso
validate the haproxy config in
/run/haproxy/haproxy.cfg
, in frontendtcp443
block, the content below should exist.Smoketest result
Checklist: