Floating IP addresses ordered in a weird way
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Expired
|
Low
|
Unassigned |
Bug Description
The floating ip:s are ordered according to UUID instead of IP, more information in the patch.
---
commit 83a10bf02a50795
Author: Ian Kumlien <email address hidden>
Date: Thu Apr 17 13:49:32 2014 +0200
Sorting floating IP:s according to IP.
While using alot of manually allocated floating ip:s we wondered why
the IP list wasn't sorted. While looking at it we found that the UI
actually does sort the IP but according to the UUID instead of the
actual IP address.
This change fixes this so that it's sorted according to IP.
Found-By: Marko Bocevski <email address hidden>
diff --git a/openstack_
index c4ebbd1..d884dee 100644
--- a/openstack_
+++ b/openstack_
@@ -69,7 +69,7 @@ class AssociateIPActi
- options = sorted([(ip.id, ip.ip) for ip in ips if not ip.port_id])
+ options = sorted([(ip.ip, ip.ip) for ip in ips if not ip.port_id])
if options:
else:
no longer affects: | openstack-community |
Ok, so this patch is a dud, since you still need the UUID which we effectively just removed.
Personally i think that this should be ip.ip, ip.id and then change whats actually displayed in the listview that i can't find atm.