code: def activate(self, resource=None, timeout=3, wait_for_finish=False):
          
          return Task.execute(self, 'activate', json={'resource': resource},
              timeout=timeout, wait_for_finish=wait_for_finish)
docs: Activate this package on the SMC
  
          :param list resource: node href's to activate on. Resource is only
                 required for software upgrades
          :param int timeout: timeout between queries
          :raises TaskRunFailed: failure during activation (downloading, etc)
          :rtype: TaskOperationPoller