Hello,
We would like to correlate the data for volume name, volume ip address and the owning vserver. For this we have been querying the 2 endpoints ( volume-get-iter, net-interface-get-iter )
Using the “volume-get-iter” we are able to get the volume name, the owning-vserver-name.
Using the “net-interface-get-iter” we are able to get the volume ip address and the owning-vserver-name. We would like to correlate this data and would like to get the information such as which ip address belongs to which volume, but unfortunately we are not finding the common data point in both endpoints output that can help us.
Below is the sample POC in Python I have created in order to explain the issue.
Here, for example the first print statement finds below correlation between volume name, the owning-vserver-name.
volume name | owning-vserver-name |
SVM01XOXO_root | SVM0001 |
lun_060822909021_030419_16_vol | SVM0001 |
nfs95ab | SVM0001 |
vol1230 | cluster96n-01 |
And for example the second print statement finds below correlation between volume address, the owning-vserver-name.
volume address | owning-vserver-name |
10.141.44.94 | SVM0001 |
10.141.44.95 | SVM0001 |
10.141.44.93 | SVM0001 |
10.141.44.92 | cluster96n |
10.141.44.91 | cluster96n |
We would like to map these volume ip addresses with the volume name but we certainly need one more common attribute in both these endpoint result’s output. Would you please suggest how this can be achieved.
Many thanks !