2016-02-04 03:49 AM
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.
2016-02-04 09:32 PM
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
If you give me your specific requirement instead of generic "subnet information", I can even post here a ready-to-use solution.
2016-02-08 01:19 AM
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.
2016-02-08 03:53 AM
Very interesting requirement.
Now, WFA doesn't have this subnet data in its db cm_storge, this is because OCUM itself have this data being monitored from the ONTAP cluster.
So what can you do here?
Again with option 2, you have 2 choices:
1. Build your new scheme. dictionary and your Data Source type to obtain this data from Ontap Cluster. This can have some advantages but needs some planning to do.
2. Have your command to get data at execution time and do all the math needed in your command code. Much straightforward, but right now I don' know what you may run into.
I've not tried this subnet thing much, so let me explore more on it.
I'll post the solution soon.