Fixed security group access
Change-Id: I97244e5d35e42f9419ffc4e7d447746c3c7a98e5
This commit is contained in:
parent
63b1c8f1ce
commit
0765cc21d3
@ -130,7 +130,7 @@ class Instance(object):
|
|||||||
if self.config.vnic_type or self.config.no_dhcp:
|
if self.config.vnic_type or self.config.no_dhcp:
|
||||||
# create the VM by passing a port ID instead of a net ID
|
# create the VM by passing a port ID instead of a net ID
|
||||||
self.port = self.net.create_port(int_net['id'],
|
self.port = self.net.create_port(int_net['id'],
|
||||||
[sec_group.id],
|
[sec_group['id']],
|
||||||
self.config.vnic_type)
|
self.config.vnic_type)
|
||||||
nics = [{'port-id': self.port['id']}]
|
nics = [{'port-id': self.port['id']}]
|
||||||
# no need to create server with a security group since
|
# no need to create server with a security group since
|
||||||
|
Loading…
x
Reference in New Issue
Block a user