Skip to content
Commit 1640a3d1 authored by Marri Devender Rao's avatar Marri Devender Rao
Browse files

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: default avatarMarri Devender Rao <devenrao@in.ibm.com>
Change-Id: I8325b18400140f8f6e1463a5abbc1b9c526fad99
parent 56bd797e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment