commit | 1e7c4c3c6cf17abcc6504f2be2f53c39112909d4 | [log] [tgz] |
---|---|---|
author | Tomáš Pecka <tomas.pecka@cesnet.cz> | Mon Feb 22 15:57:31 2021 +0100 |
committer | Tomáš Pecka <tomas.pecka@cesnet.cz> | Mon Feb 22 16:06:59 2021 +0100 |
tree | a3a1ba1542d703c2065f3d8cc923ca573897490b | |
parent | 04a11357dc7a1298890413b32da5ac5c35c4c994 [diff] |
system: Don't reconfigure network interface if not necessary It is not necessary to reload network if the new setting is the same as the current one because the network outage may be long (locally it is around 6 seconds). This issue can happen on system startup. 1. cfg-restore-systemd-networkd service copies a configuration from /cfg to /run/systemd/network directory. 2. velia-system starts up and try to reconfigure the network by writing a .network file to the same directory. The content of the file is generated from the setting in the running datastore. However, this setting *should* be the same as the setting copied from /cfg and therefore there is no point in reconfiguring the network. It'd be different only if startup datastore and data in /cfg are, for some reason, not synchronized (e.g. someone removes the file from /cfg). Change-Id: I83b2f8fbcc61962ab7b264d591f546b4a3119590
Together with sysrepo, this software provides "general system management" of embedded devices. The target platform is anything that runs Linux with systemd. This runs in production on CzechLight SDN DWDM devices.
This component tracks the overal health state of the system, including various sensors, or the state of systemd
units. As an operator-friendly LED at the front panel of the appliance shows the aggregated health state.
Firmware can be updated via RAUC, and various aspects of the system's configuration can be adjusted. This includes a firewall, basic network settings, and authentication management.
For a full list, consult the yang/
directory in this repository.