Add sona profile to bazel build script

Change-Id: Ifdec053d3cbd914387b38fef22fe6bd784e63da8
diff --git a/BUILD b/BUILD
index 7bec64b..4ec3f7e 100644
--- a/BUILD
+++ b/BUILD
@@ -21,6 +21,7 @@
     "seba",
     "stratum",
     "tost",
+    "sona",
 ])
 
 filegroup(
@@ -35,6 +36,7 @@
         ":seba_profile": extensions("seba") + apps("seba"),
         ":stratum_profile": extensions("stratum") + apps("stratum"),
         ":tost_profile": extensions("tost") + apps("tost"),
+        ":sona_profile": extensions("sona") + apps("sona"),
         "//conditions:default": extensions() + apps(),
     }),
     visibility = ["//visibility:public"],
@@ -76,6 +78,7 @@
         ":seba_profile": apps("seba"),
         ":stratum_profile": apps("stratum"),
         ":tost_profile": apps("tost"),
+        ":sona_profile": apps("sona"),
         "//conditions:default": apps(),
     }),
     outs = ["onos.tar.gz"],
diff --git a/tools/build/bazel/modules.bzl b/tools/build/bazel/modules.bzl
index 9a1c18e..dbe333c 100644
--- a/tools/build/bazel/modules.bzl
+++ b/tools/build/bazel/modules.bzl
@@ -62,14 +62,14 @@
     "//protocols/lisp/msg:onos-protocols-lisp-msg": [],
     "//protocols/netconf/api:onos-protocols-netconf-api": [],
     "//protocols/netconf/ctl:onos-protocols-netconf-ctl": [],
-    "//protocols/openflow/api:onos-protocols-openflow-api": ["seba"],
-    "//protocols/openflow/ctl:onos-protocols-openflow-ctl": ["seba"],
+    "//protocols/openflow/api:onos-protocols-openflow-api": ["seba", "sona"],
+    "//protocols/openflow/ctl:onos-protocols-openflow-ctl": ["seba", "sona"],
     "//protocols/ospf/api:onos-protocols-ospf-api": [],
     "//protocols/ospf/protocol:onos-protocols-ospf-protocol": [],
     "//protocols/ospf/ctl:onos-protocols-ospf-ctl": [],
-    "//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc": [],
-    "//protocols/ovsdb/api:onos-protocols-ovsdb-api": [],
-    "//protocols/ovsdb/ctl:onos-protocols-ovsdb-ctl": [],
+    "//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc": ["sona"],
+    "//protocols/ovsdb/api:onos-protocols-ovsdb-api": ["sona"],
+    "//protocols/ovsdb/ctl:onos-protocols-ovsdb-ctl": ["sona"],
     "//protocols/p4runtime/api:onos-protocols-p4runtime-api": ["stratum"],
     "//protocols/p4runtime/model:onos-protocols-p4runtime-model": ["stratum"],
     "//protocols/pcep/pcepio:onos-protocols-pcep-pcepio": [],
@@ -88,8 +88,8 @@
 }
 
 PROTOCOL_APP_MAP = {
-    "//protocols/grpc:onos-protocols-grpc-oar": ["stratum", "tost"],
-    "//protocols/gnmi:onos-protocols-gnmi-oar": ["stratum", "tost"],
+    "//protocols/grpc:onos-protocols-grpc-oar": ["stratum", "tost", "sona"],
+    "//protocols/gnmi:onos-protocols-gnmi-oar": ["stratum", "tost", "sona"],
     "//protocols/gnoi:onos-protocols-gnoi-oar": ["stratum", "tost"],
     "//protocols/p4runtime:onos-protocols-p4runtime-oar": ["stratum", "tost"],
     "//protocols/restconf/server:onos-protocols-restconf-server-oar": [],
@@ -99,13 +99,13 @@
 
 PROVIDER_MAP = {
     "//providers/netconf/device:onos-providers-netconf-device": [],
-    "//providers/openflow/device:onos-providers-openflow-device": ["seba"],
-    "//providers/openflow/packet:onos-providers-openflow-packet": ["seba"],
-    "//providers/openflow/flow:onos-providers-openflow-flow": ["seba"],
-    "//providers/openflow/group:onos-providers-openflow-group": ["seba"],
-    "//providers/openflow/meter:onos-providers-openflow-meter": ["seba"],
-    "//providers/ovsdb/device:onos-providers-ovsdb-device": [],
-    "//providers/ovsdb/tunnel:onos-providers-ovsdb-tunnel": [],
+    "//providers/openflow/device:onos-providers-openflow-device": ["seba", "sona"],
+    "//providers/openflow/packet:onos-providers-openflow-packet": ["seba", "sona"],
+    "//providers/openflow/flow:onos-providers-openflow-flow": ["seba", "sona"],
+    "//providers/openflow/group:onos-providers-openflow-group": ["seba", "sona"],
+    "//providers/openflow/meter:onos-providers-openflow-meter": ["seba", "sona"],
+    "//providers/ovsdb/device:onos-providers-ovsdb-device": ["sona"],
+    "//providers/ovsdb/tunnel:onos-providers-ovsdb-tunnel": ["sona"],
     "//providers/p4runtime/packet:onos-providers-p4runtime-packet": ["stratum"],
     "//providers/rest/device:onos-providers-rest-device": ["stratum"],
     "//providers/snmp/device:onos-providers-snmp-device": [],
@@ -116,24 +116,24 @@
 }
 
 PROVIDER_APP_MAP = {
-    "//providers/general:onos-providers-general-oar": ["stratum", "tost"],
+    "//providers/general:onos-providers-general-oar": ["stratum", "tost", "sona"],
     "//providers/bgp:onos-providers-bgp-oar": [],
     "//providers/bgpcep:onos-providers-bgpcep-oar": [],
-    "//providers/host:onos-providers-host-oar": ["seba", "stratum", "tost"],
-    "//providers/hostprobing:onos-providers-hostprobing-oar": ["seba", "stratum", "tost"],
+    "//providers/host:onos-providers-host-oar": ["seba", "stratum", "tost", "sona"],
+    "//providers/hostprobing:onos-providers-hostprobing-oar": ["seba", "stratum", "tost", "sona"],
     "//providers/isis:onos-providers-isis-oar": [],
     "//providers/link:onos-providers-link-oar": ["stratum"],
-    "//providers/lldp:onos-providers-lldp-oar": ["seba", "stratum", "tost"],
-    "//providers/netcfghost:onos-providers-netcfghost-oar": ["seba", "stratum", "tost"],
+    "//providers/lldp:onos-providers-lldp-oar": ["seba", "stratum", "tost", "sona"],
+    "//providers/netcfghost:onos-providers-netcfghost-oar": ["seba", "stratum", "tost", "sona"],
     "//providers/netcfglinks:onos-providers-netcfglinks-oar": ["stratum"],
     "//providers/netconf:onos-providers-netconf-oar": ["stratum", "tost"],
     "//providers/null:onos-providers-null-oar": [],
-    "//providers/openflow/app:onos-providers-openflow-app-oar": ["seba"],
-    "//providers/openflow/base:onos-providers-openflow-base-oar": ["seba"],
-    "//providers/openflow/message:onos-providers-openflow-message-oar": ["seba"],
-    "//providers/ovsdb:onos-providers-ovsdb-oar": [],
-    "//providers/ovsdb/host:onos-providers-ovsdb-host-oar": [],
-    "//providers/ovsdb/base:onos-providers-ovsdb-base-oar": [],
+    "//providers/openflow/app:onos-providers-openflow-app-oar": ["seba", "sona"],
+    "//providers/openflow/base:onos-providers-openflow-base-oar": ["seba", "sona"],
+    "//providers/openflow/message:onos-providers-openflow-message-oar": ["seba", "sona"],
+    "//providers/ovsdb:onos-providers-ovsdb-oar": ["sona"],
+    "//providers/ovsdb/host:onos-providers-ovsdb-host-oar": ["sona"],
+    "//providers/ovsdb/base:onos-providers-ovsdb-base-oar": ["sona"],
     "//providers/p4runtime:onos-providers-p4runtime-oar": ["stratum", "tost"],
     "//providers/pcep:onos-providers-pcep-oar": [],
     "//providers/rest:onos-providers-rest-oar": ["stratum", "tost"],
@@ -149,7 +149,7 @@
 #
 
 DRIVER_MAP = {
-    "//drivers/default:onos-drivers-default-oar": ["minimal", "seba", "stratum", "tost"],
+    "//drivers/default:onos-drivers-default-oar": ["minimal", "seba", "stratum", "tost", "sona"],
     "//drivers/arista:onos-drivers-arista-oar": [],
     "//drivers/bmv2:onos-drivers-bmv2-oar": ["stratum", "tost"],
     "//drivers/barefoot:onos-drivers-barefoot-oar": ["stratum", "tost"],
@@ -163,7 +163,7 @@
     "//drivers/czechlight:onos-drivers-czechlight-oar": [],
     "//drivers/flowspec:onos-drivers-flowspec-oar": [],
     "//drivers/fujitsu:onos-drivers-fujitsu-oar": [],
-    "//drivers/gnmi:onos-drivers-gnmi-oar": ["stratum", "tost"],
+    "//drivers/gnmi:onos-drivers-gnmi-oar": ["stratum", "tost", "sona"],
     "//drivers/gnoi:onos-drivers-gnoi-oar": ["stratum", "tost"],
     "//drivers/hp:onos-drivers-hp-oar": [],
     "//drivers/huawei:onos-drivers-huawei-oar": [],
@@ -175,7 +175,7 @@
     "//drivers/odtn-driver:onos-drivers-odtn-driver-oar": ["stratum", "tost"],
     "//drivers/oplink:onos-drivers-oplink-oar": [],
     "//drivers/optical:onos-drivers-optical-oar": ["stratum", "tost"],
-    "//drivers/ovsdb:onos-drivers-ovsdb-oar": [],
+    "//drivers/ovsdb:onos-drivers-ovsdb-oar": ["sona"],
     "//drivers/p4runtime:onos-drivers-p4runtime-oar": ["stratum", "tost"],
     "//drivers/polatis/netconf:onos-drivers-polatis-netconf-oar": [],
     "//drivers/polatis/openflow:onos-drivers-polatis-openflow-oar": [],
@@ -237,8 +237,8 @@
     "//apps/inbandtelemetry:onos-apps-inbandtelemetry-oar": [],
     "//apps/influxdbmetrics:onos-apps-influxdbmetrics-oar": [],
     "//apps/intentsync:onos-apps-intentsync-oar": [],
-    "//apps/k8s-networking:onos-apps-k8s-networking-oar": [],
-    "//apps/k8s-node:onos-apps-k8s-node-oar": [],
+    "//apps/k8s-networking:onos-apps-k8s-networking-oar": ["sona"],
+    "//apps/k8s-node:onos-apps-k8s-node-oar": ["sona"],
     "//apps/kafka-integration:onos-apps-kafka-integration-oar": [],
     "//apps/l3vpn:onos-apps-l3vpn-oar": [],
     "//apps/layout:onos-apps-layout-oar": [],
@@ -260,13 +260,13 @@
     "//apps/onlp-demo:onos-apps-onlp-demo-oar": [],
     "//apps/onos-topo:onos-apps-onos-topo-oar": [],
     "//apps/openroadm:onos-apps-openroadm-oar": [],
-    "//apps/openstacknetworking:onos-apps-openstacknetworking-oar": [],
-    "//apps/openstacknetworkingui:onos-apps-openstacknetworkingui-oar": [],
-    "//apps/openstacknode:onos-apps-openstacknode-oar": [],
-    "//apps/openstacktelemetry:onos-apps-openstacktelemetry-oar": [],
-    "//apps/openstacktroubleshoot:onos-apps-openstacktroubleshoot-oar": [],
-    "//apps/openstackvtap:onos-apps-openstackvtap-oar": [],
-    "//apps/optical-model:onos-apps-optical-model-oar": ["seba", "stratum", "tost"],
+    "//apps/openstacknetworking:onos-apps-openstacknetworking-oar": ["sona"],
+    "//apps/openstacknetworkingui:onos-apps-openstacknetworkingui-oar": ["sona"],
+    "//apps/openstacknode:onos-apps-openstacknode-oar": ["sona"],
+    "//apps/openstacktelemetry:onos-apps-openstacktelemetry-oar": ["sona"],
+    "//apps/openstacktroubleshoot:onos-apps-openstacktroubleshoot-oar": ["sona"],
+    "//apps/openstackvtap:onos-apps-openstackvtap-oar": ["sona"],
+    "//apps/optical-model:onos-apps-optical-model-oar": ["seba", "stratum", "tost", "sona"],
     "//apps/optical-rest:onos-apps-optical-rest-oar": [],
     "//apps/p4-tutorial/mytunnel:onos-apps-p4-tutorial-mytunnel-oar": [],
     "//apps/p4-tutorial/pipeconf:onos-apps-p4-tutorial-pipeconf-oar": [],
@@ -306,7 +306,7 @@
     "//apps/test/transaction-perf:onos-apps-test-transaction-perf-oar": [],
     "//apps/tetopology:onos-apps-tetopology-oar": [],
     "//apps/tetunnel:onos-apps-tetunnel-oar": [],
-    "//apps/tunnel:onos-apps-tunnel-oar": [],
+    "//apps/tunnel:onos-apps-tunnel-oar": ["sona"],
     "//apps/virtual:onos-apps-virtual-oar": [],
     "//apps/virtualbng:onos-apps-virtualbng-oar": [],
     "//apps/vpls:onos-apps-vpls-oar": [],
@@ -317,7 +317,7 @@
     "//apps/yang-gui:onos-apps-yang-gui-oar": [],
     "//apps/yang:onos-apps-yang-oar": ["stratum", "tost"],
     # "//apps/yms:onos-apps-yms-oar": [],
-    "//web/gui:onos-web-gui-oar": [],
+    "//web/gui:onos-web-gui-oar": ["sona"],
     "//web/gui2:onos-web-gui2-oar": ["stratum", "tost"],
 }