Andrea Campanella | bf9e5ce | 2017-12-06 14:26:36 +0100 | [diff] [blame] | 1 | PROTOBUF_VER = '3.2.0' |
| 2 | GRPC_VER = '1.3.1' |
| 3 | |
| 4 | COMPILE_DEPS = [ |
| 5 | '//lib:CORE_DEPS', |
| 6 | '//lib:KRYO', |
| 7 | '//protocols/grpc/api:onos-protocols-grpc-api', |
| 8 | '//protocols/grpc/proto:onos-protocols-grpc-proto', |
| 9 | '//incubator/grpc-dependencies:grpc-core-repkg-' + GRPC_VER, |
| 10 | '//lib:grpc-netty-' + GRPC_VER, |
| 11 | '//lib:protobuf-java-' + PROTOBUF_VER, |
| 12 | '//lib:grpc-stub-' + GRPC_VER, |
| 13 | '//core/store/serializers:onos-core-serializers', |
| 14 | '//protocols/gnmi/stub:onos-protocols-gnmi-stub', |
| 15 | ] |
| 16 | |
| 17 | BUNDLES = [ |
| 18 | ':onos-drivers-gnmi', |
| 19 | ] |
| 20 | |
| 21 | osgi_jar ( |
| 22 | deps = COMPILE_DEPS, |
| 23 | ) |
| 24 | |
| 25 | onos_app ( |
| 26 | app_name = 'org.onosproject.drivers.gnmi', |
| 27 | title = 'gNMI Drivers', |
| 28 | category = 'Drivers', |
| 29 | url = 'http://onosproject.org', |
| 30 | description = 'Adds support for devices using gNMI protocol based on ' + |
| 31 | ' openconfig models: http://openconfig.net/ .', |
| 32 | included_bundles = BUNDLES, |
| 33 | required_apps = [ |
| 34 | 'org.onosproject.generaldeviceprovider', |
| 35 | 'org.onosproject.protocols.grpc', |
| 36 | 'org.onosproject.protocols.gnmi' |
| 37 | ], |
| 38 | ) |