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