Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-661

Can not create a single port firewall rule using google SecurityGroupExtension

    XMLWordPrintableJSON

Details

    Description

      When adding a new IpPermission for a SecurityGroup using the google implementation of the SecurityGroupExtension you cannot specify a single port.

      The IpPermission requires a to and from port, then the implementation (GoogleComputeEngineSecurityGroupExtension) fails if these two ports are the same. This works with the AWS implementation, so I guess is the correct way to specify a single port with this API.

      Should be fixable with a simple check and using addPort(Integer port) from the builder.

      Attachments

        1. JCLOUDS-661.patch
          4 kB
          Andrew Phillips
        2. JCLOUDS-661-2.patch
          2 kB
          Andrew Phillips

        Issue Links

          Activity

            People

              andrewp Andrew Phillips
              hendrens Stuart Hendren
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: