Skip to content

Instantly share code, notes, and snippets.

@pauljrob
Created August 28, 2016 07:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pauljrob/d5a7f22479f52757590bc6151c9f5f60 to your computer and use it in GitHub Desktop.
Save pauljrob/d5a7f22479f52757590bc6151c9f5f60 to your computer and use it in GitHub Desktop.
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