Page MenuHomeVyOS Platform

Add lexicographical-numeric compare function for vytree/configtree
Closed, ResolvedPublicENHANCEMENT

Description

For consistent ordering of nodes (T5087), we prefer a lexicographical-numeric ordering, so that:

"bar" < "foo"
"foo2" < "foo14"
"foo137_v2" < "foo137_v14"

Add an implementation for vyos1x-config.

Details

Difficulty level
Normal (likely a few hours)
Version
vyos-1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

jestabro renamed this task from Add lexicographic-numerical compare function for vytree/configtree to Add lexicographical-numerical compare function for vytree/configtree.Mar 14 2023, 4:38 PM
jestabro triaged this task as Normal priority.
jestabro created this task.
jestabro created this object in space S1 VyOS Public.
jestabro updated the task description. (Show Details)
jestabro renamed this task from Add lexicographical-numerical compare function for vytree/configtree to Add lexicographical-numeric compare function for vytree/configtree.Mar 14 2023, 4:57 PM
jestabro moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.