diff options
author | Alberto Sartori <alberto.sartori@huawei.com> | 2025-02-24 14:16:42 +0100 |
---|---|---|
committer | Alberto Sartori <alberto.sartori@huawei.com> | 2025-02-25 11:27:16 +0100 |
commit | 455003d0e924414db339395e8367166e7820c5da (patch) | |
tree | 54d117565ea7edf059f4a18ebb1aaceca764ec5c /bin/bootstrap.py | |
parent | e61131b18ad90e9fc067e6036cbcd6c64b28c986 (diff) | |
download | justbuild-455003d0e924414db339395e8367166e7820c5da.tar.gz |
just serve: allow clients to access execution endpoint with a different address
To properly use `just serve`, both the client and the serve instance
must talk to the very same execution endpoint. Typically, both the
client and serve can reach out to the execution endpoint via the same
IP address. However, it might be possible that the client and a serve
instance know the same execution endpoint by means of differnet IP
addresses. For example, the client knows the execution endpoint
address through an _external_ IP address, while the serve instance,
deployed within the same network infrastructure, only knows the
_internal_ IP address.
This patch adds the subkey `"client address"` -- of the key
`"execution endpoint"` -- in the serve configuration file, to specify
the alternative pair `address:port` used by the client.
Diffstat (limited to 'bin/bootstrap.py')
0 files changed, 0 insertions, 0 deletions