blob: 5eda6bf87a5ee667bb0497e5df8f5e6e39320b53 [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
24 '//protocols/rest/api:onos-restsb-api',
25 '//protocols/rest/ctl:onos-restsb-ctl',
26 '//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 Milkeyf80bbb22016-03-11 10:16:22 -080065 '//providers/rest/device:onos-restsb-provider-device',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080066 '//providers/snmp/device:onos-snmp-provider-device',
67
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',
85
86 # Apps
Brian O'Connore4da59d2016-04-08 00:32:18 -070087 '//apps/dhcp:onos-apps-dhcp-oar',
88 '//apps/fwd:onos-apps-fwd-oar',
Ray Milkey24439fe2016-04-08 21:50:55 -070089 '//apps/aaa:onos-apps-aaa-oar',
90 '//apps/acl:onos-apps-acl-oar',
91 '//apps/bgprouter:onos-apps-bgprouter-oar',
92 '//apps/proxyarp:onos-apps-proxyarp-oar',
Ray Milkey820d6332016-04-11 13:20:42 -070093 '//apps/segmentrouting:onos-apps-segmentrouting-oar',
94 '//apps/gangliametrics:onos-apps-gangliametrics-oar',
Ray Milkeyf9a76972016-04-12 09:47:12 -070095 '//apps/graphitemetrics:onos-apps-graphitemetrics-oar',
96 '//apps/igmp:onos-apps-igmp-oar',
97 '//apps/cordmcast:onos-apps-cordmcast-oar',
98 '//apps/olt:onos-apps-olt-oar',
99 '//apps/influxdbmetrics:onos-apps-influxdbmetrics-oar',
100 '//apps/metrics:onos-apps-metrics-oar',
101 '//apps/mfwd:onos-apps-mfwd-oar',
102 '//apps/mlb:onos-apps-mlb-oar',
103 '//apps/openstackinterface:onos-apps-openstackinterface-oar',
Ray Milkeya5ff8a72016-04-19 09:43:45 -0700104 '//apps/openstacknetworking:onos-apps-openstacknetworking-oar',
105 '//apps/openstacknetworking/openstackrouting:onos-apps-openstacknetworking-openstackrouting-oar',
106 '//apps/openstacknetworking/openstackswitching:onos-apps-openstacknetworking-openstackswitching-oar',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700107 '//apps/mobility:onos-apps-mobility-oar',
108 '//apps/optical:onos-apps-optical-oar',
109 '//apps/pathpainter:onos-apps-pathpainter-oar',
110 '//apps/pcep-api:onos-apps-pcep-api-oar',
111 '//apps/pim:onos-apps-pim-oar',
112 '//apps/reactive-routing:onos-apps-reactive-routing-oar',
113 '//apps/sdnip:onos-apps-sdnip-oar',
114 '//apps/virtualbng:onos-apps-virtualbng-oar',
115 '//apps/cordvtn:onos-apps-cordvtn-oar',
116 '//apps/vpls:onos-apps-vpls-oar',
117 '//apps/vrouter:onos-apps-vrouter-oar',
Ray Milkeya5ff8a72016-04-19 09:43:45 -0700118 '//apps/vtn:onos-apps-vtn-oar',
Ray Milkey6a638ba2016-04-20 09:52:01 -0700119 '//apps/faultmanagement:onos-apps-faultmanagement-oar',
120 '//apps/openstacknode:onos-apps-openstacknode-oar',
Ray Milkeyaeb00792016-04-20 16:15:21 -0700121 '//apps/cpman/app:onos-apps-cpman-app-oar',
Ray Milkeyd2d3e152016-04-25 09:28:43 -0700122 '//apps/xosclient:onos-apps-xosclient-oar',
Brian O'Connore4da59d2016-04-08 00:32:18 -0700123]
124
125APP_JARS = [
Ray Milkeyaeb00792016-04-20 16:15:21 -0700126 '//apps/cpman/api:onos-apps-cpman-api',
Ray Milkey24439fe2016-04-08 21:50:55 -0700127 '//apps/routing-api:onos-apps-routing-api',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800128 '//apps/cip:onos-app-cip',
Brian O'Connore4da59d2016-04-08 00:32:18 -0700129 '//apps/dhcp/api:onos-apps-dhcp-api',
130 '//apps/dhcp/app:onos-apps-dhcp-app',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800131 '//apps/drivermatrix:onos-app-drivermatrix',
132 '//apps/events:onos-app-events',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800133 '//apps/flowanalyzer:onos-app-flowanalyzer',
Brian O'Connore4da59d2016-04-08 00:32:18 -0700134 '//apps/fwd:onos-apps-fwd',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700135 '//apps/olt:onos-apps-olt-api',
136 '//apps/iptopology-api:onos-apps-iptopology-api',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700137 '//apps/openstacknode:onos-apps-openstacknode',
Ray Milkey24439fe2016-04-08 21:50:55 -0700138 '//apps/routing:onos-apps-routing',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800139 '//apps/test:onos-app-test',
Ray Milkeya5ff8a72016-04-19 09:43:45 -0700140 '//apps/vtn/vtnrsc:onos-apps-vtn-vtnrsc',
141 '//apps/vtn/sfcmgr:onos-apps-vtn-sfcmgr',
142 '//apps/vtn/vtnmgr:onos-apps-vtn-vtnmgr',
143 '//apps/vtn/vtnweb:onos-apps-vtn-vtnweb',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800144]
145
146java_library(
Brian O'Connore4da59d2016-04-08 00:32:18 -0700147 name = 'core',
148 visibility = ['PUBLIC'],
149 deps = CORE,
150)
151
152java_library(
153 name = 'apps',
154 visibility = ['PUBLIC'],
155 deps = APPS + APP_JARS,
156)
157
158java_library(
159 name = 'onos',
160 visibility = ['PUBLIC'],
161 deps = [ ':core', ':apps' ]
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800162)
Brian O'Connorb86c9202016-04-05 20:15:04 -0700163
164INSTALL = [
165 '//utils/misc:onlab-misc-install',
166 '//utils/osgi:onlab-osgi-install',
167 '//utils/rest:onlab-rest-install',
168
169 '//core/api:onos-api-install',
170 '//incubator/api:onos-incubator-api-install',
171
172 '//core/net:onos-core-net-install',
173 '//core/common:onos-core-common-install',
174 '//core/store/dist:onos-core-dist-install',
175 '//core/store/primitives:onos-core-primitives-install',
176 '//core/store/persistence:onos-core-persistence-install',
177 '//core/store/serializers:onos-core-serializers-install',
178
179 '//incubator/net:onos-incubator-net-install',
180 '//incubator/core:onos-incubator-core-install',
181 '//incubator/store:onos-incubator-store-install',
182 '//incubator/rpc:onos-incubator-rpc-install',
183
184 '//core/security:onos-security-install',
185
186 '//web/api:onos-rest-install',
187 '//web/gui:onos-gui-install',
188 '//cli:onos-cli-install',
189]
190java_library(
191 name = 'install',
192 visibility = ['PUBLIC'],
193 deps = INSTALL
Ray Milkey7c251822016-04-06 17:38:25 -0700194)