yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #46913
[Bug 1542819] Re: The details of security group contains "null"
@libosvar, thanks for pointing out. I just checked the code of
neutronclient, and I found that the "any" in the output "neutron
security-group-rule-show" is not a simple convert from null to "any".
So, we can't simply change all null to "any" in [2]. For example, when
remote-ip-prefix is null and remote-group-id is not null, the output
will like the following after convert.
{
"remote_group_id": "1c3ec647-7377-43c8-a046-4303b8d2b521",
"remote_ip_prefix": "any",
}
I think the result is more confusing. So, I will close this bug as
invalid.
[2] http://paste.openstack.org/show/488142/
** Changed in: neutron
Status: Triaged => Invalid
** Project changed: neutron => python-neutronclient
--
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 python-neutronclient:
Invalid
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/python-neutronclient/+bug/1542819/+subscriptions
References