[LIBCLOUD-647] - in newCCI changing the value of sshKeys to a list conta...#416
[LIBCLOUD-647] - in newCCI changing the value of sshKeys to a list conta...#416doberloh wants to merge 1 commit into
Conversation
…ntaining a dictionary with format {'id':<numcerical_key_value>}
|
Can you please provide more background and reference to the documentation which explains how the payload of Thanks |
|
So I found this issue while trying to use libcloud v0.16.0. I suspected there was an issue in the libcloud code when I was getting errors back from the softlayer API while sending ex_keyname='keyname' into the create_node function. I opened a ticket with them and they sent me back a short code snippet using their python library here: https://github.com/softlayer/softlayer-python/tree/master/SoftLayer. In it they sent sshKeys as a list of one dictionary in the format of the change I have made. You can see where they handle ssh keys in their python library at line 350 of the _generate_create_dict method: https://github.com/softlayer/softlayer-python/blob/master/SoftLayer/managers/vs.py. It is the same code that I have modified the libcloud code to be. Hopefully that was enough info :) |
|
Thanks for the clarification. Looks good, merged into trunk. Thanks. |
...ining a dictionary with format {'id':<numcerical_key_value>}