'Method used to get the status of member resource.
This method is used to get the status of member
resource belonged to the specific Load Balancer.
:param loadbalancer_id: The ID of the Load Balancer.
:param parent_id: The parent ID list of the member resource.
For the member resource, the parent_id should be [listener_id,
pool_id].
:returns: The status dictionary of the member
resource. The key is the ID of the member. The value is
the operating status of the member resource.'

def _get_member_status(self, loadbalancer_id, parent_id):

    resp = self._retrieve_loadbalancer_status_tree(loadbalancer_id)
    status_tree = resp.get('statuses').get('loadbalancer')
    status_dict = dict()
    listeners_status = status_tree.get('listeners')
    for listener_status in listeners_status:
        listener_id = listener_status.get('id')
        if (listener_id == parent_id[0]):
            pools_status = listener_status.get('pools')
            for pool_status in pools_status:
                if (pool_status.get('id') == parent_id[1]):
                    members_status = pool_status.get('members')
                    for member_status in members_status:
                        key = member_status.get('id')
                        if (key is None):
                            continue
                        value = member_status.get('operating_status')
                        status_dict[key] = value
                    break
            break
    return status_dict
