diff options
| author | Bill Peck <bpeck@redhat.com> | 2014-06-02 15:54:48 -0400 |
|---|---|---|
| committer | Bill Peck <bpeck@redhat.com> | 2014-06-02 15:54:48 -0400 |
| commit | 042ac6b5c5a920b2e687c85ad33da323b0eb8004 (patch) | |
| tree | 7688af652e0c5a2448ecc425209a98a3462fe329 /misc/ipv6 | |
| parent | 77ea4340af2800375ff44d7ee912880634d59d70 (diff) | |
| download | tests-042ac6b5c5a920b2e687c85ad33da323b0eb8004.tar.gz tests-042ac6b5c5a920b2e687c85ad33da323b0eb8004.tar.xz tests-042ac6b5c5a920b2e687c85ad33da323b0eb8004.zip | |
collect ipv6 info from hosts
Diffstat (limited to 'misc/ipv6')
| -rwxr-xr-x | misc/ipv6/info/collect.sh | 7 | ||||
| -rw-r--r-- | misc/ipv6/info/metadata | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/misc/ipv6/info/collect.sh b/misc/ipv6/info/collect.sh new file mode 100755 index 0000000..8dd2022 --- /dev/null +++ b/misc/ipv6/info/collect.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +tmpfile=$(mktemp) +ip -0 -o a s $(ip -6 -o a s | grep -v lo | awk '{print $2}') > $tmpfile +ip -6 -o a s $(ip -6 -o a s | grep -v lo | awk '{print $2}') >> $tmpfile + +rstrnt-report-result --no-plugins --outputfile $tmpfile $TASKNAME PASS 0 diff --git a/misc/ipv6/info/metadata b/misc/ipv6/info/metadata new file mode 100644 index 0000000..621bcd2 --- /dev/null +++ b/misc/ipv6/info/metadata @@ -0,0 +1,7 @@ +[General] +name=/misc/ipv6/info + +[restraint] +entry_point=./collect.sh +dependencies=iproute +max_time=5m |
