- 25 Jul, 2019 1 commit
-
-
Maciej Lipinski authored
The fields in this table were not really filled in after substantial changes to the PPSi architecture regarding servo (HA-related). Filling in of the fields in this table had to be redone. This commit fixes filling in most of the fields that were field before. There are still some fields that are not filled in, tbd.
-
- 24 Jul, 2019 2 commits
-
-
Maciej Lipinski authored
-
Maciej Lipinski authored
-
- 23 Jul, 2019 2 commits
-
-
Maciej Lipinski authored
- update wrsSpllStatusGroup to recognize ver=3 - update wrsSpllStatusGroup and wrsSpllVersionGroup to properly complain to syslog when not recognizing version
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
- 22 Jul, 2019 8 commits
-
-
Adam Wujek authored
Move wrsPtpInstanceName to be the first (after indexes) OID. Thanks to this, by doing snmpwalk/snmpgetnext of OID wrsPtpInstanceName(.<n>.<m>), the user gets in a single responce: --n - a port number --m - an instance nubmer --value which is an instance name Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
The list of VLANs is implemented as a string, becasue SNMP does not allow tables within tables. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
- 12 Jul, 2019 2 commits
-
-
Maciej Lipinski authored
If a static entry is in the HASH table, this is for a reason. In the very unlikely event, when the same MAC is seen on another port, the static entry should not be overriden by the learned (dynamic). This was not the case. This commit prevents static MAC entries from being overriden by dynamic entries.
-
Maciej Lipinski authored
Shmem is locked for the entire execution of the rtu_fd_init() function. Yet, this function call few clean_*() functions that attempt to lock shmem before cleaning... this caused shmem errors. It was fixed by specifying input parameter to clean_*() functions. The parameter specifies whether locking is required or not.
-
- 04 Jul, 2019 1 commit
-
-
Grzegorz Daniluk authored
-
- 03 Jul, 2019 3 commits
-
-
Jean-Claude BAU authored
The update is related to the new feature introduced in Kconfig for the logging of messages (default_syslog)
-
Jean-Claude BAU authored
The system clock monitor measures the offset between the local time and the NTP time. If this offset exceed a given threshold an alarm will be raised .
-
Jean-Claude BAU authored
KConfig has been improved adding new extra constraints when the timing mode is changed. It has an impact on port configuration (externalPortConfiguration & default bmc mode) and also on the overwritten clock class.
-
- 26 Jun, 2019 10 commits
-
-
Maciej Lipinski authored
Using date was not a good ideal (i.e. format "file_name-date") because the date on the switch can change due to PTP synchronization. Now, files are indexed with number
-
Maciej Lipinski authored
Updates: - information in the body of the message about severity was not aligned with the severity reported to syslog, now all is aligned - aligned format of all messages from snmpd that use snmp_log()
-
Maciej Lipinski authored
Another option is added in Kconfig that applies to all the deamons that provide <facility*8+priority> in their messages. If logging in Kconfig is set to "default_syslog", the logger is run with the option --prio-prefix. With this option, the facility/priority from message is used. All the other otions for "Logint directions.." are left unchnaged.
-
Maciej Lipinski authored
-
Maciej Lipinski authored
Logger can interpret get log facility & level (error, info, etc) from log message if such info is provided properly. I.e. it needs to be enclosed in <> and the first thing in the message. The wrs-msg.c file in the libwr was changed such that the log facility & level ares properly printed in log messages, and thus later properly interpreted by the syslog elastic search on the server. For this, wrs_msg lib needs to know the faciltiy of the application that uses it. Thus, the wrs_msg_init() function was updated (in the library and all its calls in applications)
-
Jean-Claude BAU authored
- Add a new tool (wrs_leapsec) to check for an incoming leap second. It is done by parsing the leap second file. If a leap second is detected then adjustment parameters for the clock algoritm are set in the kernel. - Start the tool at startup - With cron, execute the tool every 3 hours - As many tools need to parse the leap seconds file, functions have been added in the library and then called by these tools
-
Jean-Claude BAU authored
- Install cron - New leap_seconds_file_update script. Launched at startup and then 1 time per day by cron - Kconfig update to setup from where the file should be downloaded
-
Jean-Claude BAU authored
The boot server IP is saved into /tmp/boot_server_ip. It can be useful to get it to download files from this location in other scripts.
-
Jean-Claude BAU authored
-
Jean-Claude BAU authored
The -n option in the wr_date tool is used for a dry run. It execute the code without applying changes in the system and the hardware. However calling "wr_date -n set host" was not setting the date but applying the TAI offset. To make things more consistant, a new option has been added. Calling "wr_date set host tai" now sets only the TAI offset. The wr_date script has been changed to take into account this modification of the behavior.
-
- 25 Jun, 2019 6 commits
-
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Otherwise most of the time is spent with the HAL's shmem locked. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
If the build or image is broken and sdb-read is missing don't try to overwrite hwinfo Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Forward messages from scripts running before syslog is available to the kernel log. Before these messages were printed only to the console. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
- 24 Jun, 2019 2 commits
-
-
Adam Wujek authored
This reduces the size of a firmware by 5MB. Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
Uplift util-linux to a version 2.28.2 Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
-
- 21 Jun, 2019 1 commit
-
-
Jean-Claude BAU authored
-
- 19 Jun, 2019 1 commit
-
-
Jean-Claude BAU authored
Having just a small message indicating that a build error has been detected at the end of the script is not sufficient. The tarball is created but is invalid and might be used. Now, when an error is detected the build procedure is immediately aborted. The tarball is not then created.
-
- 14 Jun, 2019 1 commit
-
-
Jean-Claude BAU authored
- Was returning the !busy before. return busy value (1=busy, 0=not busy) is more clear to understand.
-