blob: 061ae0d2135e5e2b78f29e54e6a96b5b988815b9 [file] [log] [blame]
Laszlo Papp8b3a5f62017-10-05 13:32:00 +01001COMPILE_DEPS = [
2 '//lib:CORE_DEPS',
3 '//models/polatis:onos-models-polatis',
4 '//drivers/utilities:onos-drivers-utilities',
5 '//protocols/netconf/api:onos-protocols-netconf-api',
6 '//lib:onos-yang-model',
7 '//apps/optical-model:onos-apps-optical-model',
Laszlo Papp4ffd6ae2018-03-28 18:09:55 +01008 '//incubator/api:onos-incubator-api',
Laszlo Papp8b3a5f62017-10-05 13:32:00 +01009]
10
11APPS = [
12 'org.onosproject.netconf',
13 'org.onosproject.models.common',
14 'org.onosproject.models.polatis',
15 'org.onosproject.optical-model',
Laszlo Papp4ffd6ae2018-03-28 18:09:55 +010016 'org.onosproject.faultmanagement',
Laszlo Papp8b3a5f62017-10-05 13:32:00 +010017]
18
19TEST_DEPS = [
20 '//lib:TEST_ADAPTERS',
21 '//utils/osgi:onlab-osgi-tests',
22]
23
24BUNDLES = [
25 ':onos-drivers-polatis-netconf',
26 '//drivers/utilities:onos-drivers-utilities',
27]
28
29osgi_jar_with_tests(
30 deps = COMPILE_DEPS,
31 test_deps = TEST_DEPS,
32 resources_root = 'src/main/resources',
33 resources = glob(['src/main/resources/**']),
34)
35
36onos_app(
37 app_name = 'org.onosproject.drivers.polatis.netconf',
38 title = 'Polatis Device Drivers',
39 category = 'Drivers',
40 url = 'http://www.polatis.com',
41 description = 'ONOS Polatis Device Drivers application.',
42 included_bundles = BUNDLES,
43 required_apps = APPS
44)