summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova/db/api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/db/api.py b/nova/db/api.py
index 62368c438..6ff6ec2f3 100644
--- a/nova/db/api.py
+++ b/nova/db/api.py
@@ -1006,12 +1006,12 @@ def provider_fw_rule_get_all(context):
def provider_fw_rule_get_all_by_cidr(context, cidr):
"""Get all provider-level firewall rules."""
- return IMPL.provider_fw_rule_get_all_by_cidr(context)
+ return IMPL.provider_fw_rule_get_all_by_cidr(context, cidr)
def provider_fw_rule_destroy(context, rule_id):
"""Delete a provider firewall rule from the database."""
- return IMPL.provider_fw_rule_destroy(context)
+ return IMPL.provider_fw_rule_destroy(context, rule_id)
###################