blob: f473d5559cef2ea3a4a070dc53765f0b54aed72c [file] [log] [blame]
Brian O'Connore4da59d2016-04-08 00:32:18 -07001CORE = [
Ray Milkeyf80bbb22016-03-11 10:16:22 -08002 '//utils/osgi:onlab-osgi',
3 '//utils/junit:onlab-junit',
4 '//utils/misc:onlab-misc',
5 '//utils/rest:onlab-rest',
Brian O'Connorb86c9202016-04-05 20:15:04 -07006
Ray Milkeyf80bbb22016-03-11 10:16:22 -08007 '//core/api:onos-api',
Ray Milkeyf80bbb22016-03-11 10:16:22 -08008 '//core/net:onos-core-net',
Brian O'Connorb86c9202016-04-05 20:15:04 -07009 '//core/common:onos-core-common',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080010 '//core/store/primitives:onos-core-primitives',
11 '//core/store/serializers:onos-core-serializers',
12 '//core/store/dist:onos-core-dist',
13 '//core/security:onos-security',
14 '//core/store/persistence:onos-core-persistence',
Brian O'Connorb86c9202016-04-05 20:15:04 -070015
16 '//incubator/api:onos-incubator-api',
17 '//incubator/net:onos-incubator-net',
18 '//incubator/core:onos-incubator-core',
19 '//incubator/store:onos-incubator-store',
20 '//incubator/rpc:onos-incubator-rpc',
21
Ray Milkeyf80bbb22016-03-11 10:16:22 -080022 '//cli:onos-cli',
23
Ray Milkey12c1d512016-04-25 15:16:00 -070024 '//protocols/rest/api:onos-protocols-rest-api',
25 '//protocols/rest/ctl:onos-protocols-rest-ctl',
Ray Milkey8dac8182016-04-28 16:44:19 -070026 '//protocols/bgp/bgpio:onos-protocols-bgp-bgpio',
27 '//protocols/bgp/api:onos-protocols-bgp-api',
28 '//protocols/bgp/ctl:onos-protocols-bgp-ctl',
Ray Milkeyaeb00792016-04-20 16:15:21 -070029 '//protocols/netconf/api:onos-protocols-netconf-api',
30 '//protocols/netconf/ctl:onos-protocols-netconf-ctl',
Ray Milkey8dac8182016-04-28 16:44:19 -070031 '//protocols/openflow/api:onos-protocols-openflow-api',
32 '//protocols/openflow/ctl:onos-protocols-openflow-ctl',
33 '//protocols/ospf/api:onos-protocols-ospf-api',
34 '//protocols/ospf/protocol:onos-protocols-ospf-protocol',
35 '//protocols/ospf/ctl:onos-protocols-ospf-ctl',
36 '//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
37 '//protocols/ovsdb/api:onos-protocols-ovsdb-api',
38 '//protocols/ovsdb/ctl:onos-protocols-ovsdb-ctl',
39 '//protocols/pcep/pcepio:onos-protocols-pcep-pcepio',
40 '//protocols/pcep/api:onos-protocols-pcep-api',
41 '//protocols/pcep/ctl:onos-protocols-pcep-ctl',
42 '//protocols/snmp/api:onos-protocols-snmp-api',
43 '//protocols/snmp/ctl:onos-protocols-snmp-ctl',
44 '//protocols/isis/api:onos-protocols-isis-api',
45 '//protocols/isis/ctl:onos-protocols-isis-ctl',
46 '//protocols/isis/isisio:onos-protocols-isis-isisio',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080047
48 '//drivers/utilities:onos-drivers-utilities',
Ray Milkey61403ed2016-04-28 12:27:51 -070049 '//drivers/bti:onos-drivers-bti-oar',
50 '//drivers/ciena:onos-drivers-ciena-oar',
51 '//drivers/cisco:onos-drivers-cisco-oar',
52 '//drivers/default:onos-drivers-default-oar',
53 '//drivers/fujitsu:onos-drivers-fujitsu-oar',
54 '//drivers/lumentum:onos-drivers-lumentum-oar',
55 '//drivers/netconf:onos-drivers-netconf-oar',
56 '//drivers/ovsdb:onos-drivers-ovsdb-oar',
HIGUCHI Yuta07a9e562016-05-23 16:41:17 -070057 '//drivers/optical:onos-drivers-optical-oar',
Daniel Park531fb482016-07-02 14:21:31 +090058 '//drivers/arista:onos-drivers-arista-oar',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080059
Ray Milkeyaeb00792016-04-20 16:15:21 -070060 '//providers/netconf/device:onos-providers-netconf-device',
61 '//providers/openflow/device:onos-providers-openflow-device',
62 '//providers/openflow/packet:onos-providers-openflow-packet',
63 '//providers/openflow/flow:onos-providers-openflow-flow',
64 '//providers/openflow/group:onos-providers-openflow-group',
65 '//providers/openflow/meter:onos-providers-openflow-meter',
Ray Milkey43702bf2016-05-04 10:40:55 -070066 '//providers/ovsdb/device:onos-providers-ovsdb-device',
67 '//providers/ovsdb/tunnel:onos-providers-ovsdb-tunnel',
Ray Milkey12c1d512016-04-25 15:16:00 -070068 '//providers/rest/device:onos-providers-rest-device',
69 '//providers/snmp/device:onos-providers-snmp-device',
Ray Milkey8dac8182016-04-28 16:44:19 -070070 '//providers/isis/cfg:onos-providers-isis-cfg',
Yuta HIGUCHI62f3f992016-06-27 19:32:02 -070071 '//providers/isis/topology:onos-providers-isis-topology',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080072
73 '//web/api:onos-rest',
74 '//web/gui:onos-gui',
Brian O'Connore4da59d2016-04-08 00:32:18 -070075]
Ray Milkeyf80bbb22016-03-11 10:16:22 -080076
Brian O'Connore4da59d2016-04-08 00:32:18 -070077APPS = [
Ray Milkey4abe8442016-05-05 11:21:33 -070078 # Drivers
Brian O'Connorbe27bb32016-04-29 16:55:44 -070079 '//drivers/default:onos-drivers-default-oar',
Ray Milkey4abe8442016-05-05 11:21:33 -070080 '//drivers/corsa:onos-drivers-corsa-oar',
Hyunsun Moondf6372b2016-07-07 17:37:20 -070081 '//drivers/ovsdb:onos-drivers-ovsdb-oar',
Brian O'Connorbe27bb32016-04-29 16:55:44 -070082
Ray Milkeyaeb00792016-04-20 16:15:21 -070083 # Providers
84 '//providers/bgp:onos-providers-bgp-oar',
85 '//providers/host:onos-providers-host-oar',
86 '//providers/lldp:onos-providers-lldp-oar',
87 '//providers/netcfghost:onos-providers-netcfghost-oar',
88 '//providers/netcfglinks:onos-providers-netcfglinks-oar',
89 '//providers/netconf:onos-providers-netconf-oar',
90 '//providers/openflow/message:onos-providers-openflow-message-oar',
Ray Milkey6a638ba2016-04-20 09:52:01 -070091 '//providers/ovsdb:onos-providers-ovsdb-oar',
Ray Milkey43702bf2016-05-04 10:40:55 -070092 '//providers/ovsdb/host:onos-providers-ovsdb-host-oar',
93 '//providers/ovsdb/base:onos-providers-ovsdb-base-oar',
Ray Milkeyaeb00792016-04-20 16:15:21 -070094 '//providers/pcep:onos-providers-pcep-oar',
95 '//providers/null:onos-providers-null-oar',
96 '//providers/openflow/base:onos-providers-openflow-base-oar',
Thomas Vachuska777dbd72016-05-04 10:10:11 -070097 '//providers/openflow/app:onos-providers-openflow-app-oar',
Ray Milkey12c1d512016-04-25 15:16:00 -070098 '//providers/rest:onos-providers-rest-oar',
Ray Milkey8dac8182016-04-28 16:44:19 -070099 '//providers/isis:onos-providers-isis-oar',
Ray Milkeyaeb00792016-04-20 16:15:21 -0700100
101 # Apps
Brian O'Connore4da59d2016-04-08 00:32:18 -0700102 '//apps/dhcp:onos-apps-dhcp-oar',
gauravf0884562016-06-17 02:47:13 +0530103 '//apps/dhcprelay:onos-apps-dhcprelay-oar',
Brian O'Connore4da59d2016-04-08 00:32:18 -0700104 '//apps/fwd:onos-apps-fwd-oar',
Ray Milkey24439fe2016-04-08 21:50:55 -0700105 '//apps/acl:onos-apps-acl-oar',
106 '//apps/bgprouter:onos-apps-bgprouter-oar',
Ray Milkey1aaffb72016-05-02 11:20:20 -0700107 '//apps/cip:onos-apps-cip-oar',
108 '//apps/drivermatrix:onos-apps-drivermatrix-oar',
109 '//apps/events:onos-apps-events-oar',
Ray Milkey24439fe2016-04-08 21:50:55 -0700110 '//apps/proxyarp:onos-apps-proxyarp-oar',
Ray Milkey820d6332016-04-11 13:20:42 -0700111 '//apps/segmentrouting:onos-apps-segmentrouting-oar',
112 '//apps/gangliametrics:onos-apps-gangliametrics-oar',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700113 '//apps/graphitemetrics:onos-apps-graphitemetrics-oar',
Ray Milkey1aaffb72016-05-02 11:20:20 -0700114 '//apps/flowanalyzer:onos-apps-flowanalyzer-oar',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700115 '//apps/influxdbmetrics:onos-apps-influxdbmetrics-oar',
116 '//apps/metrics:onos-apps-metrics-oar',
117 '//apps/mfwd:onos-apps-mfwd-oar',
118 '//apps/mlb:onos-apps-mlb-oar',
119 '//apps/openstackinterface:onos-apps-openstackinterface-oar',
Ray Milkeya5ff8a72016-04-19 09:43:45 -0700120 '//apps/openstacknetworking:onos-apps-openstacknetworking-oar',
Hyunsun Moonb974fca2016-06-30 21:20:39 -0700121 '//apps/openstacknetworking/routing:onos-apps-openstacknetworking-routing-oar',
122 '//apps/openstacknetworking/switching:onos-apps-openstacknetworking-switching-oar',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700123 '//apps/mobility:onos-apps-mobility-oar',
124 '//apps/optical:onos-apps-optical-oar',
Naoki Shiota5a056062016-05-05 18:43:59 -0700125 '//apps/newoptical:onos-apps-newoptical-oar',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700126 '//apps/pathpainter:onos-apps-pathpainter-oar',
127 '//apps/pcep-api:onos-apps-pcep-api-oar',
128 '//apps/pim:onos-apps-pim-oar',
129 '//apps/reactive-routing:onos-apps-reactive-routing-oar',
130 '//apps/sdnip:onos-apps-sdnip-oar',
Ray Milkey1aaffb72016-05-02 11:20:20 -0700131 '//apps/test/demo:onos-apps-test-demo-oar',
132 '//apps/test/distributed-primitives:onos-apps-test-distributed-primitives-oar',
133 '//apps/test/election:onos-apps-test-election-oar',
134 '//apps/test/flow-perf:onos-apps-test-flow-perf-oar',
135 '//apps/test/intent-perf:onos-apps-test-intent-perf-oar',
136 '//apps/test/loadtest:onos-apps-test-loadtest-oar',
137 '//apps/test/messaging-perf:onos-apps-test-messaging-perf-oar',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700138 '//apps/virtualbng:onos-apps-virtualbng-oar',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700139 '//apps/vpls:onos-apps-vpls-oar',
140 '//apps/vrouter:onos-apps-vrouter-oar',
Ray Milkeya5ff8a72016-04-19 09:43:45 -0700141 '//apps/vtn:onos-apps-vtn-oar',
Ray Milkey6a638ba2016-04-20 09:52:01 -0700142 '//apps/faultmanagement:onos-apps-faultmanagement-oar',
143 '//apps/openstacknode:onos-apps-openstacknode-oar',
Ray Milkeyaeb00792016-04-20 16:15:21 -0700144 '//apps/cpman/app:onos-apps-cpman-app-oar',
Ray Milkeyd2d3e152016-04-25 09:28:43 -0700145 '//apps/xosclient:onos-apps-xosclient-oar',
Hyunsun Moon1424ac92016-07-09 15:45:13 -0700146 '//apps/scalablegateway:onos-apps-scalablegateway-oar',
Brian O'Connore4da59d2016-04-08 00:32:18 -0700147]
148
149APP_JARS = [
Ray Milkeyaeb00792016-04-20 16:15:21 -0700150 '//apps/cpman/api:onos-apps-cpman-api',
Ray Milkey24439fe2016-04-08 21:50:55 -0700151 '//apps/routing-api:onos-apps-routing-api',
Brian O'Connore4da59d2016-04-08 00:32:18 -0700152 '//apps/dhcp/api:onos-apps-dhcp-api',
153 '//apps/dhcp/app:onos-apps-dhcp-app',
gauravf0884562016-06-17 02:47:13 +0530154 '//apps/dhcprelay:onos-apps-dhcprelay',
Brian O'Connore4da59d2016-04-08 00:32:18 -0700155 '//apps/fwd:onos-apps-fwd',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700156 '//apps/iptopology-api:onos-apps-iptopology-api',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700157 '//apps/openstacknode:onos-apps-openstacknode',
Ray Milkey24439fe2016-04-08 21:50:55 -0700158 '//apps/routing:onos-apps-routing',
Ray Milkeya5ff8a72016-04-19 09:43:45 -0700159 '//apps/vtn/vtnrsc:onos-apps-vtn-vtnrsc',
160 '//apps/vtn/sfcmgr:onos-apps-vtn-sfcmgr',
161 '//apps/vtn/vtnmgr:onos-apps-vtn-vtnmgr',
162 '//apps/vtn/vtnweb:onos-apps-vtn-vtnweb',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800163]
164
165java_library(
Brian O'Connore4da59d2016-04-08 00:32:18 -0700166 name = 'core',
167 visibility = ['PUBLIC'],
168 deps = CORE,
169)
170
171java_library(
172 name = 'apps',
173 visibility = ['PUBLIC'],
174 deps = APPS + APP_JARS,
175)
176
177java_library(
178 name = 'onos',
179 visibility = ['PUBLIC'],
180 deps = [ ':core', ':apps' ]
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800181)
Brian O'Connorb86c9202016-04-05 20:15:04 -0700182
183INSTALL = [
184 '//utils/misc:onlab-misc-install',
185 '//utils/osgi:onlab-osgi-install',
186 '//utils/rest:onlab-rest-install',
187
188 '//core/api:onos-api-install',
189 '//incubator/api:onos-incubator-api-install',
190
191 '//core/net:onos-core-net-install',
192 '//core/common:onos-core-common-install',
193 '//core/store/dist:onos-core-dist-install',
194 '//core/store/primitives:onos-core-primitives-install',
195 '//core/store/persistence:onos-core-persistence-install',
196 '//core/store/serializers:onos-core-serializers-install',
197
198 '//incubator/net:onos-incubator-net-install',
199 '//incubator/core:onos-incubator-core-install',
200 '//incubator/store:onos-incubator-store-install',
201 '//incubator/rpc:onos-incubator-rpc-install',
202
203 '//core/security:onos-security-install',
204
205 '//web/api:onos-rest-install',
206 '//web/gui:onos-gui-install',
207 '//cli:onos-cli-install',
208]
209java_library(
210 name = 'install',
211 visibility = ['PUBLIC'],
212 deps = INSTALL
Ray Milkey7c251822016-04-06 17:38:25 -0700213)