blob: 90c49d5ed3fb661273410eef7e3b75a04b3d92d8 [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 Milkeyf80bbb22016-03-11 10:16:22 -080026 '//protocols/bgp/bgpio:onos-bgpio',
27 '//protocols/bgp/api:onos-bgp-api',
28 '//protocols/bgp/ctl:onos-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 Milkeyf80bbb22016-03-11 10:16:22 -080031 '//protocols/openflow/api:onos-of-api',
32 '//protocols/openflow/ctl:onos-of-ctl',
33 '//protocols/ospf/api:onos-ospf-api',
34 '//protocols/ospf/protocol:onos-ospf-protocol',
35 '//protocols/ospf/ctl:onos-ospf-ctl',
36 '//protocols/ovsdb/rfc:onos-ovsdb-rfc',
37 '//protocols/ovsdb/api:onos-ovsdb-api',
38 '//protocols/ovsdb/ctl:onos-ovsdb-ctl',
39 '//protocols/pcep/pcepio:onos-pcep-pcepio',
40 '//protocols/pcep/api:onos-pcep-controller-api',
41 '//protocols/pcep/ctl:onos-pcep-ctl',
Andrea Campanella7bf2b692016-04-08 09:51:52 -070042 '//protocols/snmp/api:onos-snmp-api',
43 '//protocols/snmp/ctl:onos-snmp-ctl',
Ray Milkeyddec7942016-04-05 10:32:18 -070044 '//protocols/isis:onos-isis-api',
45 '//protocols/isis:onos-isis-isisio',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080046
47 '//drivers/utilities:onos-drivers-utilities',
Andrea Campanella7bf2b692016-04-08 09:51:52 -070048 '//drivers/bti:onos-drivers-bti',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080049 '//drivers/ciena:onos-drivers-ciena',
50 '//drivers/cisco:onos-drivers-cisco',
51 '//drivers/default:onos-drivers-default',
52 '//drivers/fujitsu:onos-drivers-fujitsu',
53 '//drivers/lumentum:onos-drivers-lumentum',
54 '//drivers/netconf:onos-drivers-netconf',
55 '//drivers/ovsdb:onos-drivers-ovsdb',
56
Ray Milkeyaeb00792016-04-20 16:15:21 -070057 '//providers/netconf/device:onos-providers-netconf-device',
58 '//providers/openflow/device:onos-providers-openflow-device',
59 '//providers/openflow/packet:onos-providers-openflow-packet',
60 '//providers/openflow/flow:onos-providers-openflow-flow',
61 '//providers/openflow/group:onos-providers-openflow-group',
62 '//providers/openflow/meter:onos-providers-openflow-meter',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080063 '//providers/ovsdb/device:onos-ovsdb-provider-device',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080064 '//providers/ovsdb/tunnel:onos-ovsdb-provider-tunnel',
Ray Milkey12c1d512016-04-25 15:16:00 -070065 '//providers/rest/device:onos-providers-rest-device',
66 '//providers/snmp/device:onos-providers-snmp-device',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080067
68 '//web/api:onos-rest',
69 '//web/gui:onos-gui',
Brian O'Connore4da59d2016-04-08 00:32:18 -070070]
Ray Milkeyf80bbb22016-03-11 10:16:22 -080071
Brian O'Connore4da59d2016-04-08 00:32:18 -070072APPS = [
Ray Milkeyaeb00792016-04-20 16:15:21 -070073 # Providers
74 '//providers/bgp:onos-providers-bgp-oar',
75 '//providers/host:onos-providers-host-oar',
76 '//providers/lldp:onos-providers-lldp-oar',
77 '//providers/netcfghost:onos-providers-netcfghost-oar',
78 '//providers/netcfglinks:onos-providers-netcfglinks-oar',
79 '//providers/netconf:onos-providers-netconf-oar',
80 '//providers/openflow/message:onos-providers-openflow-message-oar',
Ray Milkey6a638ba2016-04-20 09:52:01 -070081 '//providers/ovsdb:onos-providers-ovsdb-oar',
Ray Milkeyaeb00792016-04-20 16:15:21 -070082 '//providers/pcep:onos-providers-pcep-oar',
83 '//providers/null:onos-providers-null-oar',
84 '//providers/openflow/base:onos-providers-openflow-base-oar',
Ray Milkey12c1d512016-04-25 15:16:00 -070085 '//providers/rest:onos-providers-rest-oar',
Ray Milkeyaeb00792016-04-20 16:15:21 -070086
87 # Apps
Brian O'Connore4da59d2016-04-08 00:32:18 -070088 '//apps/dhcp:onos-apps-dhcp-oar',
89 '//apps/fwd:onos-apps-fwd-oar',
Ray Milkey24439fe2016-04-08 21:50:55 -070090 '//apps/aaa:onos-apps-aaa-oar',
91 '//apps/acl:onos-apps-acl-oar',
92 '//apps/bgprouter:onos-apps-bgprouter-oar',
93 '//apps/proxyarp:onos-apps-proxyarp-oar',
Ray Milkey820d6332016-04-11 13:20:42 -070094 '//apps/segmentrouting:onos-apps-segmentrouting-oar',
95 '//apps/gangliametrics:onos-apps-gangliametrics-oar',
Ray Milkeyf9a76972016-04-12 09:47:12 -070096 '//apps/graphitemetrics:onos-apps-graphitemetrics-oar',
97 '//apps/igmp:onos-apps-igmp-oar',
98 '//apps/cordmcast:onos-apps-cordmcast-oar',
99 '//apps/olt:onos-apps-olt-oar',
100 '//apps/influxdbmetrics:onos-apps-influxdbmetrics-oar',
101 '//apps/metrics:onos-apps-metrics-oar',
102 '//apps/mfwd:onos-apps-mfwd-oar',
103 '//apps/mlb:onos-apps-mlb-oar',
104 '//apps/openstackinterface:onos-apps-openstackinterface-oar',
Ray Milkeya5ff8a72016-04-19 09:43:45 -0700105 '//apps/openstacknetworking:onos-apps-openstacknetworking-oar',
106 '//apps/openstacknetworking/openstackrouting:onos-apps-openstacknetworking-openstackrouting-oar',
107 '//apps/openstacknetworking/openstackswitching:onos-apps-openstacknetworking-openstackswitching-oar',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700108 '//apps/mobility:onos-apps-mobility-oar',
109 '//apps/optical:onos-apps-optical-oar',
110 '//apps/pathpainter:onos-apps-pathpainter-oar',
111 '//apps/pcep-api:onos-apps-pcep-api-oar',
112 '//apps/pim:onos-apps-pim-oar',
113 '//apps/reactive-routing:onos-apps-reactive-routing-oar',
114 '//apps/sdnip:onos-apps-sdnip-oar',
115 '//apps/virtualbng:onos-apps-virtualbng-oar',
116 '//apps/cordvtn:onos-apps-cordvtn-oar',
117 '//apps/vpls:onos-apps-vpls-oar',
118 '//apps/vrouter:onos-apps-vrouter-oar',
Ray Milkeya5ff8a72016-04-19 09:43:45 -0700119 '//apps/vtn:onos-apps-vtn-oar',
Ray Milkey6a638ba2016-04-20 09:52:01 -0700120 '//apps/faultmanagement:onos-apps-faultmanagement-oar',
121 '//apps/openstacknode:onos-apps-openstacknode-oar',
Ray Milkeyaeb00792016-04-20 16:15:21 -0700122 '//apps/cpman/app:onos-apps-cpman-app-oar',
Ray Milkeyd2d3e152016-04-25 09:28:43 -0700123 '//apps/xosclient:onos-apps-xosclient-oar',
Brian O'Connore4da59d2016-04-08 00:32:18 -0700124]
125
126APP_JARS = [
Ray Milkeyaeb00792016-04-20 16:15:21 -0700127 '//apps/cpman/api:onos-apps-cpman-api',
Ray Milkey24439fe2016-04-08 21:50:55 -0700128 '//apps/routing-api:onos-apps-routing-api',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800129 '//apps/cip:onos-app-cip',
Brian O'Connore4da59d2016-04-08 00:32:18 -0700130 '//apps/dhcp/api:onos-apps-dhcp-api',
131 '//apps/dhcp/app:onos-apps-dhcp-app',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800132 '//apps/drivermatrix:onos-app-drivermatrix',
133 '//apps/events:onos-app-events',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800134 '//apps/flowanalyzer:onos-app-flowanalyzer',
Brian O'Connore4da59d2016-04-08 00:32:18 -0700135 '//apps/fwd:onos-apps-fwd',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700136 '//apps/olt:onos-apps-olt-api',
137 '//apps/iptopology-api:onos-apps-iptopology-api',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700138 '//apps/openstacknode:onos-apps-openstacknode',
Ray Milkey24439fe2016-04-08 21:50:55 -0700139 '//apps/routing:onos-apps-routing',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800140 '//apps/test:onos-app-test',
Ray Milkeya5ff8a72016-04-19 09:43:45 -0700141 '//apps/vtn/vtnrsc:onos-apps-vtn-vtnrsc',
142 '//apps/vtn/sfcmgr:onos-apps-vtn-sfcmgr',
143 '//apps/vtn/vtnmgr:onos-apps-vtn-vtnmgr',
144 '//apps/vtn/vtnweb:onos-apps-vtn-vtnweb',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800145]
146
147java_library(
Brian O'Connore4da59d2016-04-08 00:32:18 -0700148 name = 'core',
149 visibility = ['PUBLIC'],
150 deps = CORE,
151)
152
153java_library(
154 name = 'apps',
155 visibility = ['PUBLIC'],
156 deps = APPS + APP_JARS,
157)
158
159java_library(
160 name = 'onos',
161 visibility = ['PUBLIC'],
162 deps = [ ':core', ':apps' ]
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800163)
Brian O'Connorb86c9202016-04-05 20:15:04 -0700164
165INSTALL = [
166 '//utils/misc:onlab-misc-install',
167 '//utils/osgi:onlab-osgi-install',
168 '//utils/rest:onlab-rest-install',
169
170 '//core/api:onos-api-install',
171 '//incubator/api:onos-incubator-api-install',
172
173 '//core/net:onos-core-net-install',
174 '//core/common:onos-core-common-install',
175 '//core/store/dist:onos-core-dist-install',
176 '//core/store/primitives:onos-core-primitives-install',
177 '//core/store/persistence:onos-core-persistence-install',
178 '//core/store/serializers:onos-core-serializers-install',
179
180 '//incubator/net:onos-incubator-net-install',
181 '//incubator/core:onos-incubator-core-install',
182 '//incubator/store:onos-incubator-store-install',
183 '//incubator/rpc:onos-incubator-rpc-install',
184
185 '//core/security:onos-security-install',
186
187 '//web/api:onos-rest-install',
188 '//web/gui:onos-gui-install',
189 '//cli:onos-cli-install',
190]
191java_library(
192 name = 'install',
193 visibility = ['PUBLIC'],
194 deps = INSTALL
Ray Milkey7c251822016-04-06 17:38:25 -0700195)