Start a Conversation

Unsolved

This post is more than 5 years old

1967

May 14th, 2017 12:00

How to executes the command without prompting for confirmation yes/no in XtremIO?

How to executes the command without prompting for confirmation yes/no in XtremIO?

Example:

xmcli (admin)> remove-snapshot-set ss-id=1

Deleting snapshot set [1] will also remove its corresponding snapshots. Are you sure? (Yes/No): yes

Removed Snapshot Set SnapshotSet.1494742847073 [1]

I want to execute this command without prompting confirmation yes/no.@

May 15th, 2017 12:00

Hi Mabela,

 

Thanks for your reply.

How to install or integrate REST in Linux OS for XtremIO? Please suggest.

mabela 

33 Posts

May 15th, 2017 12:00

Hi,

Can you evaluate the use of the XtremIO RESTful API? REST is better suited for scripting, and we guarantee backwards compatibility between versions, making sure scripts continue to work as we make modifications and enhancements to the REST API. The REST API does not require you to pass a yes/no.

727 Posts

May 16th, 2017 08:00

There is nothing that needs to be installed on your end to use XtremIO RestAPI interface. It is served directly from the XMS - just like how you use CLI commands.

The RestAPI guide provides examples of how to use RestAPI using different clients.

33 Posts

May 16th, 2017 08:00

You can, for example, write your script in Python to call the REST API from your linux OS. As Avi mentioned above, from an XtremIO perspective, there is nothing you need to install as the REST server is part of the XMS. So just point your REST calls to the XMS server and you are good.

No Events found!

Top