Ray Milkey | 257eb6d | 2018-07-17 09:41:00 -0700 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + ONOS_YANG + [ |
| 2 | "//drivers/utilities:onos-drivers-utilities", |
| 3 | "//drivers/netconf:onos-drivers-netconf", |
| 4 | "//protocols/netconf/api:onos-protocols-netconf-api", |
| 5 | "//protocols/netconf/ctl:onos-protocols-netconf-ctl", |
| 6 | "//models/common:onos-models-common", |
| 7 | "//models/ciena/waveserverai:onos-models-ciena-waveserverai", |
| 8 | "//apps/optical-model:onos-apps-optical-model", |
| 9 | "//drivers/optical:onos-drivers-optical", |
| 10 | ] |
| 11 | |
| 12 | TEST_DEPS = TEST_ADAPTERS + [ |
| 13 | "//core/api:onos-api-tests", |
| 14 | "//drivers/netconf:onos-drivers-netconf-tests", |
| 15 | "//utils/osgi:onlab-osgi-tests", |
| 16 | ] |
| 17 | |
| 18 | BUNDLES = [ |
| 19 | ":onos-drivers-ciena-waveserverai", |
| 20 | "//drivers/utilities:onos-drivers-utilities", |
| 21 | "//drivers/netconf:onos-drivers-netconf", |
| 22 | ] |
| 23 | |
| 24 | REQUIRED_APPS = [ |
| 25 | "org.onosproject.yang", |
| 26 | "org.onosproject.optical-model", |
| 27 | "org.onosproject.drivers.optical", |
| 28 | "org.onosproject.models.ciena.waveserverai", |
| 29 | "org.onosproject.netconf", |
| 30 | "org.onosproject.netconfsb", |
| 31 | "org.onosproject.drivers.netconf", |
| 32 | "org.onosproject.linkdiscovery", |
| 33 | ] |
| 34 | |
| 35 | osgi_jar_with_tests( |
| 36 | resources = glob(["src/main/resources/**"]), |
| 37 | resources_root = "src/main/resources", |
| 38 | test_deps = TEST_DEPS, |
| 39 | deps = COMPILE_DEPS, |
| 40 | ) |
| 41 | |
| 42 | onos_app( |
| 43 | app_name = "org.onosproject.drivers.ciena.waveserverai", |
| 44 | category = "Drivers", |
| 45 | description = "Adds support for Ciena Waveserver Ai devices.", |
| 46 | included_bundles = BUNDLES, |
| 47 | required_apps = REQUIRED_APPS, |
| 48 | title = "Ciena Waveserver Ai Drivers", |
| 49 | url = "http://onosproject.org", |
| 50 | ) |