<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/scripts/build-command-op-templates, branch 1.4.0-epa1</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0-epa1</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0-epa1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2022-07-30T13:21:36+00:00</updated>
<entry>
<title>op-mode: T1748: vbash: beautify tab completion output/line breaks</title>
<updated>2022-07-30T13:21:36+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-07-30T13:21:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=11a605d303bce5384a64ad887566c064eb4f206a'/>
<id>urn:sha1:11a605d303bce5384a64ad887566c064eb4f206a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>scripts: op-mode: T3807: bugfix node.def generator</title>
<updated>2021-09-07T09:41:12+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-09-07T09:41:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=7623e37c918c65418d8dfc521f976bb91f0594c0'/>
<id>urn:sha1:7623e37c918c65418d8dfc521f976bb91f0594c0</id>
<content type='text'>
process_node() processes the XML tree in a fixed order, "node" before "tagNode"
before "leafNode". If the generator created a "node.def" file, it can no longer
be overwritten - else we would have some stale "node.def" files with an empty
help string (T2555). Without the fixed order this would resulted in a case
where we get a node and a tagNode with the same name, e.g. "show interfaces
ethernet" and "show interfaces ethernet eth0" that the node implementation
was not callable from the CLI, rendering this command useless (T3807).

This can be fixed by forcing the "node", "tagNode", "leafNode" order by sorting
the input XML file automatically (sorting from https://stackoverflow.com/a/46128043)
thus adding no additional overhead to the user.
</content>
</entry>
<entry>
<title>T3165: op-mode: prevent override of populated node.def file with empty content</title>
<updated>2021-08-22T18:26:36+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-08-22T18:26:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=17b5ac143c9128ac3e187d8d8167dd8fe6cbca7d'/>
<id>urn:sha1:17b5ac143c9128ac3e187d8d8167dd8fe6cbca7d</id>
<content type='text'>
This is an extension to commit b4fdcebe ("T3165: prevent override of populated
node.def file with empty content") which implemented the same thing for the
configuration mode commands.
</content>
</entry>
<entry>
<title>scripts: op-mode: use Python 'f'ormat strings on debug messages</title>
<updated>2021-08-22T17:48:28+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-08-22T17:48:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=252bc820b0d130d8d81b5711586eca41287abdca'/>
<id>urn:sha1:252bc820b0d130d8d81b5711586eca41287abdca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T3165: prevent override of populated node.def file with empty content</title>
<updated>2021-04-02T17:34:30+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/vyos/vyos-1x.git/commit/?id=b4fdcebebecd8d8952211b78bce26d53fd29edb3'/>
<id>urn:sha1:b4fdcebebecd8d8952211b78bce26d53fd29edb3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "T3165: use a separate file for "base" CLI nodes."</title>
<updated>2021-01-15T06:15:08+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2021-01-15T06:15:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b19a128521e576880d0b6285932ac0406d45627c'/>
<id>urn:sha1:b19a128521e576880d0b6285932ac0406d45627c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T3165: use a separate file for "base" CLI nodes.</title>
<updated>2021-01-07T13:48:22+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@vyos.io</email>
</author>
<published>2021-01-07T13:48:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=188f2171c62af50c95cda38e2bb86e7cf47413bd'/>
<id>urn:sha1:188f2171c62af50c95cda38e2bb86e7cf47413bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T2704: force newlines after listActiveNode output.</title>
<updated>2020-07-18T05:01:12+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@vyos.io</email>
</author>
<published>2020-07-18T05:01:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=fc5c2d59ecc97d782deaf9d029c07990d15c8bb4'/>
<id>urn:sha1:fc5c2d59ecc97d782deaf9d029c07990d15c8bb4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>templates: T2099: make op-mode path completion helper working</title>
<updated>2020-03-04T20:45:41+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-03-04T20:42:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=94527843ecbf92d48e367b6b5e255da4e958d0be'/>
<id>urn:sha1:94527843ecbf92d48e367b6b5e255da4e958d0be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T689, T707: do not use sudo for op mode commands.</title>
<updated>2018-06-22T22:22:45+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2018-06-22T20:45:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=19a1576263cf72de200094de79095b1a0ae81ec8'/>
<id>urn:sha1:19a1576263cf72de200094de79095b1a0ae81ec8</id>
<content type='text'>
Else they all are unavailable for operator level users.
</content>
</entry>
</feed>
