Zack Shoylev created JCLOUDS-864:
------------------------------------

             Summary: Neutron Security Group Rule requires port ranges when it 
should not
                 Key: JCLOUDS-864
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-864
             Project: jclouds
          Issue Type: Bug
          Components: jclouds-labs-openstack
    Affects Versions: 1.9.0
            Reporter: Zack Shoylev
            Assignee: Zack Shoylev
            Priority: Minor
             Fix For: 2.0.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to