code: def add_firmware_image(self, name, datafile, **kwargs):
          
          kwargs.update({'name': name})
          firmware_image = FirmwareImage._create_request_map(kwargs)
          firmware_image.update({'datafile': datafile})
          api = self._get_api(update_service.DefaultApi)
          return FirmwareImage(
              api.firmware_image_create(**firmware_image)
          )
docs: Add a new firmware reference.
  
          :param str name: Firmware file short name (Required)
          :param str datafile: The file object or *path* to the firmware image file (Required)
          :param str description: Firmware file description
          :return: the newly created firmware file object
          :rtype: FirmwareImage