delete interface attach/detach commands
These two commands are not valid since the API are removed on server side. Change-Id: I17beed8fd7bd275dd187918a0a8f5b4a32aab902 Closes-bug: 1515526
This commit is contained in:
@@ -338,8 +338,6 @@ class Client(ClientBase):
|
||||
device_template_path = '/device-templates/%s'
|
||||
devices_path = '/devices'
|
||||
device_path = '/devices/%s'
|
||||
interface_attach_path = '/devices/%s/attach_interface'
|
||||
interface_detach_path = '/devices/%s/detach_interface'
|
||||
|
||||
vnfds_path = '/vnfds'
|
||||
vnfd_path = '/vnfds/%s'
|
||||
@@ -400,14 +398,6 @@ class Client(ClientBase):
|
||||
def delete_device(self, device):
|
||||
return self.delete(self.device_path % device)
|
||||
|
||||
@APIParamsCall
|
||||
def attach_interface(self, device, body=None):
|
||||
return self.put(self.attach_interface_path % device, body)
|
||||
|
||||
@APIParamsCall
|
||||
def detach_interface(self, device, body=None):
|
||||
return self.put(self.detach_interface_path % device, body)
|
||||
|
||||
_VNFD = "vnfd"
|
||||
|
||||
@APIParamsCall
|
||||
|
||||
Reference in New Issue
Block a user