summaryrefslogtreecommitdiffstats
path: root/misc/ipv6/info/collect.sh
blob: e227c8826e59344f97218c0035dad28029a0366e (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

hostname > ipv6.log

for dev in $(ip -6 -o a s | grep -v lo | awk '{print $2}'); do
    ip -0 -o a s $dev >> ipv6.log
    ip -6 -o a s $dev >> ipv6.log
done

rstrnt-report-result --no-plugins $RSTRNT_TASKNAME PASS 0
rstrnt-report-log -l ipv6.log