Ray Milkey | 5c9e283 | 2018-06-26 18:37:12 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + JACKSON + [ |
| 2 | "@javax_ws_rs_api//jar", |
Ray Milkey | 5c9e283 | 2018-06-26 18:37:12 -0700 | [diff] [blame] | 3 | "//utils/rest:onlab-rest", |
| 4 | "//drivers/utilities:onos-drivers-utilities", |
| 5 | "//drivers/netconf:onos-drivers-netconf", |
| 6 | "//protocols/netconf/api:onos-protocols-netconf-api", |
| 7 | ] |
| 8 | |
| 9 | TEST_DEPS = TEST_ADAPTERS + [ |
| 10 | "//drivers/netconf:onos-drivers-netconf-tests", |
| 11 | ] |
| 12 | |
| 13 | BUNDLES = [ |
| 14 | ":onos-drivers-ciena-c5170", |
| 15 | "//drivers/utilities:onos-drivers-utilities", |
| 16 | "//drivers/netconf:onos-drivers-netconf", |
| 17 | ] |
| 18 | |
| 19 | REQUIRED_APPS = [ |
| 20 | "org.onosproject.linkdiscovery", |
| 21 | "org.onosproject.netconf", |
| 22 | "org.onosproject.netconfsb", |
| 23 | "org.onosproject.drivers.netconf", |
| 24 | ] |
| 25 | |
| 26 | osgi_jar_with_tests( |
| 27 | resources = glob(["src/main/resources/**"]), |
| 28 | resources_root = "src/main/resources", |
| 29 | test_deps = TEST_DEPS, |
| 30 | deps = COMPILE_DEPS, |
| 31 | ) |
| 32 | |
| 33 | onos_app( |
| 34 | app_name = "org.onosproject.drivers.ciena.c5170", |
| 35 | category = "Drivers", |
| 36 | description = "Adds support for Ciena 5170 devices.", |
| 37 | included_bundles = BUNDLES, |
| 38 | required_apps = REQUIRED_APPS, |
| 39 | title = "Ciena 5170 Drivers", |
| 40 | url = "http://onosproject.org", |
| 41 | ) |