summaryrefslogtreecommitdiff
path: root/python/vyos/xml
AgeCommit message (Collapse)Author
2021-08-13xml: T3234: update instead of overwrite on repeated pathJohn Estabrook
(cherry picked from commit e5c61fc80119556bb1b61a80868d4a3470e07319)
2021-08-12T3574: add constraintGroup for combining validators with logical ANDJohn Estabrook
(cherry picked from commit 591b8bcadd8b6bbd46c61484193d2bf7e16bd1ae commit 31553283aaa929da63147082e85513e8d4dacf0e commit 59a4aadfe419eca16e6288b37d6c51acd9789903)
2021-06-13wwan: T3620: rename "wirelessmodem wlm" interfaces to new wwan interface treeChristian Poessinger
(cherry picked from commit c2a1c071e7d0a9ca754d7f5016eed7db188b3d1a)
2021-04-18xml: T3475: disable processing of syntaxVersion elementJohn Estabrook
(cherry picked from commit bafdc46e7af94b32aa3fed90c287ac170d764b7d)
2020-11-22defaults: T3082: multi_to_list must distinguish between values and defaultsJohn Estabrook
2020-11-22configdict: T3081: honor whitespace in multi node valuesJohn Estabrook
2020-10-03vyos.xml: T2956: add support for list of defaultValuesChristian Poessinger
Sometimes (PPPoE server is one of them) a simple defaultValue in the XML is not enough - several values should be set. In order to support a list of defaultValues you can now simply list them as a whitespace separated string. Example: <defaultValue>pap chap mschap mschap-v2</defaultValue> will generate a Python list ['pap', 'chap', 'mschap', 'mschap-v2'] when retrieved by vyos.xml.defaults()
2020-09-01xml: T2849: vyos.xml.defaults should return a list on multi nodesJohn Estabrook
2020-08-30config: T2636: get_config_dict() returns a list on multi node by defaultJohn Estabrook
Unless no_multi_convert is True, a single valued multi node will be returned as a list by get_config_dict(). Modification of Thomas Mangin's version.
2020-07-22xml: T2582: use xml for is_tag and is_leafThomas Mangin
2020-07-15xml: T2588: defaults should return gracefully on key errorJohn Estabrook
2020-07-05xml: T2582: rename xml tagsThomas Mangin
The current use of () does not allow to use found() Converting to [] like all other tags
2020-06-27xml: T2660: do replace - with _ for defaults when not flatteningThomas Mangin
2020-06-27xml: T2656: do not flatten dict by defaultChristian Poessinger
2020-06-27xml: T2656: option to not flatten the default dictThomas Mangin
2020-06-25xml: T2528: fix defaultsThomas Mangin
2020-06-25xml: T2528: fix to work with named tags (edit mode)Thomas Mangin
2020-06-23xml: T2588: fix mistake when determining if a node is multiThomas Mangin
2020-06-23xml: T2588: allow multiple values in defaultsThomas Mangin
2020-06-22xml: T2588: add gitignore for generated defaultsChristian Poessinger
2020-06-22xml: T2588: code to extract defaults values from xmlThomas Mangin