dreport: Added ip link plugin

Resolves openbmc/openbmc#2537

Change-Id: Id5ce18da3652e39edf3b970a99c75424ed039c35
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/tools/dreport.d/plugins.d/iplink b/tools/dreport.d/plugins.d/iplink
new file mode 100644
index 0000000..5cc075f
--- /dev/null
+++ b/tools/dreport.d/plugins.d/iplink
@@ -0,0 +1,13 @@
+#!/bin/bash
+#
+# config: 2 30
+# @brief: Collect ip link information.
+#
+
+. $DREPORT_INCLUDE/functions
+
+desc="ip link"
+file_name="iplink.log"
+command="ip link"
+
+add_cmd_output "$command" "$file_name" "$desc"