Add modules to Bazel build
cli
core
incubator/rpc
pipelines/basic
protocols/netconf
protocols/openflow
protocols/rest

Change-Id: I165b94a04ba893d97d944e5deb2746f54566503b
diff --git a/protocols/openflow/ctl/BUILD b/protocols/openflow/ctl/BUILD
new file mode 100644
index 0000000..3bf8b7f
--- /dev/null
+++ b/protocols/openflow/ctl/BUILD
@@ -0,0 +1,17 @@
+COMPILE_DEPS = CORE_DEPS + NETTY + JACKSON + [
+    "@openflowj//jar",
+    "@netty_codec//jar",
+    "@netty_handler//jar",
+    "@netty_transport//jar",
+    "@netty_transport_native_epoll//jar",
+    "//protocols/openflow/api:onos-protocols-openflow-api",
+]
+
+TEST_DEPS = TEST + [
+    "//core/api:onos-api-tests",
+]
+
+osgi_jar_with_tests(
+    test_deps = TEST_DEPS,
+    deps = COMPILE_DEPS,
+)