blob: 23c6e9e91a767efb38602f63e12a8e54c28954e8 [file] [log] [blame]
Carmelo Cascone41644362018-08-09 16:56:43 -07001COMPILE_DEPS = CORE_DEPS + KRYO + [
2 "//core/store/serializers:onos-core-serializers",
Carmelo Casconec2be50a2019-04-10 00:15:39 -07003 "//protocols/grpc/api:onos-protocols-grpc-api",
4 "//protocols/grpc/utils:onos-protocols-grpc-utils",
Carmelo Cascone41644362018-08-09 16:56:43 -07005 "//protocols/p4runtime/api:onos-protocols-p4runtime-api",
Carmelo Cascone1fb59ac2019-04-25 13:50:54 -07006 "//lib:io_grpc_grpc_core_context",
Carmelo Cascone41644362018-08-09 16:56:43 -07007]
8
9BUNDLES = [
10 ":onos-drivers-p4runtime",
11]
12
Ray Milkey05d609a2018-08-15 10:27:58 -070013osgi_jar(
Carmelo Cascone41644362018-08-09 16:56:43 -070014 resources = glob(["src/main/resources/**"]),
15 resources_root = "src/main/resources",
Ray Milkey05d609a2018-08-15 10:27:58 -070016 deps = COMPILE_DEPS,
Carmelo Cascone41644362018-08-09 16:56:43 -070017)
18
Ray Milkey05d609a2018-08-15 10:27:58 -070019onos_app(
Carmelo Cascone41644362018-08-09 16:56:43 -070020 app_name = "org.onosproject.drivers.p4runtime",
Carmelo Cascone41644362018-08-09 16:56:43 -070021 category = "Drivers",
Carmelo Cascone41644362018-08-09 16:56:43 -070022 description = "Adds support for devices using P4 Runtime protocol.",
23 included_bundles = BUNDLES,
24 required_apps = [
25 "org.onosproject.generaldeviceprovider",
26 "org.onosproject.protocols.p4runtime",
27 "org.onosproject.p4runtime",
28 "org.onosproject.drivers",
29 ],
Ray Milkey05d609a2018-08-15 10:27:58 -070030 title = "P4Runtime Drivers",
31 url = "http://onosproject.org",
Carmelo Cascone41644362018-08-09 16:56:43 -070032)