I most likely doing something wrong but I have started to use NMSDK and it looks to me the query doesnt work, at least as I think it's intended.
I have a C-mode cluster with 90 volumes on it, when I query to get attributes of just one volume using its properties: junction-path and name, I get nevertheless all of them. This is a piece of the code (in perl):
my $desiredAttrs = NaElement->new("desired-attributes");
my $desiredAutoSpace = NaElement->new("volume-autosize-attributes");
my $desiredIdAttr = NaElement->new("volume-id-attributes");
my $desiredSpace = NaElement->new("volume-space-attributes");
my $out = $server->invoke_elem($nelem);
This give always the 90 volumes. am I missing something?, if I set max-records to 1, I do 90 round trips to get all volumes. The fact is that I never get just one. Name and Junction-path are like primary keys, they should return just one.