RE: How do I pass in an array of references to cimcli?
"Hwang, Johnny" <[email protected]>
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <59187A369D10D048A8A8B52B1BD1FEA507E34358@SACEXCMBX02-PRD.hq.netapp.com> |
Thanks Anusha. Looks like it's gonna be like pulling teeth. Question answered thread closed. From: Kandepu, Anusha [mailto:[email protected]] Sent: Monday, June 11, 2012 9:56 PM To: Hwang, Johnny Cc: [email protected] Subject: RE: How do I pass in an array of references to cimcli? Hi Johnny , Please refer the below mentioned documentation for cimcli references operation . http://cvs.opengroup.org/cgi-bin/viewcvs.cgi/pegasus/src/Clients/cimcli/doc/cimcli.txt Regards, Anusha From: Hwang, Johnny [mailto:[email protected]] Sent: Tuesday, June 12, 2012 5:50 AM To: [email protected]<mailto:[email protected]> Subject: How do I pass in an array of references to cimcli? I'm using Pegasus 2.11.1 with Bug 9007 patch http://bugzilla.openpegasus.org/show_bug.cgi?id=9007 This is what I need to pass: Description ("The list of Identities to assign privilege to share") : Translatable] reference Identities[], This is what I'm trying to do: [root@smis-rhel5x64-07 ~]# cimcli -n root/ontap im 'ONTAP_FileExportService.CreationClassName="ONTAP_FileExportService",Name="ONTAP File Export Service",SystemCreationClassName="ONTAP_StorageSystem",SystemName="ONTAP:12345"' AssignPrivilegeToExportedShare Identities={ 'ONTAP_Identity.InstanceID="ONTAP:12345:NETAPP\\user1"' 'ONTAP_Identity.InstanceID="ONTAP:12345:NETAPP\\user2"'} /usr/ontap/smis/pegasus/bin/cimcli Pegasus Exception: The CIM name is not valid: ONTAP_Identity.InstanceID="ONTAP:12345:NETAPP\\user1". Cmd = im Object = ONTAP_FileExportService.CreationClassName="ONTAP_FileExportService",Name="ONTAP File Export Service",SystemCreationClassName="ONTAP_StorageSystem",SystemName="ONTAP:12345" WARNING: Expected exit code 0. Program delivered exit code (50) Pegasus Exception How do I pass an array reference as a parameter properly?