Ray Milkey
Committed by Gerrit Code Review

Refactor module lists in BUCK

- removed unused Android defs file
- module lists moved to default.defs
- removed redundant APPS list

Change-Id: I464cfc51c56641b3a3810509ab3e238a5f9e62a6
1 -CORE = [
2 - '//utils/osgi:onlab-osgi',
3 - '//utils/junit:onlab-junit',
4 - '//utils/misc:onlab-misc',
5 - '//utils/rest:onlab-rest',
6 -
7 - '//core/api:onos-api',
8 - '//core/net:onos-core-net',
9 - '//core/common:onos-core-common',
10 - '//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',
15 -
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 -
22 - '//cli:onos-cli',
23 -
24 - '//protocols/rest/api:onos-protocols-rest-api',
25 - '//protocols/rest/ctl:onos-protocols-rest-ctl',
26 - '//protocols/bgp/bgpio:onos-protocols-bgp-bgpio',
27 - '//protocols/bgp/api:onos-protocols-bgp-api',
28 - '//protocols/bgp/ctl:onos-protocols-bgp-ctl',
29 - '//protocols/netconf/api:onos-protocols-netconf-api',
30 - '//protocols/netconf/ctl:onos-protocols-netconf-ctl',
31 - '//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',
47 -
48 - '//drivers/utilities:onos-drivers-utilities',
49 - '//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',
57 - '//drivers/optical:onos-drivers-optical-oar',
58 - '//drivers/arista:onos-drivers-arista-oar',
59 -
60 - '//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',
66 - '//providers/ovsdb/device:onos-providers-ovsdb-device',
67 - '//providers/ovsdb/tunnel:onos-providers-ovsdb-tunnel',
68 - '//providers/rest/device:onos-providers-rest-device',
69 - '//providers/snmp/device:onos-providers-snmp-device',
70 - '//providers/isis/cfg:onos-providers-isis-cfg',
71 - '//providers/isis/topology:onos-providers-isis-topology',
72 -
73 - '//web/api:onos-rest',
74 - '//web/gui:onos-gui',
75 -]
76 -
77 -APPS = [
78 - # Drivers
79 - '//drivers/default:onos-drivers-default-oar',
80 - '//drivers/corsa:onos-drivers-corsa-oar',
81 - '//drivers/ovsdb:onos-drivers-ovsdb-oar',
82 -
83 - # 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',
91 - '//providers/ovsdb:onos-providers-ovsdb-oar',
92 - '//providers/ovsdb/host:onos-providers-ovsdb-host-oar',
93 - '//providers/ovsdb/base:onos-providers-ovsdb-base-oar',
94 - '//providers/pcep:onos-providers-pcep-oar',
95 - '//providers/null:onos-providers-null-oar',
96 - '//providers/openflow/base:onos-providers-openflow-base-oar',
97 - '//providers/openflow/app:onos-providers-openflow-app-oar',
98 - '//providers/rest:onos-providers-rest-oar',
99 - '//providers/isis:onos-providers-isis-oar',
100 -
101 - # Apps
102 - '//apps/dhcp:onos-apps-dhcp-oar',
103 - '//apps/dhcprelay:onos-apps-dhcprelay-oar',
104 - '//apps/fwd:onos-apps-fwd-oar',
105 - '//apps/acl:onos-apps-acl-oar',
106 - '//apps/bgprouter:onos-apps-bgprouter-oar',
107 - '//apps/cip:onos-apps-cip-oar',
108 - '//apps/drivermatrix:onos-apps-drivermatrix-oar',
109 - '//apps/events:onos-apps-events-oar',
110 - '//apps/proxyarp:onos-apps-proxyarp-oar',
111 - '//apps/segmentrouting:onos-apps-segmentrouting-oar',
112 - '//apps/gangliametrics:onos-apps-gangliametrics-oar',
113 - '//apps/graphitemetrics:onos-apps-graphitemetrics-oar',
114 - '//apps/flowanalyzer:onos-apps-flowanalyzer-oar',
115 - '//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',
120 - '//apps/openstacknetworking:onos-apps-openstacknetworking-oar',
121 - '//apps/openstacknetworking/routing:onos-apps-openstacknetworking-routing-oar',
122 - '//apps/openstacknetworking/switching:onos-apps-openstacknetworking-switching-oar',
123 - '//apps/mobility:onos-apps-mobility-oar',
124 - '//apps/optical:onos-apps-optical-oar',
125 - '//apps/newoptical:onos-apps-newoptical-oar',
126 - '//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',
131 - '//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',
138 - '//apps/virtualbng:onos-apps-virtualbng-oar',
139 - '//apps/vpls:onos-apps-vpls-oar',
140 - '//apps/vrouter:onos-apps-vrouter-oar',
141 - '//apps/vtn:onos-apps-vtn-oar',
142 - '//apps/faultmanagement:onos-apps-faultmanagement-oar',
143 - '//apps/openstacknode:onos-apps-openstacknode-oar',
144 - '//apps/cpman/app:onos-apps-cpman-app-oar',
145 - '//apps/xosclient:onos-apps-xosclient-oar',
146 - '//apps/scalablegateway:onos-apps-scalablegateway-oar',
147 -]
148 -
149 -APP_JARS = [
150 - '//apps/cpman/api:onos-apps-cpman-api',
151 - '//apps/routing-api:onos-apps-routing-api',
152 - '//apps/dhcp/api:onos-apps-dhcp-api',
153 - '//apps/dhcp/app:onos-apps-dhcp-app',
154 - '//apps/dhcprelay:onos-apps-dhcprelay',
155 - '//apps/fwd:onos-apps-fwd',
156 - '//apps/iptopology-api:onos-apps-iptopology-api',
157 - '//apps/openstacknode:onos-apps-openstacknode',
158 - '//apps/routing:onos-apps-routing',
159 - '//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',
163 -]
164 -
165 java_library( 1 java_library(
166 name = 'core', 2 name = 'core',
167 visibility = ['PUBLIC'], 3 visibility = ['PUBLIC'],
......
1 -# Copyright (C) 2013 The Android Open Source Project
2 -#
3 -# Licensed under the Apache License, Version 2.0 (the "License");
4 -# you may not use this file except in compliance with the License.
5 -# You may obtain a copy of the License at
6 -#
7 -# http://www.apache.org/licenses/LICENSE-2.0
8 -#
9 -# Unless required by applicable law or agreed to in writing, software
10 -# distributed under the License is distributed on an "AS IS" BASIS,
11 -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 -# See the License for the specific language governing permissions and
13 -# limitations under the License.
14 -
15 -# These definitions support building a runnable version of Gerrit.
16 -
17 -DOCS_HTML = '//Documentation:html'
18 -DOCS_LIB = '//Documentation:index_lib'
19 -LIBS = [
20 - '//gerrit-war:log4j-config',
21 - '//gerrit-war:init',
22 - '//lib:postgresql',
23 - '//lib/log:impl_log4j',
24 -]
25 -PGMLIBS = ['//gerrit-pgm:pgm']
26 -
27 -def scan_plugins():
28 - import os
29 - deps = []
30 - for n in os.listdir('plugins'):
31 - if os.path.exists(os.path.join('plugins', n, 'BUCK')):
32 - deps.append('//plugins/%s:%s__plugin' % (n, n))
33 - return deps
34 -
35 -def war(
36 - name,
37 - libs = [],
38 - pgmlibs = [],
39 - context = [],
40 - visibility = [],
41 - docs = False
42 - ):
43 - cmd = ['$(exe //tools:pack_war)', '-o', '$OUT', '--tmp', '$TMP']
44 - for l in libs:
45 - cmd.extend(['--lib', '$(classpath %s)' % l])
46 - for l in pgmlibs:
47 - cmd.extend(['--pgmlib', '$(classpath %s)' % l])
48 -
49 - if docs:
50 - cmd.append('$(location %s)' % DOCS_HTML)
51 - cmd.extend(['--lib', '$(classpath %s)' % DOCS_LIB])
52 - if context:
53 - for t in context:
54 - cmd.append('$(location %s)' % t)
55 -
56 - genrule(
57 - name = name,
58 - cmd = ' '.join(cmd),
59 - out = name + '.war',
60 - visibility = visibility,
61 - )
62 -
63 -def gerrit_war(name, ui = 'ui_optdbg', context = [], docs = False, visibility = []):
64 - ui_deps = []
65 - if ui:
66 - if ui == 'polygerrit' or ui == 'ui_optdbg' or ui == 'ui_optdbg_r':
67 - ui_deps.append('//polygerrit-ui/app:polygerrit_ui')
68 - if ui != 'polygerrit':
69 - ui_deps.append('//gerrit-gwtui:%s' % ui)
70 - war(
71 - name = name,
72 - libs = LIBS + ['//gerrit-war:version'],
73 - pgmlibs = PGMLIBS,
74 - context = ui_deps + context + [
75 - '//gerrit-main:main_bin',
76 - '//gerrit-war:webapp_assets',
77 - ],
78 - docs = docs,
79 - visibility = visibility,
80 - )
1 +include_defs('//onos.defs')
1 include_defs('//bucklets/maven_jar.bucklet') 2 include_defs('//bucklets/maven_jar.bucklet')
2 include_defs('//bucklets/onos.bucklet') 3 include_defs('//bucklets/onos.bucklet')
3 include_defs('//bucklets/onos_app.bucklet') 4 include_defs('//bucklets/onos_app.bucklet')
...@@ -8,4 +9,6 @@ BASE_DEPS = [ ...@@ -8,4 +9,6 @@ BASE_DEPS = [
8 '//lib:hamcrest-all', 9 '//lib:hamcrest-all',
9 '//lib:slf4j-api', 10 '//lib:slf4j-api',
10 '//lib:guava-testlib', 11 '//lib:guava-testlib',
11 -]
...\ No newline at end of file ...\ No newline at end of file
12 +]
13 +
14 +
......
1 +CORE = [
2 + '//utils/osgi:onlab-osgi',
3 + '//utils/junit:onlab-junit',
4 + '//utils/misc:onlab-misc',
5 + '//utils/rest:onlab-rest',
6 +
7 + '//core/api:onos-api',
8 + '//core/net:onos-core-net',
9 + '//core/common:onos-core-common',
10 + '//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',
15 +
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 +
22 + '//cli:onos-cli',
23 +
24 + '//protocols/rest/api:onos-protocols-rest-api',
25 + '//protocols/rest/ctl:onos-protocols-rest-ctl',
26 + '//protocols/bgp/bgpio:onos-protocols-bgp-bgpio',
27 + '//protocols/bgp/api:onos-protocols-bgp-api',
28 + '//protocols/bgp/ctl:onos-protocols-bgp-ctl',
29 + '//protocols/netconf/api:onos-protocols-netconf-api',
30 + '//protocols/netconf/ctl:onos-protocols-netconf-ctl',
31 + '//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',
47 +
48 + '//drivers/utilities:onos-drivers-utilities',
49 + '//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',
57 + '//drivers/optical:onos-drivers-optical-oar',
58 + '//drivers/arista:onos-drivers-arista-oar',
59 +
60 + '//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',
66 + '//providers/ovsdb/device:onos-providers-ovsdb-device',
67 + '//providers/ovsdb/tunnel:onos-providers-ovsdb-tunnel',
68 + '//providers/rest/device:onos-providers-rest-device',
69 + '//providers/snmp/device:onos-providers-snmp-device',
70 + '//providers/isis/cfg:onos-providers-isis-cfg',
71 + '//providers/isis/topology:onos-providers-isis-topology',
72 +
73 + '//web/api:onos-rest',
74 + '//web/gui:onos-gui',
75 +]
76 +
77 +ONOS_DRIVERS = [
78 + # Drivers
79 + '//drivers/default:onos-drivers-default-oar',
80 + '//drivers/corsa:onos-drivers-corsa-oar',
81 + '//drivers/ovsdb:onos-drivers-ovsdb-oar',
82 +]
83 +
84 +ONOS_PROVIDERS = [
85 + # Providers
86 + '//providers/bgp:onos-providers-bgp-oar',
87 + '//providers/host:onos-providers-host-oar',
88 + '//providers/lldp:onos-providers-lldp-oar',
89 + '//providers/netcfghost:onos-providers-netcfghost-oar',
90 + '//providers/netcfglinks:onos-providers-netcfglinks-oar',
91 + '//providers/netconf:onos-providers-netconf-oar',
92 + '//providers/openflow/message:onos-providers-openflow-message-oar',
93 + '//providers/ovsdb:onos-providers-ovsdb-oar',
94 + '//providers/ovsdb/host:onos-providers-ovsdb-host-oar',
95 + '//providers/ovsdb/base:onos-providers-ovsdb-base-oar',
96 + '//providers/pcep:onos-providers-pcep-oar',
97 + '//providers/null:onos-providers-null-oar',
98 + '//providers/openflow/base:onos-providers-openflow-base-oar',
99 + '//providers/openflow/app:onos-providers-openflow-app-oar',
100 + '//providers/rest:onos-providers-rest-oar',
101 + '//providers/isis:onos-providers-isis-oar',
102 +]
103 +
104 +ONOS_APPS = [
105 + # Apps
106 + '//apps/dhcp:onos-apps-dhcp-oar',
107 + '//apps/dhcprelay:onos-apps-dhcprelay-oar',
108 + '//apps/fwd:onos-apps-fwd-oar',
109 + '//apps/acl:onos-apps-acl-oar',
110 + '//apps/bgprouter:onos-apps-bgprouter-oar',
111 + '//apps/cip:onos-apps-cip-oar',
112 + '//apps/drivermatrix:onos-apps-drivermatrix-oar',
113 + '//apps/events:onos-apps-events-oar',
114 + '//apps/proxyarp:onos-apps-proxyarp-oar',
115 + '//apps/segmentrouting:onos-apps-segmentrouting-oar',
116 + '//apps/gangliametrics:onos-apps-gangliametrics-oar',
117 + '//apps/graphitemetrics:onos-apps-graphitemetrics-oar',
118 + '//apps/flowanalyzer:onos-apps-flowanalyzer-oar',
119 + '//apps/influxdbmetrics:onos-apps-influxdbmetrics-oar',
120 + '//apps/metrics:onos-apps-metrics-oar',
121 + '//apps/mfwd:onos-apps-mfwd-oar',
122 + '//apps/mlb:onos-apps-mlb-oar',
123 + '//apps/openstackinterface:onos-apps-openstackinterface-oar',
124 + '//apps/openstacknetworking:onos-apps-openstacknetworking-oar',
125 + '//apps/openstacknetworking/routing:onos-apps-openstacknetworking-routing-oar',
126 + '//apps/openstacknetworking/switching:onos-apps-openstacknetworking-switching-oar',
127 + '//apps/mobility:onos-apps-mobility-oar',
128 + '//apps/optical:onos-apps-optical-oar',
129 + '//apps/newoptical:onos-apps-newoptical-oar',
130 + '//apps/pathpainter:onos-apps-pathpainter-oar',
131 + '//apps/pcep-api:onos-apps-pcep-api-oar',
132 + '//apps/pim:onos-apps-pim-oar',
133 + '//apps/reactive-routing:onos-apps-reactive-routing-oar',
134 + '//apps/sdnip:onos-apps-sdnip-oar',
135 + '//apps/test/demo:onos-apps-test-demo-oar',
136 + '//apps/test/distributed-primitives:onos-apps-test-distributed-primitives-oar',
137 + '//apps/test/election:onos-apps-test-election-oar',
138 + '//apps/test/flow-perf:onos-apps-test-flow-perf-oar',
139 + '//apps/test/intent-perf:onos-apps-test-intent-perf-oar',
140 + '//apps/test/loadtest:onos-apps-test-loadtest-oar',
141 + '//apps/test/messaging-perf:onos-apps-test-messaging-perf-oar',
142 + '//apps/virtualbng:onos-apps-virtualbng-oar',
143 + '//apps/vpls:onos-apps-vpls-oar',
144 + '//apps/vrouter:onos-apps-vrouter-oar',
145 + '//apps/vtn:onos-apps-vtn-oar',
146 + '//apps/faultmanagement:onos-apps-faultmanagement-oar',
147 + '//apps/openstacknode:onos-apps-openstacknode-oar',
148 + '//apps/cpman/app:onos-apps-cpman-app-oar',
149 + '//apps/xosclient:onos-apps-xosclient-oar',
150 + '//apps/scalablegateway:onos-apps-scalablegateway-oar',
151 +]
152 +
153 +APP_JARS = [
154 + '//apps/cpman/api:onos-apps-cpman-api',
155 + '//apps/routing-api:onos-apps-routing-api',
156 + '//apps/dhcp/api:onos-apps-dhcp-api',
157 + '//apps/dhcp/app:onos-apps-dhcp-app',
158 + '//apps/dhcprelay:onos-apps-dhcprelay',
159 + '//apps/fwd:onos-apps-fwd',
160 + '//apps/iptopology-api:onos-apps-iptopology-api',
161 + '//apps/openstacknode:onos-apps-openstacknode',
162 + '//apps/routing:onos-apps-routing',
163 + '//apps/vtn/vtnrsc:onos-apps-vtn-vtnrsc',
164 + '//apps/vtn/sfcmgr:onos-apps-vtn-sfcmgr',
165 + '//apps/vtn/vtnmgr:onos-apps-vtn-vtnmgr',
166 + '//apps/vtn/vtnweb:onos-apps-vtn-vtnweb',
167 +]
168 +
169 +APPS = ONOS_DRIVERS + ONOS_PROVIDERS + ONOS_APPS
1 +#FIXME - these should be shared with bucklets
2 +ONOS_ORIGIN = 'ON.Lab'
3 +ONOS_GROUP_ID = 'org.onosproject'
4 +ONOS_VERSION = '1.7.0-SNAPSHOT'
5 +DEFAULT_APP_CATEGORY = 'Utility'
6 +ONOS_ARTIFACT_BASE = 'onos-'
7 +APP_PREFIX = ONOS_GROUP_ID + '.'
8 +
9 +include_defs('//modules.defs')
...@@ -13,73 +13,6 @@ FEATURES = [ ...@@ -13,73 +13,6 @@ FEATURES = [
13 #'//features:onos-security', 13 #'//features:onos-security',
14 ] 14 ]
15 15
16 -#FIXME this list is currently mirrored from the root Buck file
17 -APPS = [
18 - # Drivers
19 - '//drivers/default:onos-drivers-default-oar',
20 - '//drivers/corsa:onos-drivers-corsa-oar',
21 - '//drivers/ovsdb:onos-drivers-ovsdb-oar',
22 -
23 - # Providers
24 - '//providers/bgp:onos-providers-bgp-oar',
25 - '//providers/host:onos-providers-host-oar',
26 - '//providers/lldp:onos-providers-lldp-oar',
27 - '//providers/netcfghost:onos-providers-netcfghost-oar',
28 - '//providers/netcfglinks:onos-providers-netcfglinks-oar',
29 - '//providers/netconf:onos-providers-netconf-oar',
30 - '//providers/openflow/message:onos-providers-openflow-message-oar',
31 - '//providers/ovsdb:onos-providers-ovsdb-oar',
32 - '//providers/pcep:onos-providers-pcep-oar',
33 - '//providers/null:onos-providers-null-oar',
34 - '//providers/openflow/base:onos-providers-openflow-base-oar',
35 - '//providers/openflow/app:onos-providers-openflow-app-oar',
36 - '//providers/rest:onos-providers-rest-oar',
37 - '//providers/isis:onos-providers-isis-oar',
38 - '//providers/ovsdb/host:onos-providers-ovsdb-host-oar',
39 - '//providers/ovsdb/base:onos-providers-ovsdb-base-oar',
40 -
41 - # Apps
42 - '//apps/dhcp:onos-apps-dhcp-oar',
43 - '//apps/dhcprelay:onos-apps-dhcprelay-oar',
44 - '//apps/fwd:onos-apps-fwd-oar',
45 - '//apps/acl:onos-apps-acl-oar',
46 - '//apps/bgprouter:onos-apps-bgprouter-oar',
47 - '//apps/proxyarp:onos-apps-proxyarp-oar',
48 - '//apps/segmentrouting:onos-apps-segmentrouting-oar',
49 - '//apps/gangliametrics:onos-apps-gangliametrics-oar',
50 - '//apps/graphitemetrics:onos-apps-graphitemetrics-oar',
51 - '//apps/influxdbmetrics:onos-apps-influxdbmetrics-oar',
52 - '//apps/metrics:onos-apps-metrics-oar',
53 - '//apps/mfwd:onos-apps-mfwd-oar',
54 - '//apps/mlb:onos-apps-mlb-oar',
55 - '//apps/openstackinterface:onos-apps-openstackinterface-oar',
56 - '//apps/openstacknetworking:onos-apps-openstacknetworking-oar',
57 - '//apps/openstacknetworking/routing:onos-apps-openstacknetworking-routing-oar',
58 - '//apps/openstacknetworking/switching:onos-apps-openstacknetworking-switching-oar',
59 - '//apps/mobility:onos-apps-mobility-oar',
60 - '//apps/optical:onos-apps-optical-oar',
61 - '//apps/pathpainter:onos-apps-pathpainter-oar',
62 - '//apps/pcep-api:onos-apps-pcep-api-oar',
63 - '//apps/pim:onos-apps-pim-oar',
64 - '//apps/reactive-routing:onos-apps-reactive-routing-oar',
65 - '//apps/sdnip:onos-apps-sdnip-oar',
66 - '//apps/virtualbng:onos-apps-virtualbng-oar',
67 - '//apps/vpls:onos-apps-vpls-oar',
68 - '//apps/vrouter:onos-apps-vrouter-oar',
69 - '//apps/vtn:onos-apps-vtn-oar',
70 - '//apps/faultmanagement:onos-apps-faultmanagement-oar',
71 - '//apps/openstacknode:onos-apps-openstacknode-oar',
72 - '//apps/cpman/app:onos-apps-cpman-app-oar',
73 - '//apps/xosclient:onos-apps-xosclient-oar',
74 - '//apps/scalablegateway:onos-apps-scalablegateway-oar',
75 - '//apps/events:onos-apps-events-oar',
76 - '//apps/test/election:onos-apps-test-election-oar',
77 - '//apps/test/distributed-primitives:onos-apps-test-distributed-primitives-oar',
78 - '//apps/test/intent-perf:onos-apps-test-intent-perf-oar',
79 - '//apps/test/loadtest:onos-apps-test-loadtest-oar',
80 - '//apps/test/demo:onos-apps-test-demo-oar',
81 -]
82 -
83 #TODO move to buck-tools 16 #TODO move to buck-tools
84 export_file ( 17 export_file (
85 name = 'onos-prep-karaf', 18 name = 'onos-prep-karaf',
......