The ``format_addr`` helper will allow you to write IP version agnostic code by encapsulating IPv6 addresses in brackets ('[]').
Not doing so triggers an incorrect behavior leading to functional test failures as the application name is not set correctly. https://github.com/openstack-charmers/zaza-openstack-tests/issues/256 https://review.opendev.org/#/c/712980/1