Commit 308d6da5 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

ui: Remove deprecated floating IPs API calls

parent dcc1d0a3
......@@ -1439,28 +1439,6 @@
},
error, 'resize', params);
break;
case 'addFloatingIp':
this.__make_api_call(this.get_action_url(), // vm actions url
"create", // create so that sync later uses POST to make the call
{addFloatingIp: {address:params.address}}, // payload
function() {
self.state('CONNECT');
success.apply(this, arguments);
snf.api.trigger("call");
},
error, 'addFloatingIp', params);
break;
case 'removeFloatingIp':
this.__make_api_call(this.get_action_url(), // vm actions url
"create", // create so that sync later uses POST to make the call
{removeFloatingIp: {address:params.address}}, // payload
function() {
self.state('DISCONNECT');
success.apply(this, arguments);
snf.api.trigger("call");
},
error, 'addFloatingIp', params);
break;
case 'destroy':
this.__make_api_call(this.url(), // vm actions url
"delete", // create so that sync later uses POST to make the call
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment