Opened 11 years ago
Closed 11 years ago
#148 closed (fixed)
xchange2db silently truncates Interface URNs at 64 characters
Reported by: | chaos@bbn.com | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Database | Version: | |
Keywords: | Cc: | ||
Dependencies: |
Description
I submitted XML (full submission at http://codepad.org/6LU040KO) containing these interfaces:
<interface name="urn:publicid:IDN+rothe002am.gpolab.bbn.com+interface+navis.gpolab.bbn.com:eth0" state="Unknown"> <address type="IPv4"> 192.1.249.166 </address> <address type="MAC"> fa:ca:de:5a:e6:a8 </address> </interface> <interface name="urn:publicid:IDN+rothe002am.gpolab.bbn.com+interface+navis.gpolab.bbn.com:eth1.1750:42143" state="Unknown"> <address type="IPv4"> 10.42.143.55 </address> </interface>
Both interface names show up in the database as:
urn:publicid:IDN+rothe002am.gpolab.bbn.com+interface+navis.gpola
- The interface name field should probably allow a length limit of 128 characters to support URNs better
- If a submission has a too-long interface name, xchange2db should reject it rather than truncating it
Change History (3)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Mitch actually set the field length limit on gmoc-db2 to 128, not 255.
He plans to update gmoc-db to 128 as well as part of Monday's maintenance.
comment:3 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
The interface URN length limit is now 128 characters on gmoc-db as well. I still think truncation shouldn't be silent, but that's not this moment's problem, so i'm going to close this.
Note: See
TracTickets for help on using
tickets.
Mitch increased the interface name field length limit on gmoc-db2 to 255 characters today.