Bazel build files for protocols

Change-Id: I12a9cfe2d135d10c640a51d9b3438bcd92f8e37f
diff --git a/protocols/ospf/api/BUILD b/protocols/ospf/api/BUILD
new file mode 100644
index 0000000..e09f7da
--- /dev/null
+++ b/protocols/ospf/api/BUILD
@@ -0,0 +1,7 @@
+COMPILE_DEPS = CORE_DEPS + NETTY + JACKSON + [
+    "@netty//jar",
+]
+
+osgi_jar_with_tests(
+    deps = COMPILE_DEPS,
+)
diff --git a/protocols/ospf/ctl/BUILD b/protocols/ospf/ctl/BUILD
new file mode 100644
index 0000000..40ce45b
--- /dev/null
+++ b/protocols/ospf/ctl/BUILD
@@ -0,0 +1,10 @@
+COMPILE_DEPS = CORE_DEPS + NETTY + JACKSON + [
+    "@netty//jar",
+    "//protocols/ospf/api:onos-protocols-ospf-api",
+    "//protocols/ospf/protocol:onos-protocols-ospf-protocol",
+]
+
+osgi_jar_with_tests(
+    exclude_tests = ["org.onosproject.ospf.controller.impl.OspfPipelineFactoryTest"],
+    deps = COMPILE_DEPS,
+)
diff --git a/protocols/ospf/protocol/BUILD b/protocols/ospf/protocol/BUILD
new file mode 100644
index 0000000..a4bfe42
--- /dev/null
+++ b/protocols/ospf/protocol/BUILD
@@ -0,0 +1,8 @@
+COMPILE_DEPS = CORE_DEPS + NETTY + [
+    "@netty//jar",
+    "//protocols/ospf/api:onos-protocols-ospf-api",
+]
+
+osgi_jar_with_tests(
+    deps = COMPILE_DEPS,
+)