David Bainbridge | 7526c45 | 2018-04-20 14:14:37 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = [ |
| 2 | '//lib:CORE_DEPS', |
| 3 | '//lib:JACKSON', |
| 4 | '//lib:javax.ws.rs-api', |
| 5 | '//incubator/api:onos-incubator-api', |
| 6 | '//utils/rest:onlab-rest', |
| 7 | '//drivers/utilities:onos-drivers-utilities', |
| 8 | '//drivers/netconf:onos-drivers-netconf', |
| 9 | '//protocols/netconf/api:onos-protocols-netconf-api', |
| 10 | ] |
| 11 | |
| 12 | TEST_DEPS = [ |
| 13 | '//lib:TEST_ADAPTERS', |
| 14 | '//core/api:onos-api-tests', |
| 15 | '//drivers/netconf:onos-drivers-netconf-tests', |
David K. Bainbridge | 1a10d62 | 2018-05-07 12:32:27 -0700 | [diff] [blame] | 16 | '//lib:slf4j-jdk14', |
David Bainbridge | 7526c45 | 2018-04-20 14:14:37 -0700 | [diff] [blame] | 17 | ] |
| 18 | |
| 19 | BUNDLES = [ |
| 20 | ':onos-drivers-ciena-c5162', |
| 21 | '//drivers/utilities:onos-drivers-utilities', |
| 22 | '//drivers/netconf:onos-drivers-netconf', |
| 23 | ] |
| 24 | |
| 25 | REQUIRED_APPS = [ |
| 26 | 'org.onosproject.linkdiscovery', |
| 27 | 'org.onosproject.netconf', |
| 28 | 'org.onosproject.netconfsb', |
| 29 | 'org.onosproject.drivers.netconf' |
| 30 | ] |
| 31 | |
| 32 | osgi_jar_with_tests ( |
| 33 | deps = COMPILE_DEPS, |
| 34 | test_deps = TEST_DEPS, |
| 35 | resources_root = 'src/main/resources', |
David K. Bainbridge | 1a10d62 | 2018-05-07 12:32:27 -0700 | [diff] [blame] | 36 | resources = glob(['src/*/resources/**']), |
David Bainbridge | 7526c45 | 2018-04-20 14:14:37 -0700 | [diff] [blame] | 37 | ) |
| 38 | |
| 39 | onos_app ( |
| 40 | app_name = 'org.onosproject.drivers.ciena.c5162', |
| 41 | title = 'Ciena 5162 Drivers', |
| 42 | category = 'Drivers', |
| 43 | url = 'http://onosproject.org', |
| 44 | description = 'Adds support for Ciena 5162 devices.', |
| 45 | included_bundles = BUNDLES, |
| 46 | required_apps = REQUIRED_APPS, |
| 47 | ) |