Andrea Campanella | 0288c87 | 2017-08-07 18:32:51 +0200 | [diff] [blame] | 1 | GRPC_VER = '1.3.0' |
| 2 | |
| 3 | COMPILE_DEPS = [ |
| 4 | '//lib:CORE_DEPS', |
| 5 | '//protocols/p4runtime/api:onos-protocols-p4runtime-api', |
| 6 | '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER, |
| 7 | '//lib:grpc-netty-' + GRPC_VER, |
Yi Tseng | 82512da | 2017-08-16 19:46:36 -0700 | [diff] [blame] | 8 | '//core/store/serializers:onos-core-serializers', |
| 9 | '//lib:KRYO', |
Andrea Campanella | 0288c87 | 2017-08-07 18:32:51 +0200 | [diff] [blame] | 10 | ] |
| 11 | |
| 12 | BUNDLES = [ |
| 13 | ':onos-drivers-p4runtime', |
| 14 | ] |
| 15 | |
Yi Tseng | 82512da | 2017-08-16 19:46:36 -0700 | [diff] [blame] | 16 | TEST_DEPS = [ |
| 17 | '//lib:TEST_ADAPTERS', |
| 18 | '//core/api:onos-api-tests', |
| 19 | ] |
| 20 | |
| 21 | osgi_jar_with_tests ( |
Andrea Campanella | 0288c87 | 2017-08-07 18:32:51 +0200 | [diff] [blame] | 22 | deps = COMPILE_DEPS, |
Yi Tseng | 82512da | 2017-08-16 19:46:36 -0700 | [diff] [blame] | 23 | test_deps = TEST_DEPS, |
Andrea Campanella | 0288c87 | 2017-08-07 18:32:51 +0200 | [diff] [blame] | 24 | ) |
| 25 | |
| 26 | onos_app ( |
| 27 | app_name = 'org.onosproject.drivers.p4runtime', |
Thomas Vachuska | c98aa2a | 2017-08-28 10:47:48 -0700 | [diff] [blame] | 28 | title = 'P4Runtime Drivers', |
Andrea Campanella | 0288c87 | 2017-08-07 18:32:51 +0200 | [diff] [blame] | 29 | category = 'Drivers', |
| 30 | url = 'http://onosproject.org', |
Thomas Vachuska | b002968 | 2017-08-23 17:55:53 -0700 | [diff] [blame] | 31 | description = 'Adds support for devices using P4 Runtime protocol.', |
Andrea Campanella | 0288c87 | 2017-08-07 18:32:51 +0200 | [diff] [blame] | 32 | included_bundles = BUNDLES, |
| 33 | required_apps = [ |
| 34 | 'org.onosproject.generaldeviceprovider', |
| 35 | 'org.onosproject.protocols.p4runtime', |
| 36 | 'org.onosproject.p4runtime', |
Carmelo Cascone | ef826f9 | 2017-09-05 19:43:35 +0200 | [diff] [blame] | 37 | 'org.onosproject.drivers', |
Andrea Campanella | 0288c87 | 2017-08-07 18:32:51 +0200 | [diff] [blame] | 38 | ], |
| 39 | ) |