Page MenuHomeVyOS Platform

Add delete_tag to configtree.py
Open, NormalPublicENHANCEMENT

Description

The function configtree.set_tag is used heavily in migration scripts, and is a binding to the backend 'set_tag(path, true). The migration script bgp/0-to-1 elegantly moves an existing tag node to a leaf node, and in this case, delete_tag is not, strictly, needed. To generalize the method there, however, delete_tag should be used. This is as simple as adding a binding to the backend 'set_tag(path, false).

Details

Difficulty level
Easy (less than an hour)
Version
vyos-1.4, vyos-1.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Internal change (not visible to end users)

Event Timeline

jestabro triaged this task as Normal priority.
jestabro created this object in space S1 VyOS Public.
jestabro updated the task description. (Show Details)

Lower priority and will need testing when implemented.