Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
While accessing a DSS instance through the API, I am able to retrieve the node name ('nodeName' in the data returned by the "get_general_settings" method of DSSClient) but I can't find neither the node type neither the DSS version of the instance. Is there a way to get these information by means of the API from outside DSS?
Thanks in advance for your feedback.
One solution is to set those values in instance level global variables (requires admin rights), which can then be retrieved from the Python API. See attached images.
It works well for node type, as it does not change, but it is a less elegant solution for the version, as you will need to remember updating the variable after upgrades.
I hope this helps.
Thanks for your answer and your workaround! It would be also possible to maintain a table of the DSS nodes with their name (key), node type and dss version and lookup this table with the node name returned by the "get_general_settings" method. I was more thinking about the ability to retrieve these infromation from any DSS instance without having to do anything on it.
I have posted this wish in the "product ideas" section.
Thanks again and kind regards.