← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1542819] Re: The details of security group contains "null"

 

I reported this bug, because I think it will be hard for a non-
programmer to understand the meaning. And the output of security-group
cli are inconsistent(null, any, empty).

@nate-johnston, I agree with you that hiding the null value may be in-
appropriate, because it is implicit.

I will update the bug to change the null/empty value to "any" to see
where the discussion goes.

** Description changed:

  When using security group, I found the some output of security group will be "null". This happens when the value is not specified.
  Under the same condition, "neutron security-group-rule-list" will report "any". However, "neutron security-group-rule-show" will report empty.
  
  The details can be found at [1].
  
- I think, if the value it not specified for a security group rule, we can
- hide it from the output of "neutron security-group-show". It is
- meaningless to show a "null" to user.
- 
+ I think, if the value it not specified for a security group rule, we
+ could show "any" to user. This will make the output be consistent, and
+ the more easily to understand.
  
  [1]  http://paste.openstack.org/show/486190/

** Changed in: neutron
       Status: Opinion => New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1542819

Title:
  The details of security group contains "null"

Status in neutron:
  New

Bug description:
  When using security group, I found the some output of security group will be "null". This happens when the value is not specified.
  Under the same condition, "neutron security-group-rule-list" will report "any". However, "neutron security-group-rule-show" will report empty.

  The details can be found at [1].

  I think, if the value it not specified for a security group rule, we
  could show "any" to user. This will make the output be consistent, and
  the more easily to understand.

  [1]  http://paste.openstack.org/show/486190/

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


References