Add modules to Bazel build
cli
core
incubator/rpc
pipelines/basic
protocols/netconf
protocols/openflow
protocols/rest
Change-Id: I165b94a04ba893d97d944e5deb2746f54566503b
diff --git a/core/net/BUILD b/core/net/BUILD
new file mode 100644
index 0000000..91ee022
--- /dev/null
+++ b/core/net/BUILD
@@ -0,0 +1,27 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + METRICS + KRYO + [
+ "//core/common:onos-core-common",
+ "//incubator/api:onos-incubator-api",
+ "//utils/rest:onlab-rest",
+ "//incubator/net:onos-incubator-net",
+ "//incubator/store:onos-incubator-store",
+ "//core/store/serializers:onos-core-serializers",
+]
+
+TEST_DEPS = TEST + TEST_REST + TEST_ADAPTERS + [
+ "//core/store/dist:onos-core-dist",
+ "//core/store/dist:onos-core-dist-tests",
+ "//utils/osgi:onlab-osgi-tests",
+ "//pipelines/basic:onos-pipelines-basic",
+ "@minimal_json//jar",
+]
+
+osgi_jar_with_tests(
+ name = "onos-core-net",
+ exclude_tests = [
+ "org.onosproject.net.intent.impl.compiler.AbstractLinkCollectionTest",
+ "org.onosproject.net.intent.impl.installer.AbstractIntentInstallerTest",
+ ],
+ test_deps = TEST_DEPS,
+ visibility = ["//visibility:public"],
+ deps = COMPILE_DEPS,
+)