[UI] Sorting of IP addresses is not intuitive

Bug #1425410 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Medium
Manoj

Bug Description

R2.1 Build 36 Ubuntu 12.04.3 Icehouse

In Configure > Networking > Ports, i have ports with IPs from 10.1.0.1 to 10.1.43.51
When I sort, the ordering is

10.1.1.47
10.1.10.158
10.1.10.42
...
..
10.1.2.x

and so on

Sorting of IP addresses should be considering each octet while sorting and not sort it as a string

Tags: ui
Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :
Manoj (manojgn)
Changed in juniperopenstack:
assignee: Rahul (rahuls) → Manoj (manojgn)
status: New → In Progress
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/8213
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/8214
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/8213
Submitter: Manoj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/8214
Committed: http://github.org/Juniper/contrail-web-core/commit/cbb029b0fa8e218d3bec69098ee7490881f5fd0d
Submitter: Zuul
Branch: master

commit cbb029b0fa8e218d3bec69098ee7490881f5fd0d
Author: Manoj Naik <email address hidden>
Date: Tue Mar 10 18:01:10 2015 +0530

Related-Bug: #1425410 - Added the functionality to specify a sorter for a column in the grid. This will be called if it is specified in the grid config. Added a comparatorIP function which can be used as sorter function for sorting the IPs. We can add such functions in the future for providing user defined sorting.

Change-Id: I7399cb44659a6456310e27bc1e5a0a21d6d72b8d

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/8213
Committed: http://github.org/Juniper/contrail-web-controller/commit/7834dfc20436535dea5afb6136bbe44024ae16df
Submitter: Zuul
Branch: master

commit 7834dfc20436535dea5afb6136bbe44024ae16df
Author: Manoj Naik <email address hidden>
Date: Tue Mar 10 17:56:28 2015 +0530

Closes-Bug: #1425410 - Using the comparatorIP for sorting the columns which have ip's.

Change-Id: I1fa558b0b74a7b65844989745c45a55ecb609b7b

Changed in juniperopenstack:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.