onos/apps/ofagent/BUILD
Thomas Vachuska 52f2cd1520 Detangling incubator: virtual nets, tunnels, resource labels, oh my
- virtual networking moved to /apps/virtual; with CLI & REST API
- tunnels and labels moved to /apps/tunnel; with CLI & REST API; UI disabled for now
- protobuf/models moved to /core/protobuf/models
- defunct grpc/rpc registry stuff left under /graveyard
- compile dependencies on /incubator moved to respective modules for compilation
- run-time dependencies will need to be re-tested for dependent apps

- /graveyard will be removed in not-too-distant future

Change-Id: I0a0b995c635487edcf95a352f50dd162186b0b39
2018-11-13 22:14:50 +00:00

48 lines
1.4 KiB
Python

COMPILE_DEPS = CORE_DEPS + NETTY + JACKSON + KRYO + CLI + REST + [
"@io_netty_netty_transport//jar",
"@io_netty_netty_codec//jar",
"@io_netty_netty_handler//jar",
"@openflowj//jar",
"//core/store/serializers:onos-core-serializers",
"//core/common:onos-core-common",
"//apps/virtual/api:onos-apps-virtual-api",
"//providers/openflow/flow:onos-providers-openflow-flow",
"//protocols/openflow/api:onos-protocols-openflow-api",
]
BUNDLES = [
"//apps/ofagent:onos-apps-ofagent",
"//providers/openflow/flow:onos-providers-openflow-flow",
"//protocols/openflow/api:onos-protocols-openflow-api",
]
TEST_DEPS = TEST_ADAPTERS + TEST_REST + [
"@jersey_server//jar",
"@minimal_json//jar",
"//core/api:onos-api-tests",
"//core/common:onos-core-common-tests",
"//web/api:onos-rest-tests",
]
osgi_jar_with_tests(
api_description = "REST API for OFAgent",
api_package = "org.onosproject.ofagent.rest",
api_title = "OFAgent API",
api_version = "1.0",
karaf_command_packages = ["org.onosproject.ofagent.cli"],
test_deps = TEST_DEPS,
web_context = "/onos/ofagent",
deps = COMPILE_DEPS,
)
onos_app(
category = "Traffic Engineering",
description = "OpenFlow agent application for virtualization subsystem.",
included_bundles = BUNDLES,
required_apps = [
"org.onosproject.virtual",
],
title = "OpenFlow Agent",
url = "http://onosproject.org",
)