code: def initiate_upgrade_action(self, components_mask, action):
          
  
          if action in (ACTION_UPLOAD_FOR_UPGRADE, ACTION_UPLOAD_FOR_COMPARE):
              if self._get_component_count(components_mask) != 1:
                  raise HpmError("more than 1 component not support for action")
  
          self.send_message_with_name('InitiateUpgradeAction',
                                      components=components_mask, action=action)
docs: Initiate Upgrade Action
          components:
          action:
              ACTION_BACKUP_COMPONENT = 0x00
              ACTION_PREPARE_COMPONENT = 0x01
              ACTION_UPLOAD_FOR_UPGRADE = 0x02
              ACTION_UPLOAD_FOR_COMPARE = 0x03