Created
August 28, 2016 07:26
-
-
Save pauljrob/d5a7f22479f52757590bc6151c9f5f60 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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