From 3d747bda7fc4a45aee0fd560f178c3da9bbabadb Mon Sep 17 00:00:00 2001 From: Roey Chen Date: Wed, 16 Mar 2016 03:04:47 -0700 Subject: [PATCH] Fix security-group bulk rule creation Change-Id: I4860f3085e6638cc21df2f52513dfba800a8f42f --- vmware_nsx/plugins/nsx_v/plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vmware_nsx/plugins/nsx_v/plugin.py b/vmware_nsx/plugins/nsx_v/plugin.py index be78a61716..3685d01330 100644 --- a/vmware_nsx/plugins/nsx_v/plugin.py +++ b/vmware_nsx/plugins/nsx_v/plugin.py @@ -2124,6 +2124,7 @@ class NsxVPluginV2(addr_pair_db.AllowedAddressPairsMixin, nsxv_db.add_neutron_nsx_rule_mapping( context.session, neutron_rule_id, nsx_rule_id) for i, r in enumerate(sg_rules): + rule = r['security_group_rule'] self._save_extended_rule_properties(context, rule) self._get_security_group_rule_properties(context, new_rule_list[i])