gustafn
committed
on 11 Jul
Cluster updates: better support when running in containers

- generalized servers running with an INADDR_ANY address
- handling of running s… Show more
Cluster updates: better support when running in containers

- generalized servers running with an INADDR_ANY address

- handling of running server with ephemeral ports

- streamline function and variable names

- added ./tcl/acs-container-procs.tcl

  * make container definitions independent of cluster handling

  * create container mapping based on a JSON file, which

    can be obtained from docker to get information about

    external addresses

  * The final interface is a mapping file in Tcl providing at least

    the Tcl dict ::docker::containerMapping containing the docker

    mapping. A dict key like "8080/tcp" (internal port) will return a

    dict containing the keys "host", "port" and "proto" (e.g. proto

    https host 192.168.1.192 port 58115).

Show less