Thomas Vachuska | f5d1720 | 2018-06-12 17:28:13 -0700 | [diff] [blame] | 1 | UTILS = [ |
| 2 | "//utils/osgiwrap:osgi-jar", |
| 3 | "//utils/osgi:onlab-osgi", |
| 4 | "//utils/junit:onlab-junit", |
| 5 | "//utils/misc:onlab-misc", |
| 6 | "//utils/rest:onlab-rest", |
Thomas Vachuska | f5d1720 | 2018-06-12 17:28:13 -0700 | [diff] [blame] | 7 | ] |
| 8 | |
| 9 | API = [ |
| 10 | "//core/api:onos-api", |
Thomas Vachuska | f5d1720 | 2018-06-12 17:28:13 -0700 | [diff] [blame] | 11 | ] |
| 12 | |
| 13 | CORE = UTILS + API + [ |
| 14 | "//core/net:onos-core-net", |
| 15 | "//core/common:onos-core-common", |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 16 | "//core/protobuf/models:onos-core-protobuf-models", |
| 17 | "//core/protobuf/models/proto:onos-core-protobuf-models-proto", |
Ray Milkey | 324af93 | 2018-06-20 19:50:31 -0700 | [diff] [blame] | 18 | "//core/store/primitives:onos-core-primitives", |
Thomas Vachuska | f5d1720 | 2018-06-12 17:28:13 -0700 | [diff] [blame] | 19 | "//core/store/serializers:onos-core-serializers", |
| 20 | "//core/store/dist:onos-core-dist", |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 21 | # "//core/security:onos-security", |
Thomas Vachuska | f5d1720 | 2018-06-12 17:28:13 -0700 | [diff] [blame] | 22 | "//core/store/persistence:onos-core-persistence", |
Thomas Vachuska | f5d1720 | 2018-06-12 17:28:13 -0700 | [diff] [blame] | 23 | "//cli:onos-cli", |
Ray Milkey | 3ca46e9 | 2018-06-13 10:21:53 -0700 | [diff] [blame] | 24 | "//drivers/utilities:onos-drivers-utilities", |
Ray Milkey | 18fb081 | 2018-06-21 10:32:53 -0700 | [diff] [blame] | 25 | "//providers/general/device:onos-providers-general-device", |
Ray Milkey | 324af93 | 2018-06-20 19:50:31 -0700 | [diff] [blame] | 26 | "//web/api:onos-rest", |
Thomas Vachuska | f5d1720 | 2018-06-12 17:28:13 -0700 | [diff] [blame] | 27 | ] |
| 28 | |
Thomas Vachuska | 1ae26c6 | 2018-07-09 13:40:16 -0700 | [diff] [blame] | 29 | FEATURES = [ |
| 30 | "//tools/package/features:onos-thirdparty-base", |
| 31 | "//tools/package/features:onos-thirdparty-web", |
| 32 | "//tools/package/features:onos-api", |
| 33 | "//tools/package/features:onos-core", |
Thomas Vachuska | 03c608c | 2018-07-10 16:45:08 -0700 | [diff] [blame] | 34 | "//tools/package/features:onos-cli", |
| 35 | "//tools/package/features:onos-rest", |
Ray Milkey | d84f89b | 2018-08-17 14:54:17 -0700 | [diff] [blame] | 36 | # "//tools/package/features:onos-security", |
Thomas Vachuska | 1ae26c6 | 2018-07-09 13:40:16 -0700 | [diff] [blame] | 37 | ] |
| 38 | |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 39 | # |
| 40 | # ONOS Profile Maps |
| 41 | # |
| 42 | # To include a JAR or app in a specific profile, add the profile name |
| 43 | # to the list in the maps below. If multiple profiles are listed, |
| 44 | # then it will be included in each profile. Every item included in the |
| 45 | # map will be included in the default profile (build with no profile |
| 46 | # specified). |
| 47 | # |
| 48 | |
| 49 | # |
| 50 | # ONOS Protocols and Providers |
| 51 | # |
| 52 | |
| 53 | PROTOCOL_MAP = { |
| 54 | "//protocols/bgp/bgpio:onos-protocols-bgp-bgpio": [], |
| 55 | "//protocols/bgp/api:onos-protocols-bgp-api": [], |
| 56 | "//protocols/bgp/ctl:onos-protocols-bgp-ctl": [], |
| 57 | "//protocols/isis/api:onos-protocols-isis-api": [], |
| 58 | "//protocols/isis/ctl:onos-protocols-isis-ctl": [], |
| 59 | "//protocols/isis/isisio:onos-protocols-isis-isisio": [], |
| 60 | "//protocols/lisp/api:onos-protocols-lisp-api": [], |
| 61 | "//protocols/lisp/ctl:onos-protocols-lisp-ctl": [], |
| 62 | "//protocols/lisp/msg:onos-protocols-lisp-msg": [], |
| 63 | "//protocols/netconf/api:onos-protocols-netconf-api": [], |
| 64 | "//protocols/netconf/ctl:onos-protocols-netconf-ctl": [], |
Jian Li | 4170ab7 | 2020-07-22 17:34:55 +0900 | [diff] [blame] | 65 | "//protocols/openflow/api:onos-protocols-openflow-api": ["seba", "sona"], |
| 66 | "//protocols/openflow/ctl:onos-protocols-openflow-ctl": ["seba", "sona"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 67 | "//protocols/ospf/api:onos-protocols-ospf-api": [], |
| 68 | "//protocols/ospf/protocol:onos-protocols-ospf-protocol": [], |
| 69 | "//protocols/ospf/ctl:onos-protocols-ospf-ctl": [], |
Jian Li | 4170ab7 | 2020-07-22 17:34:55 +0900 | [diff] [blame] | 70 | "//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc": ["sona"], |
| 71 | "//protocols/ovsdb/api:onos-protocols-ovsdb-api": ["sona"], |
| 72 | "//protocols/ovsdb/ctl:onos-protocols-ovsdb-ctl": ["sona"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 73 | "//protocols/p4runtime/api:onos-protocols-p4runtime-api": ["stratum"], |
| 74 | "//protocols/p4runtime/model:onos-protocols-p4runtime-model": ["stratum"], |
| 75 | "//protocols/pcep/pcepio:onos-protocols-pcep-pcepio": [], |
| 76 | "//protocols/pcep/server/api:onos-protocols-pcep-server-api": [], |
| 77 | "//protocols/pcep/server/ctl:onos-protocols-pcep-server-ctl": [], |
| 78 | "//protocols/rest/api:onos-protocols-rest-api": [], |
| 79 | "//protocols/rest/ctl:onos-protocols-rest-ctl": [], |
| 80 | "//protocols/restconf/client/api:onos-protocols-restconf-client-api": [], |
| 81 | "//protocols/restconf/client/ctl:onos-protocols-restconf-client-ctl": [], |
| 82 | "//protocols/snmp/api:onos-protocols-snmp-api": [], |
| 83 | "//protocols/snmp/ctl:onos-protocols-snmp-ctl": [], |
| 84 | "//protocols/tl1/api:onos-protocols-tl1-api": [], |
| 85 | "//protocols/tl1/ctl:onos-protocols-tl1-ctl": [], |
| 86 | "//protocols/xmpp/core/api:onos-protocols-xmpp-core-api": [], |
| 87 | "//protocols/xmpp/core/ctl:onos-protocols-xmpp-core-ctl": [], |
| 88 | } |
| 89 | |
| 90 | PROTOCOL_APP_MAP = { |
Jian Li | 4170ab7 | 2020-07-22 17:34:55 +0900 | [diff] [blame] | 91 | "//protocols/grpc:onos-protocols-grpc-oar": ["stratum", "tost", "sona"], |
| 92 | "//protocols/gnmi:onos-protocols-gnmi-oar": ["stratum", "tost", "sona"], |
pierventre | 8a95ee4 | 2020-06-30 22:04:16 +0200 | [diff] [blame] | 93 | "//protocols/gnoi:onos-protocols-gnoi-oar": ["stratum", "tost"], |
| 94 | "//protocols/p4runtime:onos-protocols-p4runtime-oar": ["stratum", "tost"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 95 | "//protocols/restconf/server:onos-protocols-restconf-server-oar": [], |
| 96 | "//protocols/xmpp/core:onos-protocols-xmpp-core-oar": [], |
| 97 | "//protocols/xmpp/pubsub:onos-protocols-xmpp-pubsub-oar": [], |
| 98 | } |
| 99 | |
| 100 | PROVIDER_MAP = { |
| 101 | "//providers/netconf/device:onos-providers-netconf-device": [], |
Jian Li | 4170ab7 | 2020-07-22 17:34:55 +0900 | [diff] [blame] | 102 | "//providers/openflow/device:onos-providers-openflow-device": ["seba", "sona"], |
| 103 | "//providers/openflow/packet:onos-providers-openflow-packet": ["seba", "sona"], |
| 104 | "//providers/openflow/flow:onos-providers-openflow-flow": ["seba", "sona"], |
| 105 | "//providers/openflow/group:onos-providers-openflow-group": ["seba", "sona"], |
| 106 | "//providers/openflow/meter:onos-providers-openflow-meter": ["seba", "sona"], |
| 107 | "//providers/ovsdb/device:onos-providers-ovsdb-device": ["sona"], |
| 108 | "//providers/ovsdb/tunnel:onos-providers-ovsdb-tunnel": ["sona"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 109 | "//providers/p4runtime/packet:onos-providers-p4runtime-packet": ["stratum"], |
| 110 | "//providers/rest/device:onos-providers-rest-device": [], |
| 111 | "//providers/snmp/device:onos-providers-snmp-device": [], |
| 112 | "//providers/isis/cfg:onos-providers-isis-cfg": [], |
| 113 | "//providers/isis/topology:onos-providers-isis-topology": [], |
| 114 | "//providers/lisp/device:onos-providers-lisp-device": [], |
| 115 | "//providers/tl1/device:onos-providers-tl1-device": [], |
| 116 | } |
| 117 | |
| 118 | PROVIDER_APP_MAP = { |
Jian Li | 4170ab7 | 2020-07-22 17:34:55 +0900 | [diff] [blame] | 119 | "//providers/general:onos-providers-general-oar": ["stratum", "tost", "sona"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 120 | "//providers/bgp:onos-providers-bgp-oar": [], |
| 121 | "//providers/bgpcep:onos-providers-bgpcep-oar": [], |
Jian Li | 4170ab7 | 2020-07-22 17:34:55 +0900 | [diff] [blame] | 122 | "//providers/host:onos-providers-host-oar": ["seba", "stratum", "tost", "sona"], |
| 123 | "//providers/hostprobing:onos-providers-hostprobing-oar": ["seba", "stratum", "tost", "sona"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 124 | "//providers/isis:onos-providers-isis-oar": [], |
| 125 | "//providers/link:onos-providers-link-oar": ["stratum"], |
Jian Li | 4170ab7 | 2020-07-22 17:34:55 +0900 | [diff] [blame] | 126 | "//providers/lldp:onos-providers-lldp-oar": ["seba", "stratum", "tost", "sona"], |
| 127 | "//providers/netcfghost:onos-providers-netcfghost-oar": ["seba", "stratum", "tost", "sona"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 128 | "//providers/netcfglinks:onos-providers-netcfglinks-oar": ["stratum"], |
| 129 | "//providers/netconf:onos-providers-netconf-oar": [], |
| 130 | "//providers/null:onos-providers-null-oar": [], |
Jian Li | 4170ab7 | 2020-07-22 17:34:55 +0900 | [diff] [blame] | 131 | "//providers/openflow/app:onos-providers-openflow-app-oar": ["seba", "sona"], |
| 132 | "//providers/openflow/base:onos-providers-openflow-base-oar": ["seba", "sona"], |
| 133 | "//providers/openflow/message:onos-providers-openflow-message-oar": ["seba", "sona"], |
| 134 | "//providers/ovsdb:onos-providers-ovsdb-oar": ["sona"], |
| 135 | "//providers/ovsdb/host:onos-providers-ovsdb-host-oar": ["sona"], |
| 136 | "//providers/ovsdb/base:onos-providers-ovsdb-base-oar": ["sona"], |
pierventre | 8a95ee4 | 2020-06-30 22:04:16 +0200 | [diff] [blame] | 137 | "//providers/p4runtime:onos-providers-p4runtime-oar": ["stratum", "tost"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 138 | "//providers/pcep:onos-providers-pcep-oar": [], |
| 139 | "//providers/rest:onos-providers-rest-oar": [], |
| 140 | "//providers/snmp:onos-providers-snmp-oar": [], |
| 141 | "//providers/lisp:onos-providers-lisp-oar": [], |
| 142 | "//providers/tl1:onos-providers-tl1-oar": [], |
| 143 | "//providers/xmpp/device:onos-providers-xmpp-device-oar": [], |
| 144 | # "//providers/ietfte:onos-providers-ietfte-oar": [], |
| 145 | } |
| 146 | |
| 147 | # |
| 148 | # ONOS Drivers |
| 149 | # |
| 150 | |
| 151 | DRIVER_MAP = { |
Jian Li | 4170ab7 | 2020-07-22 17:34:55 +0900 | [diff] [blame] | 152 | "//drivers/default:onos-drivers-default-oar": ["minimal", "seba", "stratum", "tost", "sona"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 153 | "//drivers/arista:onos-drivers-arista-oar": [], |
pierventre | 8a95ee4 | 2020-06-30 22:04:16 +0200 | [diff] [blame] | 154 | "//drivers/bmv2:onos-drivers-bmv2-oar": ["stratum", "tost"], |
| 155 | "//drivers/barefoot:onos-drivers-barefoot-oar": ["stratum", "tost"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 156 | "//drivers/ciena/waveserver:onos-drivers-ciena-waveserver-oar": [], |
| 157 | "//drivers/ciena/c5162:onos-drivers-ciena-c5162-oar": [], |
| 158 | "//drivers/ciena/c5170:onos-drivers-ciena-c5170-oar": [], |
| 159 | "//drivers/ciena/waveserverai:onos-drivers-ciena-waveserverai-oar": [], |
| 160 | "//drivers/cisco/netconf:onos-drivers-cisco-netconf-oar": [], |
| 161 | "//drivers/cisco/rest:onos-drivers-cisco-rest-oar": [], |
| 162 | "//drivers/corsa:onos-drivers-corsa-oar": [], |
| 163 | "//drivers/flowspec:onos-drivers-flowspec-oar": [], |
| 164 | "//drivers/fujitsu:onos-drivers-fujitsu-oar": [], |
Jian Li | 4170ab7 | 2020-07-22 17:34:55 +0900 | [diff] [blame] | 165 | "//drivers/gnmi:onos-drivers-gnmi-oar": ["stratum", "tost", "sona"], |
pierventre | 8a95ee4 | 2020-06-30 22:04:16 +0200 | [diff] [blame] | 166 | "//drivers/gnoi:onos-drivers-gnoi-oar": ["stratum", "tost"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 167 | "//drivers/hp:onos-drivers-hp-oar": [], |
| 168 | "//drivers/huawei:onos-drivers-huawei-oar": [], |
| 169 | "//drivers/juniper:onos-drivers-juniper-oar": [], |
| 170 | "//drivers/lisp:onos-drivers-lisp-oar": [], |
| 171 | "//drivers/lumentum:onos-drivers-lumentum-oar": [], |
| 172 | "//drivers/mellanox:onos-drivers-mellanox-oar": ["stratum"], |
| 173 | "//drivers/microsemi/ea1000:onos-drivers-microsemi-ea1000-oar": [], |
| 174 | "//drivers/netconf:onos-drivers-netconf-oar": [], |
| 175 | "//drivers/odtn-driver:onos-drivers-odtn-driver-oar": [], |
| 176 | "//drivers/oplink:onos-drivers-oplink-oar": [], |
| 177 | "//drivers/optical:onos-drivers-optical-oar": [], |
Jian Li | 4170ab7 | 2020-07-22 17:34:55 +0900 | [diff] [blame] | 178 | "//drivers/ovsdb:onos-drivers-ovsdb-oar": ["sona"], |
pierventre | 8a95ee4 | 2020-06-30 22:04:16 +0200 | [diff] [blame] | 179 | "//drivers/p4runtime:onos-drivers-p4runtime-oar": ["stratum", "tost"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 180 | "//drivers/polatis/netconf:onos-drivers-polatis-netconf-oar": [], |
| 181 | "//drivers/polatis/openflow:onos-drivers-polatis-openflow-oar": [], |
| 182 | "//drivers/server:onos-drivers-server-oar": [], |
pierventre | 8a95ee4 | 2020-06-30 22:04:16 +0200 | [diff] [blame] | 183 | "//drivers/stratum:onos-drivers-stratum-oar": ["stratum", "tost"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 184 | } |
| 185 | |
| 186 | # |
| 187 | # ONOS Apps and App API JARs |
| 188 | # |
| 189 | |
| 190 | APP_JAR_MAP = { |
| 191 | "//apps/cpman/api:onos-apps-cpman-api": [], |
| 192 | "//apps/routing-api:onos-apps-routing-api": [], |
| 193 | "//apps/dhcp/api:onos-apps-dhcp-api": [], |
| 194 | "//apps/dhcp/app:onos-apps-dhcp-app": [], |
| 195 | "//apps/imr/api:onos-apps-imr-api": [], |
| 196 | "//apps/imr/app:onos-apps-imr-app": [], |
| 197 | "//apps/dhcprelay/app:onos-apps-dhcprelay-app": [], |
| 198 | "//apps/dhcprelay/web:onos-apps-dhcprelay-web": [], |
| 199 | "//apps/fwd:onos-apps-fwd": [], |
| 200 | "//apps/iptopology-api:onos-apps-iptopology-api": [], |
| 201 | "//apps/kafka-integration/api:onos-apps-kafka-integration-api": [], |
| 202 | "//apps/kafka-integration/app:onos-apps-kafka-integration-app": [], |
| 203 | "//apps/routing/common:onos-apps-routing-common": [], |
| 204 | "//apps/vtn/vtnrsc:onos-apps-vtn-vtnrsc": [], |
| 205 | "//apps/vtn/sfcmgr:onos-apps-vtn-sfcmgr": [], |
| 206 | "//apps/vtn/vtnmgr:onos-apps-vtn-vtnmgr": [], |
| 207 | "//apps/vtn/vtnweb:onos-apps-vtn-vtnweb": [], |
| 208 | } |
| 209 | |
| 210 | APP_MAP = { |
| 211 | "//apps/acl:onos-apps-acl-oar": [], |
| 212 | "//apps/artemis:onos-apps-artemis-oar": [], |
| 213 | "//apps/bgprouter:onos-apps-bgprouter-oar": [], |
| 214 | "//apps/castor:onos-apps-castor-oar": [], |
| 215 | "//apps/cfm:onos-apps-cfm-oar": [], |
| 216 | "//apps/cip:onos-apps-cip-oar": [], |
| 217 | "//apps/config:onos-apps-config-oar": [], |
| 218 | "//apps/configsync-netconf:onos-apps-configsync-netconf-oar": [], |
| 219 | "//apps/configsync:onos-apps-configsync-oar": [], |
| 220 | "//apps/cord-support:onos-apps-cord-support-oar": [], |
| 221 | "//apps/cpman/app:onos-apps-cpman-app-oar": [], |
| 222 | "//apps/dhcp:onos-apps-dhcp-oar": [], |
pierventre | 8a95ee4 | 2020-06-30 22:04:16 +0200 | [diff] [blame] | 223 | "//apps/dhcprelay:onos-apps-dhcprelay-oar": ["tost"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 224 | "//apps/drivermatrix:onos-apps-drivermatrix-oar": [], |
| 225 | "//apps/events:onos-apps-events-oar": [], |
| 226 | "//apps/evpn-route-service:onos-apps-evpn-route-service-oar": [], |
| 227 | "//apps/evpnopenflow:onos-apps-evpnopenflow-oar": [], |
| 228 | "//apps/faultmanagement:onos-apps-faultmanagement-oar": [], |
| 229 | "//apps/flowanalyzer:onos-apps-flowanalyzer-oar": [], |
| 230 | "//apps/flowspec-api:onos-apps-flowspec-api-oar": [], |
| 231 | "//apps/fwd:onos-apps-fwd-oar": [], |
| 232 | "//apps/gangliametrics:onos-apps-gangliametrics-oar": [], |
| 233 | "//apps/gluon:onos-apps-gluon-oar": [], |
| 234 | "//apps/graphitemetrics:onos-apps-graphitemetrics-oar": [], |
| 235 | "//apps/imr:onos-apps-imr-oar": [], |
pierventre | 088cb4d | 2020-07-30 21:55:32 +0200 | [diff] [blame] | 236 | "//apps/inbandtelemetry:onos-apps-inbandtelemetry-oar": ["tost"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 237 | "//apps/influxdbmetrics:onos-apps-influxdbmetrics-oar": [], |
| 238 | "//apps/intentsync:onos-apps-intentsync-oar": [], |
Jian Li | 4170ab7 | 2020-07-22 17:34:55 +0900 | [diff] [blame] | 239 | "//apps/k8s-networking:onos-apps-k8s-networking-oar": ["sona"], |
| 240 | "//apps/k8s-node:onos-apps-k8s-node-oar": ["sona"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 241 | "//apps/kafka-integration:onos-apps-kafka-integration-oar": [], |
| 242 | "//apps/l3vpn:onos-apps-l3vpn-oar": [], |
| 243 | "//apps/layout:onos-apps-layout-oar": [], |
| 244 | "//apps/linkprops:onos-apps-linkprops-oar": [], |
| 245 | "//apps/mappingmanagement:onos-apps-mappingmanagement-oar": [], |
pierventre | 8a95ee4 | 2020-06-30 22:04:16 +0200 | [diff] [blame] | 246 | "//apps/mcast:onos-apps-mcast-oar": ["seba", "tost"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 247 | "//apps/metrics:onos-apps-metrics-oar": [], |
| 248 | "//apps/mfwd:onos-apps-mfwd-oar": [], |
| 249 | "//apps/mlb:onos-apps-mlb-oar": [], |
| 250 | "//apps/mobility:onos-apps-mobility-oar": [], |
| 251 | "//apps/netconf/client:onos-apps-netconf-client-oar": [], |
| 252 | "//apps/network-troubleshoot:onos-apps-network-troubleshoot-oar": [], |
| 253 | "//apps/newoptical:onos-apps-newoptical-oar": [], |
| 254 | "//apps/nodemetrics:onos-apps-nodemetrics-oar": [], |
| 255 | "//apps/odtn/api:onos-apps-odtn-api-oar": [], |
| 256 | "//apps/odtn/service:onos-apps-odtn-service-oar": [], |
| 257 | "//apps/ofagent:onos-apps-ofagent-oar": [], |
| 258 | "//apps/onlp-demo:onos-apps-onlp-demo-oar": [], |
| 259 | "//apps/openroadm:onos-apps-openroadm-oar": [], |
Jian Li | 4170ab7 | 2020-07-22 17:34:55 +0900 | [diff] [blame] | 260 | "//apps/openstacknetworking:onos-apps-openstacknetworking-oar": ["sona"], |
| 261 | "//apps/openstacknetworkingui:onos-apps-openstacknetworkingui-oar": ["sona"], |
| 262 | "//apps/openstacknode:onos-apps-openstacknode-oar": ["sona"], |
| 263 | "//apps/openstacktelemetry:onos-apps-openstacktelemetry-oar": ["sona"], |
| 264 | "//apps/openstacktroubleshoot:onos-apps-openstacktroubleshoot-oar": ["sona"], |
| 265 | "//apps/openstackvtap:onos-apps-openstackvtap-oar": ["sona"], |
| 266 | "//apps/optical-model:onos-apps-optical-model-oar": ["seba", "sona"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 267 | "//apps/optical-rest:onos-apps-optical-rest-oar": [], |
| 268 | "//apps/p4-tutorial/mytunnel:onos-apps-p4-tutorial-mytunnel-oar": [], |
| 269 | "//apps/p4-tutorial/pipeconf:onos-apps-p4-tutorial-pipeconf-oar": [], |
| 270 | "//apps/packet-stats:onos-apps-packet-stats-oar": [], |
| 271 | "//apps/packet-throttle:onos-apps-packet-throttle-oar": [], |
| 272 | "//apps/pathpainter:onos-apps-pathpainter-oar": [], |
| 273 | "//apps/pcep-api:onos-apps-pcep-api-oar": [], |
| 274 | "//apps/pim:onos-apps-pim-oar": [], |
pierventre | 8a95ee4 | 2020-06-30 22:04:16 +0200 | [diff] [blame] | 275 | "//apps/portloadbalancer:onos-apps-portloadbalancer-oar": ["seba", "tost"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 276 | "//apps/powermanagement:onos-apps-powermanagement-oar": [], |
| 277 | "//apps/proxyarp:onos-apps-proxyarp-oar": [], |
| 278 | "//apps/rabbitmq:onos-apps-rabbitmq-oar": [], |
| 279 | "//apps/reactive-routing:onos-apps-reactive-routing-oar": [], |
| 280 | "//apps/restconf:onos-apps-restconf-oar": [], |
| 281 | "//apps/roadm:onos-apps-roadm-oar": [], |
pierventre | 8a95ee4 | 2020-06-30 22:04:16 +0200 | [diff] [blame] | 282 | "//apps/route-service:onos-apps-route-service-oar": ["seba", "tost"], |
| 283 | "//apps/routeradvertisement:onos-apps-routeradvertisement-oar": ["tost"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 284 | "//apps/routing/cpr:onos-apps-routing-cpr-oar": [], |
| 285 | "//apps/routing/fibinstaller:onos-apps-routing-fibinstaller-oar": [], |
pierventre | 8a95ee4 | 2020-06-30 22:04:16 +0200 | [diff] [blame] | 286 | "//apps/routing/fpm:onos-apps-routing-fpm-oar": ["tost"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 287 | "//apps/scalablegateway:onos-apps-scalablegateway-oar": [], |
| 288 | "//apps/sdnip:onos-apps-sdnip-oar": [], |
| 289 | "//apps/segmentrouting:onos-apps-segmentrouting-oar": ["seba"], |
| 290 | "//apps/simplefabric:onos-apps-simplefabric-oar": [], |
| 291 | "//apps/t3:onos-apps-t3-oar": [], |
| 292 | # "//apps/tenbi:onos-apps-tenbi-oar": [], |
| 293 | # "//apps/tenbi/yangmodel:onos-apps-tenbi-yangmodel-feature": [], |
| 294 | "//apps/test/cluster-ha:onos-apps-test-cluster-ha-oar": [], |
| 295 | "//apps/test/demo:onos-apps-test-demo-oar": [], |
| 296 | "//apps/test/distributed-primitives:onos-apps-test-distributed-primitives-oar": [], |
| 297 | "//apps/test/election:onos-apps-test-election-oar": [], |
| 298 | "//apps/test/flow-perf:onos-apps-test-flow-perf-oar": [], |
| 299 | "//apps/test/intent-perf:onos-apps-test-intent-perf-oar": [], |
| 300 | "//apps/test/loadtest:onos-apps-test-loadtest-oar": [], |
| 301 | "//apps/test/messaging-perf:onos-apps-test-messaging-perf-oar": [], |
| 302 | "//apps/test/netcfg-monitor:onos-apps-test-netcfg-monitor-oar": [], |
| 303 | "//apps/test/primitive-perf:onos-apps-test-primitive-perf-oar": [], |
| 304 | "//apps/test/route-scale:onos-apps-test-route-scale-oar": [], |
| 305 | "//apps/test/transaction-perf:onos-apps-test-transaction-perf-oar": [], |
| 306 | "//apps/tetopology:onos-apps-tetopology-oar": [], |
| 307 | "//apps/tetunnel:onos-apps-tetunnel-oar": [], |
Jian Li | 4170ab7 | 2020-07-22 17:34:55 +0900 | [diff] [blame] | 308 | "//apps/tunnel:onos-apps-tunnel-oar": ["sona"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 309 | "//apps/virtual:onos-apps-virtual-oar": [], |
| 310 | "//apps/virtualbng:onos-apps-virtualbng-oar": [], |
| 311 | "//apps/vpls:onos-apps-vpls-oar": [], |
| 312 | "//apps/vrouter:onos-apps-vrouter-oar": [], |
| 313 | "//apps/vtn:onos-apps-vtn-oar": [], |
| 314 | "//apps/workflow/ofoverlay:onos-apps-workflow-ofoverlay-oar": [], |
| 315 | "//apps/workflow:onos-apps-workflow-oar": [], |
| 316 | "//apps/yang-gui:onos-apps-yang-gui-oar": [], |
| 317 | "//apps/yang:onos-apps-yang-oar": [], |
| 318 | # "//apps/yms:onos-apps-yms-oar": [], |
Carmelo Cascone | e3a3df4 | 2020-08-01 21:36:15 -0700 | [diff] [blame] | 319 | "//web/gui:onos-web-gui-oar": ["sona", "tost"], |
pierventre | 8a95ee4 | 2020-06-30 22:04:16 +0200 | [diff] [blame] | 320 | "//web/gui2:onos-web-gui2-oar": ["stratum", "tost"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 321 | } |
| 322 | |
| 323 | # |
| 324 | # Pipelines and Models |
| 325 | # |
| 326 | |
| 327 | PIPELINE_MAP = { |
pierventre | 8a95ee4 | 2020-06-30 22:04:16 +0200 | [diff] [blame] | 328 | "//pipelines/basic:onos-pipelines-basic-oar": ["stratum", "tost"], |
| 329 | "//pipelines/fabric:onos-pipelines-fabric-oar": ["stratum", "tost"], |
pierventre | 1891791 | 2020-01-07 11:28:46 -0800 | [diff] [blame] | 330 | } |
| 331 | |
| 332 | MODELS_MAP = { |
| 333 | "//models/ietf:onos-models-ietf-oar": [], |
| 334 | "//models/common:onos-models-common-oar": [], |
| 335 | "//models/huawei:onos-models-huawei-oar": [], |
| 336 | "//models/openconfig:onos-models-openconfig-oar": [], |
| 337 | "//models/openconfig-infinera:onos-models-openconfig-infinera-oar": [], |
| 338 | "//models/openconfig-odtn:onos-models-openconfig-odtn-oar": [], |
| 339 | "//models/openroadm:onos-models-openroadm-oar": [], |
| 340 | "//models/tapi:onos-models-tapi-oar": [], |
| 341 | "//models/l3vpn:onos-models-l3vpn-oar": [], |
| 342 | "//models/microsemi:onos-models-microsemi-oar": [], |
| 343 | "//models/polatis:onos-models-polatis-oar": [], |
| 344 | "//models/ciena/waveserverai:onos-models-ciena-waveserverai-oar": [], |
| 345 | } |
| 346 | |
| 347 | # |
| 348 | # Convenience functions for processing profile maps |
| 349 | # |
| 350 | |
| 351 | def filter(map, profile): |
| 352 | all = not bool(profile) or profile == "all" |
| 353 | return [k for k, v in map.items() if all or profile in v] |
| 354 | |
| 355 | def extensions(profile = None): |
| 356 | return filter(PROTOCOL_MAP, profile) + filter(PROVIDER_MAP, profile) |
| 357 | |
| 358 | def apps(profile = None): |
| 359 | return filter(PROTOCOL_APP_MAP, profile) + \ |
| 360 | filter(PROVIDER_APP_MAP, profile) + \ |
| 361 | filter(DRIVER_MAP, profile) + \ |
| 362 | filter(APP_MAP, profile) + \ |
| 363 | filter(APP_JAR_MAP, profile) + \ |
| 364 | filter(PIPELINE_MAP, profile) + \ |
| 365 | filter(MODELS_MAP, profile) |
| 366 | |
| 367 | # |
| 368 | # Instantiate a config_setting for every profile in the list |
| 369 | # |
| 370 | def profiles(profiles): |
| 371 | for p in profiles: |
| 372 | native.config_setting( |
| 373 | name = "%s_profile" % p, |
| 374 | values = {"define": "profile=%s" % p}, |
| 375 | ) |