Additional bazel build files for apps

Change-Id: If3f31139022b5657e4a7b8a33871e4eba0da286e
diff --git a/pipelines/basic/BUILD b/pipelines/basic/BUILD
index 66314df..3ced348 100644
--- a/pipelines/basic/BUILD
+++ b/pipelines/basic/BUILD
@@ -15,15 +15,15 @@
     deps = COMPILE_DEPS,
 )
 
-#onos_app(
-#    app_name = 'org.onosproject.pipelines.basic',
-#    title = 'Basic Pipelines',
-#    category = 'Pipeline',
-#    url = 'http://onosproject.org',
-#    description = 'Provides pipelines with basic L2/L3 forwarding capabilities and packet-in/out '
-#                  + 'support.',
-#    included_bundles = BUNDLES,
-#    required_apps = [
-#        'org.onosproject.drivers.p4runtime',
-#    ]
-#)
+onos_app(
+    app_name = "org.onosproject.pipelines.basic",
+    category = "Pipeline",
+    description = "Provides pipelines with basic L2/L3 forwarding capabilities and packet-in/out " +
+                  "support.",
+    included_bundles = BUNDLES,
+    required_apps = [
+        "org.onosproject.drivers.p4runtime",
+    ],
+    title = "Basic Pipelines",
+    url = "http://onosproject.org",
+)
diff --git a/pipelines/fabric/BUILD b/pipelines/fabric/BUILD
new file mode 100644
index 0000000..06b0ab4
--- /dev/null
+++ b/pipelines/fabric/BUILD
@@ -0,0 +1,29 @@
+COMPILE_DEPS = CORE_DEPS + KRYO + [
+    "//protocols/p4runtime/model:onos-protocols-p4runtime-model",
+    "//protocols/p4runtime/api:onos-protocols-p4runtime-api",
+    "//pipelines/basic:onos-pipelines-basic",
+    "//core/store/serializers:onos-core-serializers",
+]
+
+BUNDLES = [
+    "//pipelines/fabric:onos-pipelines-fabric",
+]
+
+osgi_jar_with_tests(
+    exclude_tests = ["org/onosproject/pipelines/fabric/pipeliner/FabricPipelinerTest"],
+    test_deps = TEST_ADAPTERS,
+    deps = COMPILE_DEPS,
+)
+
+onos_app(
+    app_name = "org.onosproject.pipelines.fabric",
+    category = "Pipeline",
+    description = "Provides pipelines with CORD fabric underlay support.",
+    included_bundles = BUNDLES,
+    required_apps = [
+        "org.onosproject.drivers.p4runtime",
+        "org.onosproject.pipelines.basic",
+    ],
+    title = "Fabric Pipeline",
+    url = "http://onosproject.org",
+)