blob: 118d957a4714a8bc208ec9c90a21fcd707a39b9b [file] [log] [blame]
Ray Milkey35ea5bf2018-07-17 15:28:44 -07001COMPILE_DEPS = CORE_DEPS + NETTY + JACKSON + KRYO + CLI + REST + [
Carmelo Cascone72893b72018-08-09 00:59:06 -07002 "@io_netty_netty_transport//jar",
3 "@io_netty_netty_codec//jar",
4 "@io_netty_netty_handler//jar",
Ray Milkey35ea5bf2018-07-17 15:28:44 -07005 "@openflowj//jar",
6 "//core/store/serializers:onos-core-serializers",
7 "//core/common:onos-core-common",
Thomas Vachuska52f2cd12018-11-08 21:20:04 -08008 "//apps/virtual/api:onos-apps-virtual-api",
Ray Milkey35ea5bf2018-07-17 15:28:44 -07009 "//providers/openflow/flow:onos-providers-openflow-flow",
10 "//protocols/openflow/api:onos-protocols-openflow-api",
11]
12
13BUNDLES = [
14 "//apps/ofagent:onos-apps-ofagent",
15 "//providers/openflow/flow:onos-providers-openflow-flow",
16 "//protocols/openflow/api:onos-protocols-openflow-api",
17]
18
19TEST_DEPS = TEST_ADAPTERS + TEST_REST + [
20 "@jersey_server//jar",
21 "@minimal_json//jar",
22 "//core/api:onos-api-tests",
23 "//core/common:onos-core-common-tests",
24 "//web/api:onos-rest-tests",
25]
26
27osgi_jar_with_tests(
28 api_description = "REST API for OFAgent",
29 api_package = "org.onosproject.ofagent.rest",
30 api_title = "OFAgent API",
31 api_version = "1.0",
Ray Milkey05be20b2018-10-09 15:37:04 -070032 karaf_command_packages = ["org.onosproject.ofagent.cli"],
Ray Milkey35ea5bf2018-07-17 15:28:44 -070033 test_deps = TEST_DEPS,
34 web_context = "/onos/ofagent",
35 deps = COMPILE_DEPS,
36)
37
38onos_app(
39 category = "Traffic Engineering",
40 description = "OpenFlow agent application for virtualization subsystem.",
41 included_bundles = BUNDLES,
Thomas Vachuska52f2cd12018-11-08 21:20:04 -080042 required_apps = [
43 "org.onosproject.virtual",
44 ],
Ray Milkey35ea5bf2018-07-17 15:28:44 -070045 title = "OpenFlow Agent",
46 url = "http://onosproject.org",
47)