Paul Mibus created LIBCLOUD-1019:
------------------------------------

             Summary: Bug fixes for GCENodeDriver.ex_create_firewall()
                 Key: LIBCLOUD-1019
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-1019
             Project: Libcloud
          Issue Type: Bug
          Components: Compute
    Affects Versions: 2.3.0
            Reporter: Paul Mibus
             Fix For: latest


Fixed two small bugs in GCENodeDriver.ex_create_firewall().

The first issue was that a direction check was being applied to determine 
whether allowed or denied would be passed to the GCE API call. Both ingress and 
egress rules can have allowed or denied blocks so this shouldn't be conditional 
on the direction.

The second issue was that source_ranges was automatically set to [0.0.0.0/0] if 
no other source filters were applied. Since source filters are invalid for 
egress rules, I added a check for the INGRESS direction prior to setting a 
default source range.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to