Return actually reachable IP as part of the Floating IP API 22/7022/1 v5.0 v5.0.0 v5.0.1 v5.0.2 v5.0.3 v5.0.4 v5.0.5
authorschillinge <ablu@mail.uni-paderborn.de>
Mon, 3 Dec 2018 10:34:01 +0000 (11:34 +0100)
committerschillinge <ablu@mail.uni-paderborn.de>
Mon, 3 Dec 2018 10:38:28 +0000 (11:38 +0100)
The Floating-IP list API is only ever queried for getting the IP assigned
to a specific port (if vim-emu is added with the manual floating-ip
assignment turned off). Thus, the previous solution lead to fixed IPs being
returned (which are not reachable).

This solution tracks the assigned container for each port in order to be
able to return the public IP assigned by docker.

This is not perfect in the sense that multiple ports do not receive
different floating ips, but at least the containers are actually reachable
now.

Change-Id: I233e5de35b3b7e7350faaef017711f7c1e919fff
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>

No differences found