Page MenuHomeVyOS Platform

Rewrite the config to set commands convertor
Closed, ResolvedPublic

Description

There are multiple problems with the script currently used in "run show configuration commands" and the "| commands" conf mode pipe.

First, it uses XorpConfigParser, which was never capable of fully supporting the current config format to begin with. From this come two user-visible problems.
It quotes tag node values that never needs quoting and it simply ignores node comments.

It also can only operate on files, so even in pipe mode it first saves the data from stdin to a temporary file and then opens it. That's also down to the XorpConfigParser API.

Details

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

Event Timeline

dmbaturin triaged this task as Normal priority.Jun 5 2018, 3:56 PM
dmbaturin created this task.
dmbaturin created this object with visibility "Public (No Login Required)".

Appears to work fine now.