-
Committer:
Tarmac
-
Author(s):
Alexander Sakhnov
-
Date:
2011-07-12 20:56:10 UTC
-
mfrom:
(1265.1.2 nova)
-
Revision ID:
tarmac-20110712205610-mps2bwr8qrls5bto
Fix bug 809316. While attempting to launch cloudpipe instance via 'nova-manage vpn run' command, it comes up with IP from instances DHCP pool and not the second IP from the subnet, which break the forwarding rules that allow users to access the vpn.
This is due 'allocate_fixed_ip' method in VlanManager doesn't receive 'vpn' as an argument from caller method and cloudpipe instances always considers as 'common' instances.