[RFE] A common description field for Neutron resources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Confirmed
|
Wishlist
|
Li Ma |
Bug Description
The user story is: Users can see human-readable security group
descriptions in Horizon because the security group model contains a
description field, but no such field exists for security group rules.
This makes it very confusing for users who have to manage complex
security groups.
I agree that one could encode descriptions as tags, but the problem I
see is that API consumers(Horizon, Users) would have to agree on some
common encoding. For example... To expose a security group rule
description in Horizon, horizon would have to apply and read tags like
'description:SSH Access for Mallory'.
With a tags-based implementation, if a user wants the description for a
security group rule via the API, they have to get the security group,
then filter the tags according to whatever format horizon chose to
encode the description as.
This is in contrast to getting the description of a security group: Get
the security group and access the description attribute.
I think that resource tags are great, but this seems like a
non-intuitive workaround for a specific data model problem: Security
Groups have descriptions, but Security Group Rules do not.
A discussion is under way in the mailing list:
http://
Changed in neutron: | |
assignee: | nobody → Li Ma (nick-ma-z) |
Firstly, it is easy to add a description for security group rule data model. But as stated above, description field is not like that tag field.
If each Neutron resource has a description field, it is easy for end-users to define its own message on a given resource object. Tag is used to classify but description is used to intuitively describe end-users thoughts.