Capture network information in integration/litmus jobs

This change adds output of the following three commands so that we
can check network setup.
 $ sudo ip -d address
 $ sudo brctl show
 $ sudo ovs-vsctl show

Change-Id: Ic17dbf2eec527eb6a62ba9c21fab66dc98554989
This commit is contained in:
Takashi Kajinami 2022-01-14 11:50:27 +09:00
parent 58adb872fa
commit 70accb1086
1 changed files with 5 additions and 0 deletions

View File

@ -241,6 +241,11 @@ free -m > $LOG_DIR/free.txt
lsmod > $LOG_DIR/lsmod.txt
cat /proc/cpuinfo > $LOG_DIR/cpuinfo.txt
sudo ps -eo user,pid,ppid,lwp,%cpu,%mem,size,rss,cmd > $LOG_DIR/ps.txt
sudo ip -d address > $LOG_DIR/ip_-d_address.txt
sudo brctl show > $LOG_DIR/brctl_show.txt
if [ `command -v ovs-vsctl` ]; then
sudo ovs-vsctl show > $LOG_DIR/ovs-vsctl_show.txt
fi
sudo netstat -tulpn > $LOG_DIR/netstat.txt
sudo systemctl status --all 2>/dev/null > $LOG_DIR/systemctl.txt