HomeVyOS Platform

T6056: Change static-host-mapping shold not restart snmpd

This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

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)

  1. Conflicts:
  2. src/conf_mode/host_name.py

Details

Provenance
ViacheslavAuthored on May 1 2024, 1:36 PM
MergifyCommitted on May 2 2024, 6:15 AM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.