Comments (6)
I know this might be considered a "frontend niceness" but it makes assigning IP addressees a complete pain and unhelpful, and the process makes no sense. It is not as straightforward as "go to the bottom of the list, find the next free one and assign it."
It is "pick through the list of addresses until you get to a high numbered one that looks like it may or may not be in the right sequence" (and a host of other IP address management issues...)
Also VERY ANNOYING is that this list always defaults to IPv6 when I never, ever care about IPv6 in this page, or assign IPv6 addresses in this way, since we already know what those are going to be, they're never picked from a list. I know you want to evangelise IPv6 and all that, but IXPs are already sold on IPv6. It just adds a needless annoying extra click in an already awkward workflow in the admin interface.
With the migration to Laravel, is there some possibility that this can be fixed?
from ixp-manager.
For reference, to help whoever works on this bug, it seems that this is governed by DataTables which is included from here.
The line that sets the actual sorting seems to be here.
On reflection this will probably be quite complex to change because rather than using DataTable's internal sorting types (string, numeric, date, html) it will require actually parsing the IP addresses, including IPv6 in its compacted form, etc...
from ixp-manager.
DataTables allows for custom sort functions (we already actually have
them in places).
It probably means a hidden column linked to the IP addresses with the
int32 for ipv4 and the fully decompressed v6 address.
It's a not insignificant bit of work which only yields some frontend
niceness so it'll be a pretty low priority.
On 19/07/13 14:03, Rowan Thorpe wrote:
For reference, to help whoever works on this bug, it seems that this is
governed by DataTables http://www.datatables.net which is included
from here
https://github.com/inex/IXP-Manager/blob/master/public/js/220-jquery.dataTables-1.9.4.js.The line that sets the actual sorting seems to be here
https://github.com/inex/IXP-Manager/blob/master/application/controllers/Ipv4AddressController.php#L110.On reflection this will probably be quite complex to change because
rather than using DataTable's internal sorting types (string, numeric,
date, html) it will require actually parsing the IP addresses, including
IPv6 in its compacted form, etc...—
Reply to this email directly or view it on GitHub
#21 (comment).
from ixp-manager.
http://datatables.net/plug-ins/sorting, search for "IP addresses".
from ixp-manager.
Nice 👍 I can see that only accurately sorts IPv4 dot-notation though, but that would still be an improvement for IPv6 (over alphabetical) anyway, until someone wants to contribute a thorough IPv6-sort to Datatables...
from ixp-manager.
Also /customer/list needs fixing because it Lexical sorts ASNs instead of numerically.
from ixp-manager.
Related Issues (20)
- Client View Statistics HOT 2
- Importing PeeringDB Info HOT 2
- Migrations fail on initial setup with an empty database HOT 1
- Add "restrictive" peering policy HOT 1
- ERROR : OSS_SNMP Exception Polling Switch xxxx by SNMP HOT 1
- MRTG config generation: add IPv6 enable flag HOT 1
- Query related to Looking glass for PfxExp table HOT 1
- Missing check for 32bit routeserver asn? HOT 1
- Getting issue with 32 bit route server ASN HOT 1
- ERROR: OSS_SNMP exception polling switch ports for DC01-LEAF-01 by SNMP HOT 1
- Can not update IRRDB if only IPv6 is configured (again) HOT 1
- Could not perform walk OID .1.3.6.1.2.1.31.1.1.1.18 HOT 4
- Master branch docker-compose setup broken; web interface error HOT 1
- Allow 2fa to be enabled on a per customer basis
- exception handler for Irrdb\\UpdateAsnDb, Irrdb\\UpdatePrefixDb HOT 2
- Whois PeeringDB closed Jan 2024
- IX-F export: allow excluding VLANs HOT 2
- Use MANRS API HOT 4
- Missing required parameter for [Route: customer@overview] [URI: customer/overview/{cust}/{tab?}] HOT 4
- Setup wizard for the initial database objects
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ixp-manager.