Page MenuHomeVyOS Platform

XML op-mode generation scripts silently discard XML nodes
Closed, ResolvedPublicBUG

Description

Consider those two XML definitions:

both "generate" the file /opt/vyatta/share/vyatta-op/templates/show/protocols/node.def bot it is not populated with the help string from show-protocols-bfd.xml but rather is a simply, empty placeholder to entertain the vyatta-cfg backend.

I expect that on such a "conflict" two XML files generate the same node, the one which has populated the help string wins. Right now the only way to solve this is to copy the same <help> node to every file which is in the path of this node generation (bad).

Details

Difficulty level
Unknown (require assessment)
Version
1.3-rolling-202006060117
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Internal change (not visible to end users)