summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKlaus Kämpf <kkaempf@suse.de>2010-09-13 16:11:52 +0200
committerKlaus Kämpf <kkaempf@suse.de>2010-09-13 16:11:52 +0200
commitbbf3fa3e1a3298dbfd21891ca478aacfc2cfeb22 (patch)
tree2091e174809307708106d7ed460d515f8c6ee37e
parent48a5b0a2081b20bbe092967708a687450b96f4c2 (diff)
downloadwsmancli-bbf3fa3e1a3298dbfd21891ca478aacfc2cfeb22.tar.gz
wsmancli-bbf3fa3e1a3298dbfd21891ca478aacfc2cfeb22.tar.xz
wsmancli-bbf3fa3e1a3298dbfd21891ca478aacfc2cfeb22.zip
references and associators enumeration commands cause an inverse request
In wsmancli-2.2.3, we notice that the references and associators enumeration commands cause an inverse request. That is, a "references" action command adds a "wsmb:AssociatedInstances" in the enumeration filter. And an "associators" action command adds a "wsmb:AssociationInstances" in the enumeration filter. An "associators" command DSP0200 section 5.3.2.14 enumerates "associated" classes. This statement is also defined by DSP0227 section 17.1 where it specifies in section 17.1.7 the use of "wsmb:AssociatedInstances" element in the filter. A "references" command DSP0200 section 5.3.2.16 enumerates "association" classes. This statement is also defined by DSP0227 section 17.1 where it specifies in section 17.1.9 the use of "wsmb:AssociationInstances" element in the filter.
-rw-r--r--src/wsman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wsman.c b/src/wsman.c
index 438d05c..1809cc9 100644
--- a/src/wsman.c
+++ b/src/wsman.c
@@ -826,7 +826,7 @@ int main(int argc, char **argv)
epr_delete_selector(epr, "ResultRole");
resultProperties = get_include_result_property(&propNum);
- filter = filter_create_assoc(epr, (op == WSMAN_ACTION_REFERENCES )?0:1,
+ filter = filter_create_assoc(epr, (op == WSMAN_ACTION_ASSOCIATORS )?0:1,
assocClass, resultClass, role, resultRole, resultProperties, propNum);
free_include_result_property(resultProperties);