Jan Kundrát | 981fe47 | 2019-10-15 22:44:19 +0200 | [diff] [blame] | 1 | COMPILE_DEPS = CORE_DEPS + [ |
| 2 | "@org_apache_servicemix_bundles_snmp4j//jar", |
| 3 | "//drivers/utilities:onos-drivers-utilities", |
| 4 | "//protocols/netconf/api:onos-protocols-netconf-api", |
| 5 | "//apps/optical-model:onos-apps-optical-model", |
| 6 | "//drivers/odtn-driver:onos-drivers-odtn-driver", |
| 7 | "//drivers/optical:onos-drivers-optical", |
| 8 | "//apps/odtn/api:onos-apps-odtn-api-native", |
| 9 | ] |
| 10 | |
| 11 | BUNDLES = [ |
| 12 | ":onos-drivers-czechlight", |
| 13 | "//drivers/utilities:onos-drivers-utilities", |
| 14 | ] |
| 15 | |
| 16 | osgi_jar_with_tests( |
| 17 | resources = glob(["src/main/resources/**"]), |
| 18 | resources_root = "src/main/resources", |
| 19 | test_deps = TEST_ADAPTERS, |
| 20 | deps = COMPILE_DEPS, |
| 21 | ) |
| 22 | |
| 23 | onos_app( |
| 24 | app_name = "org.onosproject.drivers.czechlight", |
| 25 | category = "Drivers", |
| 26 | description = "Device drivers for CzechLight SDN ROADMs", |
| 27 | included_bundles = BUNDLES, |
| 28 | required_apps = [ |
| 29 | "org.onosproject.optical-model", |
| 30 | "org.onosproject.netconf", |
| 31 | "org.onosproject.drivers.odtn-driver", |
| 32 | "org.onosproject.drivers.netconf", |
| 33 | "org.onosproject.drivers.optical", |
| 34 | ], |
| 35 | title = "CzechLight Drivers", |
| 36 | url = "https://czechlight.cesnet.cz/en/open-line-system/sdn-roadm", |
| 37 | ) |