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