def set_access_vlan(self, name, value=None, default=False, disable=False):
        string = 'switchport access vlan'
        command = self.command_builder(string, value=value, default=default,
                                       disable=disable)
        return self.configure_interface(name, command)
Configures the switchport access vlan
dataset/ETHPy150Open arista-eosplus/pyeapi/pyeapi/api/switchports.py/Switchports.set_access_vlan