From 4cccb581f3a00674d743f38eff52e4ab45559401 Mon Sep 17 00:00:00 2001 From: armando-migliaccio Date: Mon, 25 Aug 2014 11:10:16 -0700 Subject: [PATCH] Remove status initialization from plugin's create_firewall This is overwritten by the DB class method, so here is not necessary. Change-Id: I7bda448dab81992c8fb6ef8d771138ff070360ba --- neutron/services/firewall/fwaas_plugin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/neutron/services/firewall/fwaas_plugin.py b/neutron/services/firewall/fwaas_plugin.py index 6a9fd1c543..4e206db0f5 100644 --- a/neutron/services/firewall/fwaas_plugin.py +++ b/neutron/services/firewall/fwaas_plugin.py @@ -224,7 +224,6 @@ class FirewallPlugin(firewall_db.Firewall_db_mixin): filters={'tenant_id': [tenant_id]}) if fw_count: raise FirewallCountExceeded(tenant_id=tenant_id) - firewall['firewall']['status'] = const.PENDING_CREATE fw = super(FirewallPlugin, self).create_firewall(context, firewall) fw_with_rules = ( self._make_firewall_dict_with_rules(context, fw['id']))