Fixed security group access

Change-Id: I97244e5d35e42f9419ffc4e7d447746c3c7a98e5
This commit is contained in:
Kerim Gokarslan 2017-09-07 10:52:56 -07:00
parent 63b1c8f1ce
commit 0765cc21d3
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class Instance(object):
if self.config.vnic_type or self.config.no_dhcp:
# create the VM by passing a port ID instead of a net ID
self.port = self.net.create_port(int_net['id'],
[sec_group.id],
[sec_group['id']],
self.config.vnic_type)
nics = [{'port-id': self.port['id']}]
# no need to create server with a security group since