Start a Conversation

Unsolved

P

1 Message

582

October 7th, 2021 20:00

About the use of constants.py of PyPowerStore

Hi,

As for the constants.py file, is it expected to be customized by users as they wish?

Example:

Here's the original line of SELECT_ALL_VOLUME in the file constants.py:

# Query params

SELECT_ALL_VOLUME = {"select": "id,name,description,type,wwn,appliance_id,"

Since users may need get additional fields, they change it to:

# Query params

SELECT_ALL_VOLUME = {"select": "id,name,description,type,wwn,nguid,appliance_id,node_affinity,"

Is it expected to use this file in this way?

Thank you

October 25th, 2021 04:00

Hi PatrickTan,

Thanks for posting this query. 

This is an opensource code, customer is free to modify & use it but the modified version of these code will not be supported by DellEMC.

However while reforming the select query please verify if all these fields (like nguid, node_affinity etc.) are available across all the versions of powerstore or else this query might break for a specific version of PowerStore storage.

However supporting NvMe related parameters are in our roadmap.

Thanks,

Arindam Datta

No Events found!

Top