Bug 484421

Summary: RFE: API: add activationkey.listActivatedSystems
Product: [Community] Spacewalk Reporter: Brad Buckingham <bbuckingham>
Component: APIAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED CURRENTRELEASE QA Contact: Jesus M. Rodriguez <jesusr>
Severity: medium Docs Contact:
Priority: low    
Version: 0.5CC: bperkins
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-17 07:09:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 456553    

Description Brad Buckingham 2009-02-06 17:53:13 UTC
Description of problem:

The XMLRPC API doesn't currently provide a mechanism to allow a user to retrieve the list of systems that have been activated with a specific activation key.

Version-Release number of selected component (if applicable):


How reproducible:
Always... no such API exists

Steps to Reproduce:
1. look at api docs for activationkey namespace.  
  
Actual results:
Observe that no API exists to address this request.

Expected results:
An API (e.g. listActivatedSystems) exists and can be used to return the list of systems activated with a given activation key.

Additional info:

Comment 1 Brad Buckingham 2009-02-06 19:09:53 UTC
API added with git commit: c808bcb9aa4964e22366017bfdc0aaf0d5cb78a6


Method: listActivatedSystems
Description:
List the systems activated with the key provided.

Parameters:

    * string sessionKey
    * string key

Returns:

    * array:
          o int "id" - System id
          o string "hostname"
          o dateTime.iso8601 "last_checkin" - Last time server successfully checked in

Comment 2 Jesus M. Rodriguez 2009-04-14 14:12:44 UTC
Spacewalk 0.5 released.

Comment 3 Miroslav Suchý 2009-09-17 07:09:59 UTC
Spacewalk 0.5 has been released for long time ago.