You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by zerthimon <gi...@git.apache.org> on 2014/05/21 17:01:44 UTC

[GitHub] libcloud pull request: LIBCLOUD-559_sec-groups new method to get s...

GitHub user zerthimon opened a pull request:

    https://github.com/apache/libcloud/pull/297

    LIBCLOUD-559_sec-groups new method to get security groups

    Current method of listing security groups [ex_list_security_groups()] only returns security group names. This method doesn't provide ability for filter security groups by names or ID, nor does it list security group's rules with no way to know which rules are in place.
    
    This patch adds new method of listing security groups: ex_get_security_groups() and new class: EC2SecurityGroup. The objects of new class have ingress_rules and egress_rules structures that reflect the EC2 security groups rules.
    
    The filter dict building code was moved into a separate function.
    This patch doesn't provide any unit tests (will be added it the concept is approved)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zerthimon/libcloud LIBCLOUD-559_sec-groups

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/libcloud/pull/297.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 #297
    
----
commit f3c75e6bf37c2eec98d44cdd04292c187a420298
Author: Lior Goikhburg <go...@gmail.com>
Date:   2014-05-21T14:54:44Z

    LIBCLOUD-559_sec-groups new method to get security groups

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] libcloud pull request: LIBCLOUD-559_sec-groups EC2 new method to g...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/libcloud/pull/297


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---