def _parse_trunk_groups(self, config):
        values = re.findall(r'switchport trunk group ([^\s]+)', config, re.M)
        return dict(trunk_groups=values)
Scans the specified config and parses the trunk group values
dataset/ETHPy150Open arista-eosplus/pyeapi/pyeapi/api/switchports.py/Switchports._parse_trunk_groups