Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1130

June 4th, 2015 13:00

Smarts EDAA device creation payload

Hello,

I'm starting to do some automation using the Smarts 9.4 EDAA. According to the EDAA Programmer Guide, to create a device, you simply POST a device payload to /types/$device/instances. However, the only information I can find about the payload is that "Name" is required. I've tried posting various payloads to the server, but always get "DMT createInstance Name not specified" which goes back to "Name" being required. Does anybody know what the payload is supposed to look like or know of a document that has this information?

Thanks.

June 11th, 2015 08:00

Got it. Looks like should have been . Thanks Paul.

170 Posts

June 5th, 2015 02:00

Hi Paul,

Does the following KB article answer your questions regarding the EDAA:

https://support.emc.com/kb/188925 - How to post arguments through EDAA; EDAA API example

Thanks,

Kind Regards,

Paul O'Rourke

June 11th, 2015 06:00

Sorry for the delay in response, I'm only now able to get back to this. Anyway, thanks for the info, I'll give it a try.

June 11th, 2015 08:00

Alright, still no good.

Super simply, here is what I am doing:

var payload = " myRouter ";

var url = "http://www.blah.com:8080/smarts-edaa/msa/SAM/types/Router/instances";

var xmlHttp = new XMLHttpRequest();

xmlHttp.open("POST", url, false);

xmlHttp.setRequestHeader("Content-type", "application/xml");

xmlHttp.send(payload);

console.log(xmlHttp.responseText);

And the response I can gettting is:

Msa Internal Server Error. Reason: DMT createInstance Name not specified. Caused by: Internal MSA error

Any thoughts?

No Events found!

Top