'Remove a storage group from its parent storage group.
This method removes a child storage group from its parent group.
:param array: the array serial number
:param child_sg: the name of the child sg
:param parent_sg: the name of the parent sg
:param extra_specs: the extra specifications'

def remove_child_sg_from_parent_sg(self, array, child_sg, parent_sg, extra_specs):

    payload = {'editStorageGroupActionParam': {'removeStorageGroupParam': {'storageGroupId': [child_sg], 'force': 'true'}}}
    (status_code, job) = self.modify_storage_group(array, parent_sg, payload)
    self.wait_for_job('Remove    child    sg    from    parent    sg', status_code, job, extra_specs)
