1afba5f082
At now, security gorup rules are sorted based on ip_protocol and from_port by default, but there are more higher level classification like direction and ethertype (like IPv4, IPv6). This commit improves the default sort order in more meaningful order. Also improves the handling of IP protocol which can be a string, an integer or None. Sorting in python 3 assumes all corresponding values have a same type, so we need to ensure IP protocols in all rules have a same type, so IP protocol fields are converted into a string before sorting. Change-Id: Ia45830e9953e92141a3ce91a78dd338960b5ac11 Closes-Bug: #1264738 |
||
---|---|---|
.. | ||
templates/security_groups | ||
__init__.py | ||
forms.py | ||
panel.py | ||
tables.py | ||
tests.py | ||
urls.py | ||
views.py |