Closed bclaise closed 7 years ago
@bclaise
Can you try patching this simple change to confirm it sorts as you expect.
diff --git a/server/explorer/plugins/cxml.py b/server/explorer/plugins/cxml.py
index 7f4945d..aab2f70 100644
--- a/server/explorer/plugins/cxml.py
+++ b/server/explorer/plugins/cxml.py
@@ -407,7 +407,7 @@ class Cxml:
ids = value.split(':')
value_stmts.append(self.module_prefixes[ids[0]][0] + ':' + ids[1])
if stmts:
- return '|'.join(value_stmts)
+ return '|'.join(sorted(value_stmts))
return ''
def type_choice_values(self, s):
Here is a sorted screenshot.
From the ietf-interface, interfaces, interface, type: I want to set the interface type. The values are https://www.iana.org/assignments/ianaiftype-mib/ianaiftype-mib I can't see to find the ethernetCsmacd. Can you please sort the entries alphabetically.
Thanks, B.