Build providers using bazel
Change-Id: I7d4ebcfb1d593e10aa93f0a4f7111680ed66a7e7
diff --git a/providers/pcep/BUILD b/providers/pcep/BUILD
new file mode 100644
index 0000000..c00e3a9
--- /dev/null
+++ b/providers/pcep/BUILD
@@ -0,0 +1,22 @@
+BUNDLES = [
+ "@netty//jar",
+ "//providers/pcep/topology:onos-providers-pcep-topology",
+ "//providers/pcep/tunnel:onos-providers-pcep-tunnel",
+ "//providers/pcep/cli:onos-providers-pcep-cli",
+ "//protocols/pcep/server/api:onos-protocols-pcep-server-api",
+ "//protocols/pcep/pcepio:onos-protocols-pcep-pcepio",
+ "//protocols/pcep/server/ctl:onos-protocols-pcep-server-ctl",
+ "//apps/pcep-api:onos-apps-pcep-api",
+]
+
+onos_app(
+ category = "Provider",
+ description = "PCEP protocol providers root.",
+ included_bundles = BUNDLES,
+ required_apps = [
+ "org.onosproject.pcep-api",
+ "org.onosproject.optical-model",
+ ],
+ title = "PCEP Provider",
+ url = "http://onosproject.org",
+)