History log of /openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/network (Results 1 – 3 of 3)
Revision Date Author Comments
# 1e68a88d 13-Apr-2022 Marri Devender Rao <devenrao@in.ibm.com>

dreport: move ipaddr plugin commands into network plugin

Combining all network related commands into network plugin.
Removing iplink plugin and command as it is capturing duplicate
data.

Tested:
ro

dreport: move ipaddr plugin commands into network plugin

Combining all network related commands into network plugin.
Removing iplink plugin and command as it is capturing duplicate
data.

Tested:
root@rain104bmc:/tmp/test/obmcdump_00000000_1649837600# cat network.log
[ip addr]
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
.....

[netstat]
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
.....

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: Ie95865ca729e06fafdf8a6cbc9a9c294c9e4fa34

show more ...


# 124d31f0 11-Apr-2022 Marri Devender Rao <devenrao@in.ibm.com>

dreport: Fix network and timedate plugin failures during BMC dump generation

1) Due to some script errors network and timedate plugins
are failing during BMC dump generation fixed the same.

Failure

dreport: Fix network and timedate plugin failures during BMC dump generation

1) Due to some script errors network and timedate plugins
are failing during BMC dump generation fixed the same.

Failures:
/usr/share/dreport.d/pl_user.d/E30network: line 12: add_cmd_output: command not
found
/usr/share/dreport.d/pl_user.d/E30timedate: line 12: [: missing `]'

Tested:
timedate.log
timedatectl]
Local time: Mon 2022-04-11 12:41:19 UTC
Universal time: Mon 2022-04-11 12:41:19 UTC
RTC time: Mon 2022-04-11 12:41:19
Time zone: UTC (UTC, +0000)
System clock synchronized: no
NTP service: active
RTC in local TZ: no

network.log
[netstat]
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 9.3.23.1 0.0.0.0 UG 0 0 0 eth1
0.0.0.0 9.3.23.1 0.0.0.0 UG 0 0 0 eth0
9.3.23.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: Id60b3238657af7edb3100319bfa57ab6503bad13

show more ...


# 1640a3d1 24-Mar-2022 Marri Devender Rao <devenrao@in.ibm.com>

dreport: add network details to the BMC dump

Captured below information and add it to the BMC dump

1) Adding route info the network.log file
2) Adding contents of eth0 and eth1 to the network.log f

dreport: add network details to the BMC dump

Captured below information and add it to the BMC dump

1) Adding route info the network.log file
2) Adding contents of eth0 and eth1 to the network.log file
3) Add network interface statistics to the network.log file
4) Add active TCP connection details to the network.log file

Append network.log to the BMC dump

Tested:
[route]
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default x.x.xx.x 0.0.0.0 UG 0 0 0 eth1
default x.x.xx.x 0.0.0.0 UG 0 0 0 eth0
x.x.xx.0 * 255.255.255.0 U 0 0 0 eth0

[eth0]
[Match]
Name=eth0
[Link]
MACAddress=xx:xx:xx:xx:xx:xx
[Network]
LinkLocalAddressing=no
IPv6AcceptRA=false
DHCP=ipv6
[Address]
Address=x.x.xx.xxx/xx
[Route]
Gateway=x.x.xx.x
[DHCP]
ClientIdentifier=mac
UseDNS=true
UseNTP=true
UseHostname=true
SendHostname=true

[eth1]
[Match]
Name=eth1
[Link]
MACAddress=xx:xx:xx:xx:xx:xx
[Network]
LinkLocalAddressing=no
IPv6AcceptRA=false
DHCP=true
[Route]
Gateway=x.x.xx.x
[DHCP]
ClientIdentifier=mac
UseDNS=true
UseNTP=true
UseHostname=true
SendHostname=true

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: I8325b18400140f8f6e1463a5abbc1b9c526fad99

show more ...