You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Zack Shoylev (JIRA)" <ji...@apache.org> on 2015/03/27 13:07:52 UTC

[jira] [Commented] (JCLOUDS-864) Neutron Security Group Rule requires port ranges when it should not

    [ https://issues.apache.org/jira/browse/JCLOUDS-864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14383734#comment-14383734 ] 

Zack Shoylev commented on JCLOUDS-864:
--------------------------------------

https://github.com/jclouds/jclouds-labs-openstack/pull/185

> 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)