def _set_device_mtu(dev, mtu=None):
 if mtu:
  utils.execute('ip', 'link', 'set', dev, 'mtu', mtu, run_as_root=True, check_exit_code=[0, 2, 254])

def _set_device_mtu ( dev , mtu = None ) : if mtu : utils . execute ( 'ip' , 'link' , 'set' , dev , 'mtu' , mtu , run_as_root = True , check_exit_code = [ 0 , 2 , 254 ] )
set the device mtu .