cumulose
6 Indium

XMS / API Emulator

Jump to solution

Since most of us are forced to resort to using the REST API available with the XtremIO, is there an emulator available that will allow us to test the API at various levels of code? I need to make sure my code is compatible before upgrading.

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
8 Krypton

Re: XMS / API Emulator

Jump to solution

There is no simulator available at this time. One of our goals is to have RestAPI backward compatible with previous versions. So, if you have a specific RestAPI call working on the array today - you can assume (I understand you might not want to assume this) that it will work with the future versions also.

0 Kudos
5 Replies
8 Krypton

Re: XMS / API Emulator

Jump to solution

There is no simulator available at this time. One of our goals is to have RestAPI backward compatible with previous versions. So, if you have a specific RestAPI call working on the array today - you can assume (I understand you might not want to assume this) that it will work with the future versions also.

0 Kudos
cumulose
6 Indium

Re: XMS / API Emulator

Jump to solution

That works for people who want to develop for the platform that have access to an XtremIO, but that is going to be a limited subset of people. Without creating an emulator that is available to basically slime / fake output, it's going to be exceptionally hard for anyone to actually build anything for it.

It's part of the catch 22 where I've seen storage companies complain that open source developers aren't working on software for their hardware, but we can't exactly do it without the hardware (or a way to emulate it).

0 Kudos
8 Krypton

Re: XMS / API Emulator

Jump to solution

Trust me - you aren't the only person that wants one.

That being said, i have a cluster in my lab running 3.0 I can test this against, if you have a test suite?

0 Kudos
cumulose
6 Indium

Re: XMS / API Emulator

Jump to solution

Perfect! I don't have a test suite yet, but I can begin working on one for the core library. Once I have a php-unit test suite I'll shoot it your way. Thanks mattcowger for offering to help

I actually thought about building a PHP emulator since all you have to do is re-create the requests / responses from the API guide, but that will take significantly longer.

0 Kudos
8 Krypton

Re: XMS / API Emulator

Jump to solution

No problem.  I dont check these forums much, but please feel free to find me on twitter (@mcowger) or email (matt.cowger@emc.com) when you are good to go.

0 Kudos