Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-1019

Bug fixes for GCENodeDriver.ex_create_firewall()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.3.0
    • latest
    • Compute
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulmibus Paul Mibus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: