Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
params = {'name': 'md0', 'level': 'raid-1', 'block_devices': '290', 'block_devices': '291' }
machineinfo = client.post("nodes/4y3hfe/raids/", "create", **params)
I've tried the above also like this:
params = {'name': 'md0', 'level': 'raid-1', 'block_devices': '290', 'block_devices': '291' }
machineinfo = client.post("nodes/4y3hfe/raids/", "update", **params)
And:
params = {'name': 'md0', 'level': 'raid-1', 'block_devices': '290', 'block_devices': '291' }
machineinfo = client.post("nodes/4y3hfe/raids/", "update", **params)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment