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

Change-Id: I165b94a04ba893d97d944e5deb2746f54566503b
diff --git a/core/store/persistence/BUILD b/core/store/persistence/BUILD
new file mode 100644
index 0000000..f8d7144
--- /dev/null
+++ b/core/store/persistence/BUILD
@@ -0,0 +1,12 @@
+COMPILE_DEPS = CORE_DEPS + [
+    "@mapdb//jar",
+]
+
+osgi_jar_with_tests(
+    name = "onos-core-persistence",
+    exclude_tests = [
+        "org.onosproject.persistence.impl.MapDBTest",
+    ],
+    visibility = ["//visibility:public"],
+    deps = COMPILE_DEPS,
+)