I was wondering if there is any way we can query the subnet information into WFA, in the same as it is presented in System Manager when a SVM is created. I think this would be very useful if you want to avoid duplicated IP address (Management and Data) when a SVM is created through WFA.
You must know that anything that you can do programmatically, you CAN do it using WFA. Its a very powerful automation framework.
Now to your question, you can use
java Net libraries in MVEL functions to do this check. This can be done at preview.
If not possibile using (1), you can use Powershell in the command code to do this validation. This is not going to do any validation at preview, but excution of workflow/command canmake this check before proceeding to next SVM creation.
If you give me your specific requirement instead of generic "subnet information", I can even post here a ready-to-use solution.
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Thanks for your reply, I’m designing some workflows in our Lab, but I was not able to find any the subnet information (e.g. name, IP range and available IP address - see below) from the "cm_storage.cluster".
I would like to create a function or command that allows the automatic selection of an IP address from an existing subnet to avoid duplicate IP address.