LIU Yulong cd6bf8035d Random IP for concurrent create pf and update_port
Port forwarding test port IP should be specified, otherwise IP
collision may happen between new port IP and router interface IP.
Or sometimes, port new IP and old IP are same.

After this patch, the port new IP will be randomly choiced from
the subset without [old_port_ips, router_interface_ips].

Partially reverts commit 414bdd4c5997886c97d0e3a0b19c684dafeabb7a.

Change-Id: I157e08288765f1716b4cb12bb2e176760db806c0
Closes-Bug: #1818334
2019-03-21 23:25:28 +08:00
..