External orchestrator can either write appropriate /etc/hosts entries
within the host before launching the container, in which case container
will take those entries.
Alternatively it can just pass a dict of {host: ip} of all hosts to the
container so that container will write them to the hosts file.
In any case, container will make sure its own hostname has an entry in
/etc/hosts file which is required by certain services like cassandra,
kafka.
This expects a new configuration "hosts_entries" within GLOBAL section
of contrailctl configruation file.
External orchestrator can either write appropriate /etc/hosts entries within the host before launching the container, in which case container will take those entries. Alternatively it can just pass a dict of {host: ip} of all hosts to the container so that container will write them to the hosts file. In any case, container will make sure its own hostname has an entry in /etc/hosts file which is required by certain services like cassandra, kafka.
This expects a new configuration "hosts_entries" within GLOBAL section of contrailctl configruation file.
This PR need https://github.com/Juniper/contrail-docker/pull/161 merged.