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', |
| 16 | ] |
| 17 | |
| 18 | BUNDLES = [ |
| 19 | ':onos-drivers-ciena-c5170', |
| 20 | '//drivers/utilities:onos-drivers-utilities', |
| 21 | '//drivers/netconf:onos-drivers-netconf', |
| 22 | ] |
| 23 | |
| 24 | REQUIRED_APPS = [ |
| 25 | 'org.onosproject.linkdiscovery', |
| 26 | 'org.onosproject.netconf', |
| 27 | 'org.onosproject.netconfsb', |
| 28 | 'org.onosproject.drivers.netconf' |
| 29 | ] |
| 30 | |
| 31 | osgi_jar_with_tests ( |
| 32 | deps = COMPILE_DEPS, |
| 33 | test_deps = TEST_DEPS, |
| 34 | resources_root = 'src/main/resources', |
| 35 | resources = glob(['src/main/resources/**']), |
| 36 | ) |
| 37 | |
| 38 | onos_app ( |
| 39 | app_name = 'org.onosproject.drivers.ciena.c5170', |
| 40 | title = 'Ciena 5170 Drivers', |
| 41 | category = 'Drivers', |
| 42 | url = 'http://onosproject.org', |
| 43 | description = 'Adds support for Ciena 5170 devices.', |
| 44 | included_bundles = BUNDLES, |
| 45 | required_apps = REQUIRED_APPS, |
| 46 | ) |