Merge pull request #7380 from carsongee/cg/quantum_ip_subnet

Fix missing variable initialization so an unspecified internal_network works
pull/7391/head
James Cammarata 11 years ago
commit d75eb03080

@ -142,6 +142,7 @@ def _get_server_state(module, nova):
return server_info, server return server_info, server
def _get_port_info(neutron, module, instance_id, internal_network_name=None): def _get_port_info(neutron, module, instance_id, internal_network_name=None):
subnet_id = None
if internal_network_name: if internal_network_name:
kwargs = { kwargs = {
'name': internal_network_name, 'name': internal_network_name,

Loading…
Cancel
Save