A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » General Hardware & Peripherals » Storage & Hardrives
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Trying to communicate with an Brocade SMI-S Agent



 
 
Thread Tools Display Modes
  #1  
Old November 13th 07, 10:02 AM posted to comp.arch.storage
[email protected]
external usenet poster
 
Posts: 1
Default Trying to communicate with an Brocade SMI-S Agent

Hi
Im trying to communicate with an Brocade SMI-S Agent.
For that I wrote a small clientsoftware which sends CIM-XML conform
requests like this:

POST / HTTP/1.1
Authorization: Basic aWFrYWxiZXI6c2ltcHNvbnM=
User-Agent: curl/7.17.1 (sparc-sun-solaris2.10) libcurl/7.17.1 OpenSSL/
0.9.8g zlib/1.1.4
Host: 10.31.254.5:5986
Accept: */*
Content-Type: text/xml
Man: http://www.dmtf.org/cim/mapping/http/v1.0 ; ns=73
73-CIMOperation: MethodCall
73-CIMMethod: EnumerateInstances
73-CIMObject: root/cimv2
Content-Length: 483

?xml version=1.0 encoding=utf-8?
CIM CIMVERSION=2.0 DTDVERSION=2.0
MESSAGE ID=87872 PROTOCOLVERSION=1.0SIMPLEREQ
IMETHODCALL NAME=EnumerateInstances
LOCALNAMESPACEPATH
NAMESPACE NAME=root/NAMESPACE NAME=cimv2/
/LOCALNAMESPACEPATH
IPARAMVALUE NAME=ClassNameCLASSNAME NAME=Brocade_Zone/
/IPARAMVALUE
IPARAMVALUE NAME=LocalOnlyVALUETRUE/VALUE/IPARAMVALUE
IPARAMVALUE NAME=DeepInheritanceVALUETRUE/VALUE/IPARAMVALUE
/IMETHODCALL/SIMPLEREQ/MESSAGE/CIM

I send these messages with curl. The problem ist that these requests
dont work. It gets always an http 500 Internal Server Error, Error
Parsing XML. Whatever I send (also empty requests) I get the same
error.
But its a reply of the cimom because of the an Header "CIMOperation:
MethodResponse" in the reply.

Has someone some experience with that? I couldnt find any proper
documentation about that from Brocade. I follow the specification of
the DMTF but it looks like that is not enough.... May be it exists
open clientsoftware which I could use to look how the communication
exactly works?

  #2  
Old November 14th 07, 05:35 PM posted to comp.arch.storage
Dan Rumney
external usenet poster
 
Posts: 5
Default Trying to communicate with an Brocade SMI-S Agent

?xml version=1.0 encoding=utf-8?
CIM CIMVERSION=2.0 DTDVERSION=2.0
MESSAGE ID=87872 PROTOCOLVERSION=1.0SIMPLEREQ
IMETHODCALL NAME=EnumerateInstances
LOCALNAMESPACEPATH
NAMESPACE NAME=root/NAMESPACE NAME=cimv2/
/LOCALNAMESPACEPATH
IPARAMVALUE NAME=ClassNameCLASSNAME NAME=Brocade_Zone/
/IPARAMVALUE
IPARAMVALUE NAME=LocalOnlyVALUETRUE/VALUE/IPARAMVALUE
IPARAMVALUE NAME=DeepInheritanceVALUETRUE/VALUE/IPARAMVALUE
/IMETHODCALL/SIMPLEREQ/MESSAGE/CIM


You need to wrap your attribute values in double quotes for this to be
well-formed XML

?xml version="1.0" encoding="utf-8"?
CIM CIMVERSION="2.0" DTDVERSION="2.0"
..
..
..
etc

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lack of space to communicate? Come in,please! [email protected] Dell Computers 0 April 16th 07 08:57 AM
does logitech communicate stx works with the SDK? Deiter Webcams 1 January 4th 06 07:48 AM
Can IT people communicate with the rest Captin General 13 September 7th 05 05:13 PM
Can IT people communicate with the rest thumper General 4 September 1st 05 01:31 PM
HP 5470c won't communicate with PowerBook G4 [email protected] Scanners 1 March 19th 05 09:32 PM


All times are GMT +1. The time now is 01:01 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.