<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/scripts/build-command-templates, branch 1.3.8</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/marekm72/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/marekm72/vyos-1x.git/atom?h=1.3.8</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-1x.git/atom?h=1.3.8'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/'/>
<updated>2023-10-08T08:27:27+00:00</updated>
<entry>
<title>scripts: T4269: node.def generator should automatically add default values</title>
<updated>2023-10-08T08:27:27+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-10-08T08:27:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=b6917f386e5f6af570973d42e63baeb4a98d6261'/>
<id>urn:sha1:b6917f386e5f6af570973d42e63baeb4a98d6261</id>
<content type='text'>
Since introducing the XML &lt;defaultValue&gt; node it was common, but redundant,
practice to also add a help string indicating which value would be used as
default if the node is unset.

This makes no sense b/c it's duplicated code/value/characters and prone to
error. The node.def scripts should be extended to automatically render the
appropriate default value into the CLI help string.

For e.g. SSH the current PoC renders:

$ cat templates-cfg/service/ssh/port/node.def

multi:
type: txt
help: Port for SSH service (default: 22)
val_help: u32:1-65535; Numeric IP port
...
Not all subsystems are already migrated to get_config_dict() and make use of
the defaults() call - those subsystems need to be migrated, first before the new
default is added to the CLI help.

(cherry picked from commit a68c9238111c6caee78bb28f8054b8f0cfa0e374)
</content>
</entry>
<entry>
<title>T3768: Revert "xml: T1962: Add syntaxVersion to schema"</title>
<updated>2021-08-19T20:00:22+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2021-08-19T20:00:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=50280c9ec8dbf87a5ddea65374c651fc379b4cb3'/>
<id>urn:sha1:50280c9ec8dbf87a5ddea65374c651fc379b4cb3</id>
<content type='text'>
This reverts commit 5849ba88a1a20e4d3584843e0be46e456c5f7980.
</content>
</entry>
<entry>
<title>T3574: add constraintGroup for combining validators with logical AND</title>
<updated>2021-08-12T16:09:58+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2021-08-12T16:09:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=d19b35d668184fdac00a8ef56ff58c0748f22816'/>
<id>urn:sha1:d19b35d668184fdac00a8ef56ff58c0748f22816</id>
<content type='text'>
(cherry picked from commit 591b8bcadd8b6bbd46c61484193d2bf7e16bd1ae
                    commit 31553283aaa929da63147082e85513e8d4dacf0e
                    commit 59a4aadfe419eca16e6288b37d6c51acd9789903)
</content>
</entry>
<entry>
<title>T3165: prevent override of populated node.def file with empty content</title>
<updated>2021-06-08T05:54:32+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-04-02T10:57:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=bca6af49ffe39d6c01b3925c7b93b39cecaa2d25'/>
<id>urn:sha1:bca6af49ffe39d6c01b3925c7b93b39cecaa2d25</id>
<content type='text'>
(cherry picked from commit b4fdcebebecd8d8952211b78bce26d53fd29edb3)
</content>
</entry>
<entry>
<title>configd: T2582: add shim var to node.def</title>
<updated>2020-08-31T14:57:00+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2020-08-28T20:50:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=87d60d5bb08326de8f7d11ba199ee44b6ce34c76'/>
<id>urn:sha1:87d60d5bb08326de8f7d11ba199ee44b6ce34c76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enable debug mode to build-command-templates</title>
<updated>2020-06-03T15:25:59+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-06-03T15:25:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=fd5b81f66e44a75e0df0f0774d4d23c400d29a21'/>
<id>urn:sha1:fd5b81f66e44a75e0df0f0774d4d23c400d29a21</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T2431: use native versions of validate-value and numeric validator.</title>
<updated>2020-05-07T20:00:46+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@vyos.io</email>
</author>
<published>2020-05-07T20:00:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=29dee3abb55d0f0c6b91b311f30521b45d7e46b6'/>
<id>urn:sha1:29dee3abb55d0f0c6b91b311f30521b45d7e46b6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T2136: fail the build for interface definitions with valueless or multi flags set for non-leaf nodes.</title>
<updated>2020-03-18T15:21:08+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2020-03-18T15:21:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=c7b9230c418662fb08d6b4557c9ba003dff50e08'/>
<id>urn:sha1:c7b9230c418662fb08d6b4557c9ba003dff50e08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>xml: T1962: Add syntaxVersion to schema</title>
<updated>2020-01-13T17:18:28+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@sentrium.io</email>
</author>
<published>2020-01-10T17:52:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=5849ba88a1a20e4d3584843e0be46e456c5f7980'/>
<id>urn:sha1:5849ba88a1a20e4d3584843e0be46e456c5f7980</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[XML templates] T1772: Add escaping of `\` symbol in `&lt;regex&gt;`</title>
<updated>2019-10-25T20:28:47+00:00</updated>
<author>
<name>zsdc</name>
<email>taras@sentrium.io</email>
</author>
<published>2019-10-25T20:28:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=3cacaf94f05fe92d5eda1574a07e5fd49881d97d'/>
<id>urn:sha1:3cacaf94f05fe92d5eda1574a07e5fd49881d97d</id>
<content type='text'>
</content>
</entry>
</feed>
