def _parse_access_vlan(self, config):
        value = re.search(r'switchport access vlan (\d+)', config)
        return dict(access_vlan=value.group(1))
Scans the specified config and parse the access-vlan value
dataset/ETHPy150Open arista-eosplus/pyeapi/pyeapi/api/switchports.py/Switchports._parse_access_vlan