Fix sec group exception with sriov option
Change-Id: I6cebc0a288dfc6a1397c6e9e0bb58c905c802c6d
This commit is contained in:
parent
edf27a0ff4
commit
e9216b2dbc
@ -92,7 +92,7 @@ class Instance(object):
|
||||
if self.config.vnic_type:
|
||||
# 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user