diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-05-01 13:36:14 +0000 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-05-02 06:15:28 +0000 |
commit | 781109ec44fa9421ab3b5022b9a92ed8750bd78b (patch) | |
tree | a7f1971f9939159aca4f8012e879d9b6035e7638 /op-mode-definitions/clear-ipv6.xml.in | |
parent | e019155e3d7a1383f480f2bdf4c7e17d807fc7db (diff) | |
download | vyos-1x-781109ec44fa9421ab3b5022b9a92ed8750bd78b.tar.gz vyos-1x-781109ec44fa9421ab3b5022b9a92ed8750bd78b.zip |
T6056: Change static-host-mapping shold not restart snmpd
We have several config XML definitions that use the same python3
script `system_host-name.py`
https://github.com/vyos/vyos-1x/blob/current/interface-definitions/system_name-server.xml.in
https://github.com/vyos/vyos-1x/blob/current/interface-definitions/system_host-name.xml.in
https://github.com/vyos/vyos-1x/blob/current/interface-definitions/system_static-host-mapping.xml.in
https://github.com/vyos/vyos-1x/blob/current/interface-definitions/system_domain-name.xml.in
https://github.com/vyos/vyos-1x/blob/current/interface-definitions/system_domain-search.xml.in
Any change in these scripts calls to restart the `service snmpd`
The service `snmpd` should be restarted only if `host-name` or
`domain-name` was changed.
It is a good idea to rewrite it to `get_config_dict` in the future.
(cherry picked from commit 4f1db505791deed533dddf0c2f5bdedd6fba34b8)
Diffstat (limited to 'op-mode-definitions/clear-ipv6.xml.in')
0 files changed, 0 insertions, 0 deletions