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

Neutron Security Group Rule requires port ranges when it should not

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.9.0
    • 1.9.3
    • jclouds-labs-openstack
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: