def METHOD_NAME(self, processed_data, _):
    """NXOS VPC data massaging"""
    mlagDualPorts = []
    mlagSinglePorts = []
    mlagErrorPorts = []
    if not processed_data:
        return processed_data
    for entry in processed_data:
        # systemID is a mandatory parameter
        domainid = entry.get('domainId', '')
        if not domainid or (domainid == 'not configured'):
            processed_data = []
            return processed_data
        mlagSinglePorts = list(filter(
            lambda x: x == '1',
            entry.get('_forwardViaPeerLinkList', []) or []))
        mlagErrorPorts = list(filter(
            lambda x: x not in ['consistent', 'success', 'not-applicable'],
            entry.get('_portConfigSanityList', []) or []))
        mlagDualPorts = entry.get('_portList', []) or []
        mlagDualPorts = list(filter(
            lambda x: x not in mlagSinglePorts and x not in mlagErrorPorts,
            mlagDualPorts))
        if entry.get('peerLinkStatus', '') in [1, "up"]:
            entry['peerLinkStatus'] = 'up'
        else:
            entry['peerLinkStatus'] = 'down'
        entry['peerLink'] = expand_nxos_ifname(entry['peerLink'])
        entry['peerAddress'] = entry.get('peerAddress', [])
        entry['mlagDualPortsList'] = [
            expand_nxos_ifname(x) for x in mlagDualPorts]
        entry['mlagDualPortsCnt'] = len(mlagDualPorts)
        entry['mlagSinglePortsList'] = [
            expand_nxos_ifname(x) for x in mlagSinglePorts]
        entry['mlagSinglePortsCnt'] = len(mlagSinglePorts)
        entry['mlagErrorPortsList'] = [
            expand_nxos_ifname(x) for x in mlagErrorPorts]
        entry['mlagErrorPortsCnt'] = len(mlagErrorPorts)
        entry['state'] = 'active' \
            if entry['state'].strip() in ['peer-ok',
                                          'peer adjacency formed ok'] \
            else 'dead'
        if entry['configSanity'] == "success":
            entry['configSanity'] = 'consistent'
        if entry['configSanity'] not in ['consistent', 'success']:
            if 'reason' in entry:
                entry['configSanity'] = entry.get('_reason', '')
    return processed_data