GitHub user zoopi01 opened a pull request:
https://github.com/apache/libcloud/pull/979
[LIBCLOUD-888] TypeError occurred when calling ex_list_nics in Azure ARM
Driver
## TypeError occurred when calling ex_list_nics in Azure ARM Driver
### Description
In Azure ARM mode, 'TypeError: not all arguments converted during string
formatting' occurs when calling ex_list_nics() method.
According to https://msdn.microsoft.com/en-us/library/mt163627.aspx, The
request URI form requires two parameters subscription-id and
resource-group-name. ex_list_nics() has resource-group-name as a parameter, but
it is not presented in the arguments list to format.
### Status
done, ready for review
### Checklist (tick everything that applies)
- [ ] [Code
linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide)
(required, can be done after the PR checks)
- [ ] Documentation
- [ ] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
- [ ]
[ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes)
(required for bigger changes)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zoopi01/libcloud LIBCLOUD888_patch
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/979.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #979
----
commit d72c706a959e20e90bbe9587f31914d3b8ed236f
Author: Choi Jongu <[email protected]>
Date: 2017-01-20T07:12:35Z
[LIBCLOUD-888] TypeError occurred when calling ex_list_nics in Azure ARM
Driver
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---