From e9216b2dbcbf62192da4c5e5a50052cf691f51f6 Mon Sep 17 00:00:00 2001 From: ahothan Date: Tue, 15 Mar 2016 09:44:23 -0700 Subject: [PATCH] Fix sec group exception with sriov option Change-Id: I6cebc0a288dfc6a1397c6e9e0bb58c905c802c6d --- vmtp/instance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmtp/instance.py b/vmtp/instance.py index 1d3a8d7..750ddcf 100644 --- a/vmtp/instance.py +++ b/vmtp/instance.py @@ -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