Devices created from VNA into PM are reporting LifeCycleState as N/A in odataquery
search cancel

Devices created from VNA into PM are reporting LifeCycleState as N/A in odataquery

book

Article ID: 219688

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration

Issue/Introduction

When a device is discovered in VNA it is pushed into PM. In PM itself the device shows its LifeCycleState as active. In ODataQuery it is showing as N/A..





OData Query
O
 
OData Result
 
 

Environment

Release : 20.2

Component : PERFORMANCE MANAGEMENT INTEGRATIONS

Cause

LifeCycleState  is not persisted attribute, since its value can be changed frequently.  It's value  stored in the iRep.

Resolution

This is fixed in 21.2.2.

To make this attribute available through the open API added a new entity type devicelifestatus that has one to  one relationship with the device.

To get  device life status use  expand operator, look at  the following query:

/odata/api/devices?$expand=devicelifecycle&$select=ID,Name,devicelifecycle/State