code: def _create_netmap_config(self):
          
  
          netmap_path = os.path.join(self.working_dir, "NETMAP")
          try:
              with open(netmap_path, "w", encoding="utf-8") as f:
                  for bay in range(0, 16):
                      for unit in range(0, 4):
                          f.write("{ubridge_id}:{bay}/{unit}{iou_id:>5d}:{bay}/{unit}\n".format(ubridge_id=str(self.application_id + 512),
                                                                                                bay=bay,
                                                                                                unit=unit,
                                                                                                iou_id=self.application_id))
              log.info("IOU {name} [id={id}]: NETMAP file created".format(name=self._name,
                                                                          id=self._id))
          except OSError as e:
              raise IOUError("Could not create {}: {}".format(netmap_path, e))
docs: Creates the NETMAP file.