rib: Merge source code of NRD

Change-Id: I44dce9db7ad079661d509349bef07b1acb389b58
Refs: #1486
diff --git a/rib/.gitignore b/rib/.gitignore
new file mode 100644
index 0000000..d26fa7d
--- /dev/null
+++ b/rib/.gitignore
@@ -0,0 +1,5 @@
+.DS*
+.waf-1*
+.lock*
+**/*.pyc
+build/