

def _parse_flowcontrol_receive(self, config):
    'Scans the config block and returns the flowcontrol receive value\n\n        Args:\n            config (str): The interface config block to scan\n\n        Returns:\n            dict: Returns a dict object with the flowcontrol receive value\n                retrieved from the config block.  The returned dict object\n                is intended to be merged into the interface resource dict\n        '
    value = 'off'
    match = re.search('flowcontrol receive (\\w+)$', config, re.M)
    if match:
        value = match.group(1)
    return dict(flowcontrol_receive=value)

dataset/ETHPy150Open arista-eosplus/pyeapi/pyeapi/api/interfaces.py EthernetInterface._parse_flowcontrol_receive/original