code: def serial_adapters(self, serial_adapters):
          
  
          self._serial_adapters.clear()
          for _ in range(0, serial_adapters):
              self._serial_adapters.append(SerialAdapter(interfaces=4))
  
          log.info('IOU "{name}" [{id}]: number of Serial adapters changed to {adapters}'.format(name=self._name,
                                                                                                 id=self._id,
                                                                                                 adapters=len(self._serial_adapters)))
  
          self._adapters = self._ethernet_adapters + self._serial_adapters
docs: Sets the number of Serial adapters for this IOU VM.
  
          :param serial_adapters: number of adapters