def default(self, name):
        commands = ['interface %s' % name, 'no ip address',
                    'default switchport']
        return self.configure(commands)
Defaults the configuration of the switchport interface
dataset/ETHPy150Open arista-eosplus/pyeapi/pyeapi/api/switchports.py/Switchports.default