Templates that need the nodes ips where using util.get_ip()
which returns the IP assosiated with the default gateway but
might not be the desired IP in nodes with multiple nics.
This change introduces util.find_my_ip_from_config() which a template
that is expected to run on a compute node can use to identify which
of the nodes ip does match with one from CONFIG_COMPUTE_HOSTS
- Call ArgumentParser directly vs using a variable as an alias
- Remove unused function: controller.remove_argument
- Remove unused function: controller.remove_validators
- Remove unused function: validators.true_or_false
- Refactor utils
Clearstack was treating ips other than the one with default gw
as non local ips.
- add get_ips() function to return all addresses on the system
- make is_localhost check if the ip is in the output of get_ips()