You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by GitBox <gi...@apache.org> on 2021/03/11 22:57:21 UTC
[GitHub] [libcloud] dpeschman opened a new pull request #1569: Support updating allowed_address_pairs on OpenStack ports
dpeschman opened a new pull request #1569:
URL: https://github.com/apache/libcloud/pull/1569
## Support updating allowed_address_pairs on OpenStack ports
### Description
Add support to OpenStack_2_NodeDriver for updating allowed-address-pairs on node ports. This is a security extension that allows users to specify which IP and MAC addresses a node can use to communicate.
https://docs.openstack.org/api-ref/network/v2/index.html#allowed-address-pairs
### Status
- done, ready for review
### Checklist (tick everything that applies)
- [x] [Code linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide) (required, can be done after the PR checks)
- [ ] Documentation
- [x] [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)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [libcloud] micafer commented on pull request #1569: Support updating allowed_address_pairs on OpenStack ports
Posted by GitBox <gi...@apache.org>.
micafer commented on pull request #1569:
URL: https://github.com/apache/libcloud/pull/1569#issuecomment-799192126
> LGTM, thanks for contribution.
>
> @micafer can you please also review this change?
It LGTM also.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [libcloud] codecov-io commented on pull request #1569: Support updating allowed_address_pairs on OpenStack ports
Posted by GitBox <gi...@apache.org>.
codecov-io commented on pull request #1569:
URL: https://github.com/apache/libcloud/pull/1569#issuecomment-797112906
# [Codecov](https://codecov.io/gh/apache/libcloud/pull/1569?src=pr&el=h1) Report
> Merging [#1569](https://codecov.io/gh/apache/libcloud/pull/1569?src=pr&el=desc) (5786481) into [trunk](https://codecov.io/gh/apache/libcloud/commit/174f409a833af5730d13cb47da05533615dbf8db?el=desc) (174f409) will **decrease** coverage by `0.08%`.
> The diff coverage is `85.71%`.
[](https://codecov.io/gh/apache/libcloud/pull/1569?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## trunk #1569 +/- ##
==========================================
- Coverage 83.08% 83.00% -0.09%
==========================================
Files 394 394
Lines 84795 84950 +155
Branches 9004 9037 +33
==========================================
+ Hits 70456 70516 +60
- Misses 11274 11369 +95
Partials 3065 3065
```
| [Impacted Files](https://codecov.io/gh/apache/libcloud/pull/1569?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [libcloud/compute/drivers/openstack.py](https://codecov.io/gh/apache/libcloud/pull/1569/diff?src=pr&el=tree#diff-bGliY2xvdWQvY29tcHV0ZS9kcml2ZXJzL29wZW5zdGFjay5weQ==) | `85.84% <50.00%> (+0.10%)` | :arrow_up: |
| [libcloud/test/compute/test\_openstack.py](https://codecov.io/gh/apache/libcloud/pull/1569/diff?src=pr&el=tree#diff-bGliY2xvdWQvdGVzdC9jb21wdXRlL3Rlc3Rfb3BlbnN0YWNrLnB5) | `94.45% <100.00%> (+0.01%)` | :arrow_up: |
| [libcloud/compute/drivers/equinixmetal.py](https://codecov.io/gh/apache/libcloud/pull/1569/diff?src=pr&el=tree#diff-bGliY2xvdWQvY29tcHV0ZS9kcml2ZXJzL2VxdWluaXhtZXRhbC5weQ==) | `64.28% <0.00%> (-0.98%)` | :arrow_down: |
| [libcloud/compute/drivers/outscale.py](https://codecov.io/gh/apache/libcloud/pull/1569/diff?src=pr&el=tree#diff-bGliY2xvdWQvY29tcHV0ZS9kcml2ZXJzL291dHNjYWxlLnB5) | `8.66% <0.00%> (-0.02%)` | :arrow_down: |
| [libcloud/common/base.py](https://codecov.io/gh/apache/libcloud/pull/1569/diff?src=pr&el=tree#diff-bGliY2xvdWQvY29tbW9uL2Jhc2UucHk=) | `90.59% <0.00%> (+0.02%)` | :arrow_up: |
| [libcloud/test/compute/test\_ovh.py](https://codecov.io/gh/apache/libcloud/pull/1569/diff?src=pr&el=tree#diff-bGliY2xvdWQvdGVzdC9jb21wdXRlL3Rlc3Rfb3ZoLnB5) | `97.34% <0.00%> (+0.02%)` | :arrow_up: |
| [libcloud/test/storage/test\_azure\_blobs.py](https://codecov.io/gh/apache/libcloud/pull/1569/diff?src=pr&el=tree#diff-bGliY2xvdWQvdGVzdC9zdG9yYWdlL3Rlc3RfYXp1cmVfYmxvYnMucHk=) | `94.89% <0.00%> (+0.21%)` | :arrow_up: |
| [libcloud/storage/drivers/azure\_blobs.py](https://codecov.io/gh/apache/libcloud/pull/1569/diff?src=pr&el=tree#diff-bGliY2xvdWQvc3RvcmFnZS9kcml2ZXJzL2F6dXJlX2Jsb2JzLnB5) | `86.84% <0.00%> (+0.60%)` | :arrow_up: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/libcloud/pull/1569?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/libcloud/pull/1569?src=pr&el=footer). Last update [174f409...5786481](https://codecov.io/gh/apache/libcloud/pull/1569?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [libcloud] Kami commented on pull request #1569: Support updating allowed_address_pairs on OpenStack ports
Posted by GitBox <gi...@apache.org>.
Kami commented on pull request #1569:
URL: https://github.com/apache/libcloud/pull/1569#issuecomment-830873045
@dpeschman Yeah, that seems reasonable for - just please prefix those methods with ``ex_`` since they are not part of the common / standard API.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [libcloud] Kami commented on pull request #1569: Support updating allowed_address_pairs on OpenStack ports
Posted by GitBox <gi...@apache.org>.
Kami commented on pull request #1569:
URL: https://github.com/apache/libcloud/pull/1569#issuecomment-830874771
I merged change into trunk - thanks for the contribution.
Please feel free to open a new PR for those two new additional methods.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [libcloud] Kami merged pull request #1569: Support updating allowed_address_pairs on OpenStack ports
Posted by GitBox <gi...@apache.org>.
Kami merged pull request #1569:
URL: https://github.com/apache/libcloud/pull/1569
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [libcloud] dpeschman commented on pull request #1569: Support updating allowed_address_pairs on OpenStack ports
Posted by GitBox <gi...@apache.org>.
dpeschman commented on pull request #1569:
URL: https://github.com/apache/libcloud/pull/1569#issuecomment-804229949
I'm tempted to also add methods to add and remove a single address-pair. Would you be interested in this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org