← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1663168] Re: -1 is not a valid ip protocol number when add a other protocol rule in the security group.

 

** Changed in: horizon
     Assignee: Han Chao (hanchao-v) => (unassigned)

** Changed in: horizon
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1663168

Title:
  -1 is not a valid ip protocol number when add a other protocol rule in
  the security group.

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  In the security groups, users are allowed to manager their own rules,
  e.g. add a rule to the security group. If users choose "Other
  Protocol" for the rule, "IP Protocol" field is visible. The help text
  of the "IP Protocol" says, "Enter an integer value between 0 and 255
  (or -1 which means wildcard)." This means -1 should be a valid
  protocol number.

  Then if users input -1 for the wildcard use case of "IP Protocol", and
  click "Add" button to submit the form. The form will be returned with
  an error message, "Not a valid IP Protocol number", for the "IP
  Protocol" field. This indicates -1 is not valid, which conflicts with
  the help text and real use case.

  -1 here should represent for any, and it should be allowed and valid.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1663168/+subscriptions


References