blob: 4bfe8738684c11500e29fcaee3fef78e8b24611f [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',
29 '//protocols/netconf/api:onos-netconf-api',
30 '//protocols/netconf/ctl:onos-netconf-ctl',
31 '//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
57 '//providers/bgp/cfg:onos-bgp-provider-cfg',
58 '//providers/bgp/flow:onos-bgp-provider-flow',
59 '//providers/bgp/topology:onos-bgp-provider-topology',
60 '//providers/host:onos-host-provider',
61 '//providers/lldpcommon:onos-lldp-provider-common',
62 '//providers/netcfglinks:onos-netcfg-links-provider',
63 '//providers/lldp:onos-lldp-provider',
64 '//providers/netconf/device:onos-netconf-provider-device',
65 '//providers/netcfghost:onos-netcfg-links-provider',
66 '//providers/null:onos-null-providers',
67 '//providers/openflow/device:onos-of-provider-device',
68 '//providers/openflow/flow:onos-of-provider-flow',
69 '//providers/openflow/group:onos-of-provider-group',
70 '//providers/openflow/message:onos-of-provider-message',
71 '//providers/openflow/meter:onos-of-provider-meter',
72 '//providers/openflow/packet:onos-of-provider-packet',
73 '//providers/ovsdb/device:onos-ovsdb-provider-device',
74 '//providers/ovsdb/host:onos-ovsdb-provider-host',
75 '//providers/ovsdb/tunnel:onos-ovsdb-provider-tunnel',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080076 '//providers/rest/device:onos-restsb-provider-device',
Ray Milkeyf80bbb22016-03-11 10:16:22 -080077 '//providers/snmp/device:onos-snmp-provider-device',
78
79 '//web/api:onos-rest',
80 '//web/gui:onos-gui',
Brian O'Connore4da59d2016-04-08 00:32:18 -070081]
Ray Milkeyf80bbb22016-03-11 10:16:22 -080082
Brian O'Connore4da59d2016-04-08 00:32:18 -070083APPS = [
Ray Milkeyf9a76972016-04-12 09:47:12 -070084 '//providers/pcep:onos-providers-pcep-oar',
Brian O'Connore4da59d2016-04-08 00:32:18 -070085 '//apps/dhcp:onos-apps-dhcp-oar',
86 '//apps/fwd:onos-apps-fwd-oar',
Ray Milkey24439fe2016-04-08 21:50:55 -070087 '//apps/aaa:onos-apps-aaa-oar',
88 '//apps/acl:onos-apps-acl-oar',
89 '//apps/bgprouter:onos-apps-bgprouter-oar',
90 '//apps/proxyarp:onos-apps-proxyarp-oar',
Ray Milkey820d6332016-04-11 13:20:42 -070091 '//apps/segmentrouting:onos-apps-segmentrouting-oar',
92 '//apps/gangliametrics:onos-apps-gangliametrics-oar',
Ray Milkeyf9a76972016-04-12 09:47:12 -070093 '//apps/graphitemetrics:onos-apps-graphitemetrics-oar',
94 '//apps/igmp:onos-apps-igmp-oar',
95 '//apps/cordmcast:onos-apps-cordmcast-oar',
96 '//apps/olt:onos-apps-olt-oar',
97 '//apps/influxdbmetrics:onos-apps-influxdbmetrics-oar',
98 '//apps/metrics:onos-apps-metrics-oar',
99 '//apps/mfwd:onos-apps-mfwd-oar',
100 '//apps/mlb:onos-apps-mlb-oar',
101 '//apps/openstackinterface:onos-apps-openstackinterface-oar',
Ray Milkeya5ff8a72016-04-19 09:43:45 -0700102 '//apps/openstacknetworking:onos-apps-openstacknetworking-oar',
103 '//apps/openstacknetworking/openstackrouting:onos-apps-openstacknetworking-openstackrouting-oar',
104 '//apps/openstacknetworking/openstackswitching:onos-apps-openstacknetworking-openstackswitching-oar',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700105 '//apps/mobility:onos-apps-mobility-oar',
106 '//apps/optical:onos-apps-optical-oar',
107 '//apps/pathpainter:onos-apps-pathpainter-oar',
108 '//apps/pcep-api:onos-apps-pcep-api-oar',
109 '//apps/pim:onos-apps-pim-oar',
110 '//apps/reactive-routing:onos-apps-reactive-routing-oar',
111 '//apps/sdnip:onos-apps-sdnip-oar',
112 '//apps/virtualbng:onos-apps-virtualbng-oar',
113 '//apps/cordvtn:onos-apps-cordvtn-oar',
114 '//apps/vpls:onos-apps-vpls-oar',
115 '//apps/vrouter:onos-apps-vrouter-oar',
Ray Milkeya5ff8a72016-04-19 09:43:45 -0700116 '//apps/vtn:onos-apps-vtn-oar',
Brian O'Connore4da59d2016-04-08 00:32:18 -0700117]
118
119APP_JARS = [
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800120 '//apps/cpman/api:onos-app-cpman-api',
121 '//apps/cpman/app:onos-app-cpman-app',
Ray Milkey24439fe2016-04-08 21:50:55 -0700122 '//apps/routing-api:onos-apps-routing-api',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800123 '//apps/cip:onos-app-cip',
Brian O'Connore4da59d2016-04-08 00:32:18 -0700124 '//apps/dhcp/api:onos-apps-dhcp-api',
125 '//apps/dhcp/app:onos-apps-dhcp-app',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800126 '//apps/drivermatrix:onos-app-drivermatrix',
127 '//apps/events:onos-app-events',
128 '//apps/faultmanagement:onos-app-fm',
129 '//apps/flowanalyzer:onos-app-flowanalyzer',
Brian O'Connore4da59d2016-04-08 00:32:18 -0700130 '//apps/fwd:onos-apps-fwd',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700131 '//apps/olt:onos-apps-olt-api',
132 '//apps/iptopology-api:onos-apps-iptopology-api',
Ray Milkeyf9a76972016-04-12 09:47:12 -0700133 '//apps/openstacknode:onos-apps-openstacknode',
Ray Milkey24439fe2016-04-08 21:50:55 -0700134 '//apps/routing:onos-apps-routing',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800135 '//apps/test:onos-app-test',
Ray Milkeya5ff8a72016-04-19 09:43:45 -0700136 '//apps/vtn/vtnrsc:onos-apps-vtn-vtnrsc',
137 '//apps/vtn/sfcmgr:onos-apps-vtn-sfcmgr',
138 '//apps/vtn/vtnmgr:onos-apps-vtn-vtnmgr',
139 '//apps/vtn/vtnweb:onos-apps-vtn-vtnweb',
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800140]
141
142java_library(
Brian O'Connore4da59d2016-04-08 00:32:18 -0700143 name = 'core',
144 visibility = ['PUBLIC'],
145 deps = CORE,
146)
147
148java_library(
149 name = 'apps',
150 visibility = ['PUBLIC'],
151 deps = APPS + APP_JARS,
152)
153
154java_library(
155 name = 'onos',
156 visibility = ['PUBLIC'],
157 deps = [ ':core', ':apps' ]
Ray Milkeyf80bbb22016-03-11 10:16:22 -0800158)
Brian O'Connorb86c9202016-04-05 20:15:04 -0700159
160INSTALL = [
161 '//utils/misc:onlab-misc-install',
162 '//utils/osgi:onlab-osgi-install',
163 '//utils/rest:onlab-rest-install',
164
165 '//core/api:onos-api-install',
166 '//incubator/api:onos-incubator-api-install',
167
168 '//core/net:onos-core-net-install',
169 '//core/common:onos-core-common-install',
170 '//core/store/dist:onos-core-dist-install',
171 '//core/store/primitives:onos-core-primitives-install',
172 '//core/store/persistence:onos-core-persistence-install',
173 '//core/store/serializers:onos-core-serializers-install',
174
175 '//incubator/net:onos-incubator-net-install',
176 '//incubator/core:onos-incubator-core-install',
177 '//incubator/store:onos-incubator-store-install',
178 '//incubator/rpc:onos-incubator-rpc-install',
179
180 '//core/security:onos-security-install',
181
182 '//web/api:onos-rest-install',
183 '//web/gui:onos-gui-install',
184 '//cli:onos-cli-install',
185]
186java_library(
187 name = 'install',
188 visibility = ['PUBLIC'],
189 deps = INSTALL
Ray Milkey7c251822016-04-06 17:38:25 -0700190)