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