summaryrefslogtreecommitdiff
path: root/scripts/import-conf-mode-commands
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-05-01 13:36:14 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2024-05-02 08:30:53 +0000
commit637e5faaa0af9b897a8d20c6dbb7ac670842b092 (patch)
treeb1cb4e1ee30ace8a2be1682f1542f2e583524ad6 /scripts/import-conf-mode-commands
parentbc5e7ba65b85a8e25273aad67de3da52af9ea5d2 (diff)
downloadvyos-1x-637e5faaa0af9b897a8d20c6dbb7ac670842b092.tar.gz
vyos-1x-637e5faaa0af9b897a8d20c6dbb7ac670842b092.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 'scripts/import-conf-mode-commands')
0 files changed, 0 insertions, 0 deletions