summaryrefslogtreecommitdiff
path: root/neutron/plugins/bigswitch/servermanager.py
diff options
context:
space:
mode:
Diffstat (limited to 'neutron/plugins/bigswitch/servermanager.py')
-rw-r--r--neutron/plugins/bigswitch/servermanager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/neutron/plugins/bigswitch/servermanager.py b/neutron/plugins/bigswitch/servermanager.py
index 7b43ccfbcd..37169140c1 100644
--- a/neutron/plugins/bigswitch/servermanager.py
+++ b/neutron/plugins/bigswitch/servermanager.py
@@ -585,12 +585,12 @@ class ServerPool(object):
def rest_create_floatingip(self, tenant_id, floatingip):
resource = FLOATINGIPS_PATH % (tenant_id, floatingip['id'])
errstr = _("Unable to create floating IP: %s")
- self.rest_action('PUT', resource, errstr=errstr)
+ self.rest_action('PUT', resource, floatingip, errstr=errstr)
def rest_update_floatingip(self, tenant_id, floatingip, oldid):
resource = FLOATINGIPS_PATH % (tenant_id, oldid)
errstr = _("Unable to update floating IP: %s")
- self.rest_action('PUT', resource, errstr=errstr)
+ self.rest_action('PUT', resource, floatingip, errstr=errstr)
def rest_delete_floatingip(self, tenant_id, oldid):
resource = FLOATINGIPS_PATH % (tenant_id, oldid)