def move_lun(self, path, new_path):
    'Moves the LUN at path to new path.'
    seg = path.split('/')
    new_seg = new_path.split('/')
    LOG.debug('Moving LUN %(name)s to %(new_name)s.', {'name': seg[(- 1)], 'new_name': new_seg[(- 1)]})
    lun_move = netapp_api.NaElement('lun-move')
    lun_move.add_new_child('path', path)
    lun_move.add_new_child('new-path', new_path)
    self.connection.invoke_successfully(lun_move, True)
Moves the LUN at path to new path.
def move_lun(self, path, new_path):
    
    seg = path.split('/')
    new_seg = new_path.split('/')
    LOG.debug('Moving LUN %(name)s to %(new_name)s.', {'name': seg[(- 1)], 'new_name': new_seg[(- 1)]})
    lun_move = netapp_api.NaElement('lun-move')
    lun_move.add_new_child('path', path)
    lun_move.add_new_child('new-path', new_path)
    self.connection.invoke_successfully(lun_move, True)