AnsweredAssumed Answered

How to interpret ActionItems response

Question asked by sureshk on Jan 11, 2016
Latest reply on Jan 12, 2016 by nitya.vyas

Hi,

  I'm using "ActionItems" to determine if there are hosts available for deployment. I'm not sure considering the actionItems is the correct approach. Steps I follow for this:

1. Create a market

2. Get ActionLogs

3. use actionlog for the market and get actionitems.

 

The problem here is I'm unable to get details related to virtual machine or physical machine. I'm considering the "newClassName" attribute as the type of the resource that it is going to be. Please correct me if I'm wrong.

When I query actionitems, I get newClassName="storage" all the time. I'm unable to get newClassName=Physical machine or newClassName=virtual machine. As I am assuming physical machine or virtual machine as compute, i'm unable to proceed further as i need both compute and storage to be present on the same host.

 

There are actionTypes like START, ADD_PROVIDER etc..in the actionitems response. I'm not sure which actiontype to consider while finding out a host for deployment.

Outcomes