Age | Commit message (Collapse) | Author |
|
Update as needed for use with contemporary vyos1x-config:
. update build system to use dune
. drop use of batteries
. update for protoc breaking changes in versions >= 3.0
. remove files now in vyos1x-config (config_tree et. al.; parsing)
|
|
|
|
instead of home-grown equivalents.
|
|
|
|
Two tag nodes with the same name ("ethernet eth0 {...} ethernet eth0 {...}")
is an error.
Two leaf nodes with the same name, however, are not an error. Values of the
next nodes are merged into the first one, while all other data (comment and
inactive and ephemeral properties are inherited from the first node.
This mimics the old syntax of multi nodes, so a person who uses the old syntax
out of habit in a handwritten config will get the result they expect.
|
|
|
|
|
|
identifiers.
|
|
as opposed to "ethernet { eth0".
Note that "new syntax" for tag nodes, i.e. not using any special syntax
for them is automatically support too, configs will load correctly
since node name/value validation only occurs after parsing is complete.
|
|
|