blob: e618ef093bd4fd57940a47467462cbfb41de5ebf [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',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080057
Ray Milkeyaeb00792016-04-20 16:15:21 -070058 '//providers/netconf/device:onos-providers-netconf-device',
59 '//providers/openflow/device:onos-providers-openflow-device',
60 '//providers/openflow/packet:onos-providers-openflow-packet',
61 '//providers/openflow/flow:onos-providers-openflow-flow',
62 '//providers/openflow/group:onos-providers-openflow-group',
63 '//providers/openflow/meter:onos-providers-openflow-meter',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080064 '//providers/ovsdb/device:onos-ovsdb-provider-device',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080065 '//providers/ovsdb/tunnel:onos-ovsdb-provider-tunnel',
Ray Milkey12c1d512016-04-25 15:16:00 -070066 '//providers/rest/device:onos-providers-rest-device',
67 '//providers/snmp/device:onos-providers-snmp-device',
Ray Milkey8dac8182016-04-28 16:44:19 -070068 '//providers/isis/cfg:onos-providers-isis-cfg',
69 '//providers/isis/device:onos-providers-isis-device',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080070
71 '//web/api:onos-rest',
72 '//web/gui:onos-gui',
Brian O'Connore4da59d2016-04-08 00:32:18 -070073]
Ray Milkeyf80bbb22016-03-11 10:16:22 -080074
Brian O'Connore4da59d2016-04-08 00:32:18 -070075APPS = [
Brian O'Connorbe27bb32016-04-29 16:55:44 -070076 #Drivers
77 '//drivers/default:onos-drivers-default-oar',
78
Ray Milkeyaeb00792016-04-20 16:15:21 -070079 # Providers
80 '//providers/bgp:onos-providers-bgp-oar',
81 '//providers/host:onos-providers-host-oar',
82 '//providers/lldp:onos-providers-lldp-oar',
83 '//providers/netcfghost:onos-providers-netcfghost-oar',
84 '//providers/netcfglinks:onos-providers-netcfglinks-oar',
85 '//providers/netconf:onos-providers-netconf-oar',
86 '//providers/openflow/message:onos-providers-openflow-message-oar',
Ray Milkey6a638ba2016-04-20 09:52:01 -070087 '//providers/ovsdb:onos-providers-ovsdb-oar',
Ray Milkeyaeb00792016-04-20 16:15:21 -070088 '//providers/pcep:onos-providers-pcep-oar',
89 '//providers/null:onos-providers-null-oar',
90 '//providers/openflow/base:onos-providers-openflow-base-oar',
Ray Milkey12c1d512016-04-25 15:16:00 -070091 '//providers/rest:onos-providers-rest-oar',
Ray Milkey8dac8182016-04-28 16:44:19 -070092 '//providers/isis:onos-providers-isis-oar',
Ray Milkeyaeb00792016-04-20 16:15:21 -070093
94 # Apps
Brian O'Connore4da59d2016-04-08 00:32:18 -070095 '//apps/dhcp:onos-apps-dhcp-oar',
96 '//apps/fwd:onos-apps-fwd-oar',
Ray Milkey24439fe2016-04-08 21:50:55 -070097 '//apps/aaa:onos-apps-aaa-oar',
98 '//apps/acl:onos-apps-acl-oar',
99 '//apps/bgprouter:onos-apps-bgprouter-oar',
100 '//apps/proxyarp:onos-apps-proxyarp-oar',
Ray Milkey820d6332016-04-11 13:20:42 -0700101 '//apps/segmentrouting:onos-apps-segmentrouting-oar',
102 '//apps/gangliametrics:onos-apps-gangliametrics-oar',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700103 '//apps/graphitemetrics:onos-apps-graphitemetrics-oar',
104 '//apps/igmp:onos-apps-igmp-oar',
105 '//apps/cordmcast:onos-apps-cordmcast-oar',
106 '//apps/olt:onos-apps-olt-oar',
107 '//apps/influxdbmetrics:onos-apps-influxdbmetrics-oar',
108 '//apps/metrics:onos-apps-metrics-oar',
109 '//apps/mfwd:onos-apps-mfwd-oar',
110 '//apps/mlb:onos-apps-mlb-oar',
111 '//apps/openstackinterface:onos-apps-openstackinterface-oar',
Ray Milkeya5ff8a72016-04-19 09:43:45 -0700112 '//apps/openstacknetworking:onos-apps-openstacknetworking-oar',
113 '//apps/openstacknetworking/openstackrouting:onos-apps-openstacknetworking-openstackrouting-oar',
114 '//apps/openstacknetworking/openstackswitching:onos-apps-openstacknetworking-openstackswitching-oar',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700115 '//apps/mobility:onos-apps-mobility-oar',
116 '//apps/optical:onos-apps-optical-oar',
117 '//apps/pathpainter:onos-apps-pathpainter-oar',
118 '//apps/pcep-api:onos-apps-pcep-api-oar',
119 '//apps/pim:onos-apps-pim-oar',
120 '//apps/reactive-routing:onos-apps-reactive-routing-oar',
121 '//apps/sdnip:onos-apps-sdnip-oar',
122 '//apps/virtualbng:onos-apps-virtualbng-oar',
123 '//apps/cordvtn:onos-apps-cordvtn-oar',
124 '//apps/vpls:onos-apps-vpls-oar',
125 '//apps/vrouter:onos-apps-vrouter-oar',
Ray Milkeya5ff8a72016-04-19 09:43:45 -0700126 '//apps/vtn:onos-apps-vtn-oar',
Ray Milkey6a638ba2016-04-20 09:52:01 -0700127 '//apps/faultmanagement:onos-apps-faultmanagement-oar',
128 '//apps/openstacknode:onos-apps-openstacknode-oar',
Ray Milkeyaeb00792016-04-20 16:15:21 -0700129 '//apps/cpman/app:onos-apps-cpman-app-oar',
Ray Milkeyd2d3e152016-04-25 09:28:43 -0700130 '//apps/xosclient:onos-apps-xosclient-oar',
Brian O'Connore4da59d2016-04-08 00:32:18 -0700131]
132
133APP_JARS = [
Ray Milkeyaeb00792016-04-20 16:15:21 -0700134 '//apps/cpman/api:onos-apps-cpman-api',
Ray Milkey24439fe2016-04-08 21:50:55 -0700135 '//apps/routing-api:onos-apps-routing-api',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800136 '//apps/cip:onos-app-cip',
Brian O'Connore4da59d2016-04-08 00:32:18 -0700137 '//apps/dhcp/api:onos-apps-dhcp-api',
138 '//apps/dhcp/app:onos-apps-dhcp-app',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800139 '//apps/drivermatrix:onos-app-drivermatrix',
140 '//apps/events:onos-app-events',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800141 '//apps/flowanalyzer:onos-app-flowanalyzer',
Brian O'Connore4da59d2016-04-08 00:32:18 -0700142 '//apps/fwd:onos-apps-fwd',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700143 '//apps/olt:onos-apps-olt-api',
144 '//apps/iptopology-api:onos-apps-iptopology-api',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700145 '//apps/openstacknode:onos-apps-openstacknode',
Ray Milkey24439fe2016-04-08 21:50:55 -0700146 '//apps/routing:onos-apps-routing',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800147 '//apps/test:onos-app-test',
Ray Milkeya5ff8a72016-04-19 09:43:45 -0700148 '//apps/vtn/vtnrsc:onos-apps-vtn-vtnrsc',
149 '//apps/vtn/sfcmgr:onos-apps-vtn-sfcmgr',
150 '//apps/vtn/vtnmgr:onos-apps-vtn-vtnmgr',
151 '//apps/vtn/vtnweb:onos-apps-vtn-vtnweb',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800152]
153
154java_library(
Brian O'Connore4da59d2016-04-08 00:32:18 -0700155 name = 'core',
156 visibility = ['PUBLIC'],
157 deps = CORE,
158)
159
160java_library(
161 name = 'apps',
162 visibility = ['PUBLIC'],
163 deps = APPS + APP_JARS,
164)
165
166java_library(
167 name = 'onos',
168 visibility = ['PUBLIC'],
169 deps = [ ':core', ':apps' ]
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800170)
Brian O'Connorb86c9202016-04-05 20:15:04 -0700171
172INSTALL = [
173 '//utils/misc:onlab-misc-install',
174 '//utils/osgi:onlab-osgi-install',
175 '//utils/rest:onlab-rest-install',
176
177 '//core/api:onos-api-install',
178 '//incubator/api:onos-incubator-api-install',
179
180 '//core/net:onos-core-net-install',
181 '//core/common:onos-core-common-install',
182 '//core/store/dist:onos-core-dist-install',
183 '//core/store/primitives:onos-core-primitives-install',
184 '//core/store/persistence:onos-core-persistence-install',
185 '//core/store/serializers:onos-core-serializers-install',
186
187 '//incubator/net:onos-incubator-net-install',
188 '//incubator/core:onos-incubator-core-install',
189 '//incubator/store:onos-incubator-store-install',
190 '//incubator/rpc:onos-incubator-rpc-install',
191
192 '//core/security:onos-security-install',
193
194 '//web/api:onos-rest-install',
195 '//web/gui:onos-gui-install',
196 '//cli:onos-cli-install',
197]
198java_library(
199 name = 'install',
200 visibility = ['PUBLIC'],
201 deps = INSTALL
Ray Milkey7c251822016-04-06 17:38:25 -0700202)