Page MenuHomePhabricator

Add node renaming to vyos.configtree
Closed, ResolvedPublic


Without support for node renaming, many migration scripts would have to be written in a very indirect way, with renaming nodes by deleting and recreating them, which is very inefficient for programmers and machines alike.

Old scripts used to do it with sed a lot of time, which has obvious problems.

The syntax will be:

config.rename(path, newname)


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close

Event Timeline

dmbaturin changed the task status from Open to In progress.
dmbaturin triaged this task as High priority.
dmbaturin created this object with visibility "Public (No Login Required)".
dmbaturin closed this task as Resolved.Sep 9 2018, 6:38 PM