[LIBCLOUD-749] CloudStack: fixed method ex_authorize_security_group_ingress#580
Conversation
There was a problem hiding this comment.
Can you please explicitly declare all the supported arguments instead of using **kwargs?
|
Added one comment, besides that, LGTM. Thanks. /cc @Runseb |
|
LGTM, I will merge in the coming days |
…urity_group_ingress
|
@Kami : Thanks for the comment which allowed me to discover a small issue in the docstring (
Yes, of course. I used To be consistent I would suggest to keep it like this. |
|
Sorry for the delay - I went ahead and merged the changes. For now, lets keep |
Closes #580 Signed-off-by: Tomaz Muraus <tomaz@apache.org>
…x_authorize_security_group_ingress Closes #580 Signed-off-by: Tomaz Muraus <tomaz@apache.org>
Corresponding ticket in the JIRA issue tracker: LIBCLOUD-749
This PR fixes the following bugs:
ICMPandTCPis allowed even if the doc of the parameterprotocolmentionTCPandUDP.ICMPcannot be used because there is no way to specify the two required parametersicmptypeandicmpcode.endportis not used if it's defined.listbut adict.This PR also does the following changes:
kwargsto allow to provide extra parameters defined in the API and in the docstring.AH,GREandESPwhich are available on some Cloud like Exoscale.