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

Neutron Security Group Rule requires port ranges when it should not

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.0
    • Fix Version/s: 1.9.3
    • Component/s: jclouds-labs-openstack
    • Labels:
      None

      Description

      Port range min/max are optional, however the code will throw an NPE here if they are not present:
      https://github.com/jclouds/jclouds-labs-openstack/blob/master/openstack-neutron/src/main/java/org/jclouds/openstack/neutron/v2/domain/Rule.java#L370

      Clearly this check is wrong.
      Also: probably good idea to remove the validation checks completely, as this is something we are moving away from.

        Attachments

          Activity

            People

            • Assignee:
              zack-s Zack Shoylev
              Reporter:
              zack-s Zack Shoylev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: