<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/conf_mode/snmp.py, branch feature/T9082-codeql-cpp</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=feature%2FT9082-codeql-cpp</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=feature%2FT9082-codeql-cpp'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2023-12-31T22:49:48+00:00</updated>
<entry>
<title>T5474: establish common file name pattern for XML conf mode commands</title>
<updated>2023-12-31T22:49:48+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-12-30T22:25:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4ef110fd2c501b718344c72d495ad7e16d2bd465'/>
<id>urn:sha1:4ef110fd2c501b718344c72d495ad7e16d2bd465</id>
<content type='text'>
We will use _ as CLI level divider. The XML definition filename and also
the Python helper should match the CLI node.

Example:
set interfaces ethernet -&gt; interfaces_ethernet.xml.in
set interfaces bond -&gt; interfaces_bond.xml.in
set service dhcp-server -&gt; service_dhcp-server-xml.in
</content>
</entry>
<entry>
<title>snmp: T5855: migrate "set service lldp snmp enable" to "set service lldp snmp"</title>
<updated>2023-12-25T08:15:38+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-12-25T07:58:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a9201e77110ce0695e2ba879304aef41b7ac9a0c'/>
<id>urn:sha1:a9201e77110ce0695e2ba879304aef41b7ac9a0c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>snmp: 5856: fix service removal error</title>
<updated>2023-12-24T13:01:42+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-12-24T13:01:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=20b98e780fda4131eb242921884d4955147ce51a'/>
<id>urn:sha1:20b98e780fda4131eb242921884d4955147ce51a</id>
<content type='text'>
When deleting SNMP from CLI the 'delete' key was not honored in the config
dictionary, leading to a false process startup causing the following error:

Job for snmpd.service failed because the control process exited with error code.
See "systemctl status snmpd.service" and "journalctl -xeu snmpd.service" for details.
</content>
</entry>
<entry>
<title>frr: T5591: cleanup of daemons file</title>
<updated>2023-09-21T05:31:51+00:00</updated>
<author>
<name>Apachez</name>
<email>Apachez-@users.noreply.github.com</email>
</author>
<published>2023-09-21T05:31:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d9d2b2b96b372b678af33ce0e0b9d26dfb732934'/>
<id>urn:sha1:d9d2b2b96b372b678af33ce0e0b9d26dfb732934</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5319: remove workarounds for defaults in snmp.py</title>
<updated>2023-08-07T19:46:42+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-08-07T00:56:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=12ba001730c86ed8af0cfdb5ba89674ea2053efe'/>
<id>urn:sha1:12ba001730c86ed8af0cfdb5ba89674ea2053efe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5195: move helpers from vyos.validate to vyos.utils package</title>
<updated>2023-08-06T18:25:01+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-08-06T17:29:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d1c4294534dd04f075f89f1bb60736d56fc6c22a'/>
<id>urn:sha1:d1c4294534dd04f075f89f1bb60736d56fc6c22a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5195: vyos.util -&gt; vyos.utils package refactoring (#2093)</title>
<updated>2023-07-14T20:18:36+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-07-14T20:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d1ca536da448749dff557f13ecae97b124026e96'/>
<id>urn:sha1:d1ca536da448749dff557f13ecae97b124026e96</id>
<content type='text'>
* T5195: move run, cmd, call, rc_cmd helper to vyos.utils.process

* T5195: use read_file and write_file implementation from vyos.utils.file

Changed code automatically using:

find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import read_file$/from vyos.utils.file import read_file/g' {} +
find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import write_file$/from vyos.utils.file import write_file/g' {} +

* T5195: move chmod* helpers to vyos.utils.permission

* T5195: use colon_separated_to_dict from vyos.utils.dict

* T5195: move is_systemd_service_* to vyos.utils.process

* T5195: fix boot issues with missing imports

* T5195: move dict_search_* helpers to vyos.utils.dict

* T5195: move network helpers to vyos.utils.network

* T5195: move commit_* helpers to vyos.utils.commit

* T5195: move user I/O helpers to vyos.utils.io</content>
</entry>
<entry>
<title>T5340: snmp: add checks while configuring snmp listen-address with and without vrf</title>
<updated>2023-07-05T12:35:05+00:00</updated>
<author>
<name>Nicolas Fort</name>
<email>nicolasfort1988@gmail.com</email>
</author>
<published>2023-07-05T12:35:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=572f79cdf0b13e8160f6a4ef4044f02851d30a1b'/>
<id>urn:sha1:572f79cdf0b13e8160f6a4ef4044f02851d30a1b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5001: Replace links to the phabricator site</title>
<updated>2023-02-12T19:55:16+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-02-12T19:55:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=bd9416a6aa9d5d0a746dc2cebc8d0330fd27d1a2'/>
<id>urn:sha1:bd9416a6aa9d5d0a746dc2cebc8d0330fd27d1a2</id>
<content type='text'>
Replace links to the phabricator site from https://phabricator.vyos.net to
https://vyos.dev
</content>
</entry>
<entry>
<title>snmp: T4857: explicitly define default community networks 0.0.0.0/0 and ::/0</title>
<updated>2023-02-10T18:42:44+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-02-10T18:42:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=011e6a2cdea8fca73f7c433de5e2d6bc22bd9c19'/>
<id>urn:sha1:011e6a2cdea8fca73f7c433de5e2d6bc22bd9c19</id>
<content type='text'>
After the RESTRICTED view was introduced snmpd requires a network to be
specified. Before adding the RESTRICTED view snmpd always assumed the default
network 0.0.0.0/0.

This commit re-adds the build in default networks for IPv4 and IPv6 and
exposes it as a proper default to the CLI so the user is informed about it:

vyos@vyos# set service snmp community foooo
Possible completions:
   authorization        Authorization type (default: ro)
+  client               IP address of SNMP client allowed to contact system
+  network              Subnet of SNMP client(s) allowed to contact system (default:
                        0.0.0.0/0, ::/0)
</content>
</entry>
</feed>
