Remove APIParamsCall references
This decorator is no longer supported by the Neutron Client, so we can safely remove it. Change-Id: Ib12f18a4430725e703c7a680324d948fee306758 Closes-Bug:1570423
This commit is contained in:
parent
f3fe25bb76
commit
665f50b36d
|
@ -737,14 +737,12 @@ class AstaraExtClientWrapper(client.Client):
|
|||
routerstatus_path = '/dhrouterstatus'
|
||||
lbstatus_path = '/akloadbalancerstatus'
|
||||
|
||||
@client.APIParamsCall
|
||||
def update_router_status(self, router, status):
|
||||
return self.put(
|
||||
'%s/%s' % (self.routerstatus_path, router),
|
||||
body={'routerstatus': {'status': status}}
|
||||
)
|
||||
|
||||
@client.APIParamsCall
|
||||
def update_loadbalancer_status(self, load_balancer, status):
|
||||
return self.put(
|
||||
'%s/%s' % (self.lbstatus_path, load_balancer),
|
||||
|
|
|
@ -31,7 +31,6 @@ class ByoExtClientWrapper(client.Client):
|
|||
byonfs_path = '/byonfs'
|
||||
|
||||
|
||||
@client.APIParamsCall
|
||||
def create_byonf(self, byonf):
|
||||
return self.post(
|
||||
self.byonf_path,
|
||||
|
@ -49,11 +48,9 @@ class ByoExtClientWrapper(client.Client):
|
|||
body={'byonf': byonf}
|
||||
)
|
||||
|
||||
@client.APIParamsCall
|
||||
def list_byonfs(self, retrieve_all=True, **_params):
|
||||
return self.list('byonfs', self.byonf_path, retrieve_all, **_params)
|
||||
|
||||
@client.APIParamsCall
|
||||
def delete_byonf(self, byonf_id):
|
||||
return self.delete('%s/%s' % (self.byonf_path, byonf_id))
|
||||
|
||||
|
|
Loading…
Reference in New Issue