server: Fix failing test_nic_secondaryip_add_remove test (#3129)

This regression was introduced with PR #2773 (Support IPv6 address in addIpToNic). The contributor did not take into consideration that the method “addIpToNic” was designed to add/allocate other IPs to a NIC. If users did not specify an IP, ACS should generate one for the network where the NIC is plugged into.

Even though I am fixing this regression here, it is still important to highlight that for IPV6, the user is not able to allocate an IP without specifying it.
This commit is contained in:
Rafael Weingärtner 2019-01-15 06:20:29 -02:00 committed by Rohit Yadav
parent df6288f4bc
commit 1725130975
1 changed files with 477 additions and 519 deletions