<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/python/vyos/xml, branch vyos/1.4dev0</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=vyos%2F1.4dev0</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-1x.git/atom?h=vyos%2F1.4dev0'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/'/>
<updated>2020-11-23T02:07:09+00:00</updated>
<entry>
<title>defaults: T3082: multi_to_list must distinguish between values and defaults</title>
<updated>2020-11-23T02:07:09+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2020-11-23T01:11:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=fa6413272ee2a3330f9c4012084705d1effc86d9'/>
<id>urn:sha1:fa6413272ee2a3330f9c4012084705d1effc86d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>configdict: T3081: honor whitespace in multi node values</title>
<updated>2020-11-23T01:35:12+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2020-11-22T16:22:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=9311dcda624f871b063b8a52fa56d04e807b7890'/>
<id>urn:sha1:9311dcda624f871b063b8a52fa56d04e807b7890</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vyos.xml: T2956: add support for list of defaultValues</title>
<updated>2020-10-03T09:47:14+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-10-03T09:47:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=2123eef951467ea2e69ec2ad3f68e0282f84414e'/>
<id>urn:sha1:2123eef951467ea2e69ec2ad3f68e0282f84414e</id>
<content type='text'>
Sometimes (PPPoE server is one of them) a simple defaultValue in the XML is not
enough - several values should be set. In order to support a list of
defaultValues you can now simply list them as a whitespace separated string.

Example:
&lt;defaultValue&gt;pap chap mschap mschap-v2&lt;/defaultValue&gt;

will generate a Python list ['pap', 'chap', 'mschap', 'mschap-v2'] when
retrieved by vyos.xml.defaults()
</content>
</entry>
<entry>
<title>xml: T2849: vyos.xml.defaults should return a list on multi nodes</title>
<updated>2020-09-01T16:41:17+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2020-09-01T16:41:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=0ddca9de00b7ae3969f718c2cd2f081506d5c222'/>
<id>urn:sha1:0ddca9de00b7ae3969f718c2cd2f081506d5c222</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: T2636: get_config_dict() returns a list on multi node by default</title>
<updated>2020-08-30T14:56:46+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2020-08-30T13:22:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=b40c52682a25664f7018ab8b4e5ba6f467f10d17'/>
<id>urn:sha1:b40c52682a25664f7018ab8b4e5ba6f467f10d17</id>
<content type='text'>
Unless no_multi_convert is True, a single valued multi node will be
returned as a list by get_config_dict(). Modification of Thomas Mangin's
version.
</content>
</entry>
<entry>
<title>xml: T2582: use xml for is_tag and is_leaf</title>
<updated>2020-07-22T22:36:44+00:00</updated>
<author>
<name>Thomas Mangin</name>
<email>thomas.mangin@exa.net.uk</email>
</author>
<published>2020-07-22T22:36:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=faaad2e029fd3520b62983dd78c7692434138360'/>
<id>urn:sha1:faaad2e029fd3520b62983dd78c7692434138360</id>
<content type='text'>
</content>
</entry>
<entry>
<title>xml: T2588: defaults should return gracefully on key error</title>
<updated>2020-07-15T20:04:21+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2020-07-15T20:04:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=305c0910f08c8b6772be0247cfc03fa0282478c8'/>
<id>urn:sha1:305c0910f08c8b6772be0247cfc03fa0282478c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>xml: T2582: rename xml tags</title>
<updated>2020-07-05T13:48:14+00:00</updated>
<author>
<name>Thomas Mangin</name>
<email>thomas.mangin@exa.net.uk</email>
</author>
<published>2020-07-05T13:48:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=28eac91d62018ad275f86a38c44e5c8fcffeaec8'/>
<id>urn:sha1:28eac91d62018ad275f86a38c44e5c8fcffeaec8</id>
<content type='text'>
The current use of () does not allow to use found()
Converting to [] like all other tags
</content>
</entry>
<entry>
<title>xml: T2660: do replace - with _ for defaults when not flattening</title>
<updated>2020-06-27T21:25:52+00:00</updated>
<author>
<name>Thomas Mangin</name>
<email>thomas.mangin@exa.net.uk</email>
</author>
<published>2020-06-27T21:25:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=1f428866554b6ab8364e2501a249a590e4f0f65c'/>
<id>urn:sha1:1f428866554b6ab8364e2501a249a590e4f0f65c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>xml: T2656: do not flatten dict by default</title>
<updated>2020-06-27T13:25:13+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-06-27T13:25:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=4af82f00036a079ec0d5e150457063e386af7788'/>
<id>urn:sha1:4af82f00036a079ec0d5e150457063e386af7788</id>
<content type='text'>
</content>
</entry>
</feed>
