commit | ac05aa1cdeb0d5be0baae098c4187166ea026976 | [log] [tgz] |
---|---|---|
author | Willy Tu <wltu@google.com> | Tue Nov 16 21:15:58 2021 -0800 |
committer | Willy Tu <wltu@google.com> | Wed Dec 01 00:33:49 2021 +0000 |
tree | 37a38b6521a4dd7dc8545d17a02bf834f6a94aa2 | |
parent | 5aae092cab08279d45c7914c466314b356164b7c [diff] |
ipmid: channel: add match function to reset config on network changes The IPMID load the channel config once at startup and will fail to pick up any network interfaces added after that. Added a dbus matching function again `xyz.openbmc_project.Network` to detect new networks and reload the Channel Configs. Teseted: The network information via IPMI is populated correctly. The information before the change is empty since ipmid parse the information before it is ready on the system. ``` $ uptime 00:02:42 up 0:02, 0 users, load average: 9.38, 4.96, 1.92 $ ipmitool lan6 print 11 Getting parameter(s)... IPv6/IPv4 Support: IPv6 only: no IPv4 and IPv6: yes IPv6 Destination Addresses for LAN alerting: yes IPv6/IPv4 Addressing Enables: both IPv6 Status: Static address max: 15 Dynamic address max: 15 SLAAC support: yes ... ``` Change-Id: I6478cea3642c524e55a9dbc96c3deaca90feb089 Signed-off-by: Willy Tu <wltu@google.com>
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.