diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-05-01 13:36:14 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-05-01 13:36:14 +0000 |
commit | 4f1db505791deed533dddf0c2f5bdedd6fba34b8 (patch) | |
tree | 335ec22f994b65b7dc0487736c2c3812b371fd35 /src/helpers | |
parent | 91c1a8556eedc9e9aa50d8bf415b37e53d52cb7d (diff) | |
download | vyos-1x-4f1db505791deed533dddf0c2f5bdedd6fba34b8.tar.gz vyos-1x-4f1db505791deed533dddf0c2f5bdedd6fba34b8.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.
Diffstat (limited to 'src/helpers')
0 files changed, 0 insertions, 0 deletions