Additional bazel build files for apps

Change-Id: If3f31139022b5657e4a7b8a33871e4eba0da286e
This commit is contained in:
Ray Milkey 2018-07-17 15:28:44 -07:00
parent 69023ea68c
commit 35ea5bfb55
89 changed files with 1610 additions and 83 deletions

26
apps/bgprouter/BUILD Normal file
View File

@ -0,0 +1,26 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + [
"//incubator/api:onos-incubator-api",
"//apps/routing-api:onos-apps-routing-api",
]
BUNDLES = [
"//apps/routing-api:onos-apps-routing-api",
"//apps/routing/common:onos-apps-routing-common",
"//apps/bgprouter:onos-apps-bgprouter",
]
osgi_jar(
deps = COMPILE_DEPS,
)
onos_app(
category = "Traffic Engineering",
description = "BGP router application.",
included_bundles = BUNDLES,
required_apps = [
"org.onosproject.fibinstaller",
"org.onosproject.route-service",
],
title = "BGP Router",
url = "http://onosproject.org",
)

36
apps/castor/BUILD Normal file
View File

@ -0,0 +1,36 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + REST + [
"//core/store/serializers:onos-core-serializers",
"//incubator/api:onos-incubator-api",
"//apps/routing-api:onos-apps-routing-api",
"//apps/intentsync:onos-apps-intentsync",
]
BUNDLES = [
"//apps/castor:onos-apps-castor",
"//apps/routing-api:onos-apps-routing-api",
"//apps/routing/common:onos-apps-routing-common",
]
TEST_DEPS = TEST_ADAPTERS + [
"//incubator/api:onos-incubator-api-tests",
"//apps/routing-api:onos-apps-routing-api-tests",
]
osgi_jar_with_tests(
api_description = "REST API for Castor",
api_package = "org.onosproject.castor",
api_title = "Castor",
api_version = "1.0",
test_deps = TEST_DEPS,
web_context = "/onos/castor",
deps = COMPILE_DEPS,
)
onos_app(
category = "Utility",
description = "Castor application",
included_bundles = BUNDLES,
required_apps = ["org.onosproject.intentsynchronizer"],
title = "Castor",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,26 @@
APPS = [
"org.onosproject.configsync",
"org.onosproject.yang",
"org.onosproject.netconf",
]
COMPILE_DEPS = CORE_DEPS + [
"@onos_yang_model//jar",
"@onos_yang_runtime//jar",
"//protocols/netconf/api:onos-protocols-netconf-api",
"//apps/config:onos-apps-config",
"//apps/configsync:onos-apps-configsync",
]
osgi_jar_with_tests(
test_deps = TEST_ADAPTERS,
deps = COMPILE_DEPS,
)
onos_app(
category = "Utility",
description = "Application to support the Dynamic configuration service.",
required_apps = APPS,
title = "Dynamic Configuration Synchronizer for NETCONF",
url = "http://onosproject.org",
)

20
apps/configsync/BUILD Normal file
View File

@ -0,0 +1,20 @@
APPS = [
# dynamic config
"org.onosproject.config",
]
COMPILE_DEPS = CORE_DEPS + ONOS_YANG + [
"//apps/config:onos-apps-config",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
category = "Utility",
description = "Application to support the Dynamic configuration service.",
required_apps = APPS,
title = "Dynamic Configuration Synchronizer",
url = "http://onosproject.org",
)

24
apps/cord-support/BUILD Normal file
View File

@ -0,0 +1,24 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + REST + [
"//core/store/serializers:onos-core-serializers",
]
TEST_DEPS = TEST_REST + [
"//lib:jersey-server",
]
osgi_jar_with_tests(
api_description = "REST API for CORD inquiry to ONOS topology",
api_package = "org.onosproject.cordsupport",
api_title = "CORD Support",
api_version = "1.0",
test_deps = TEST_DEPS,
web_context = "/onos/cord-support",
deps = COMPILE_DEPS,
)
onos_app(
category = "Integration",
description = "CORD Support application.",
title = "CORD Support",
url = "http://onosproject.org",
)

39
apps/cpman/app/BUILD Normal file
View File

@ -0,0 +1,39 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + METRICS + KRYO + CLI + REST + [
"@rrd4j//jar",
"//core/store/serializers:onos-core-serializers",
"//apps/cpman/api:onos-apps-cpman-api",
]
TEST_DEPS = TEST_REST + [
"//web/api:onos-rest-tests",
]
BUNDLES = [
"//apps/cpman/api:onos-apps-cpman-api",
":onos-apps-cpman-app",
]
EXCLUDED_BUNDLES = [
"@rrd4j//jar",
]
osgi_jar_with_tests(
api_description = "REST API for Control Plane Manager",
api_package = "org.onosproject.cpman.rest",
api_title = "Control Plane Manager API",
api_version = "1.0",
test_deps = TEST_DEPS,
web_context = "/onos/cpman",
deps = COMPILE_DEPS,
)
onos_app(
app_name = "org.onosproject.cpman",
category = "Monitoring",
description = "Control Plane Management application for monitoring the health of the ONOS cluster",
excluded_bundles = EXCLUDED_BUNDLES,
included_bundles = BUNDLES,
required_apps = ["org.onosproject.openflow-message"],
title = "Control Plane Manager",
url = "http://onosproject.org",
)

15
apps/drivermatrix/BUILD Normal file
View File

@ -0,0 +1,15 @@
COMPILE_DEPS = CORE_DEPS + CLI + JACKSON
osgi_jar_with_tests(
resources = glob(["src/main/resources/**"]),
resources_root = "src/main/resources",
deps = COMPILE_DEPS,
)
onos_app(
category = "GUI",
description = "Extends the ONOS GUI with a view that allows the operator to visualize " +
"the currently loaded drivers.",
title = "Driver Support Matrix",
url = "http://onosproject.org",
)

16
apps/events/BUILD Normal file
View File

@ -0,0 +1,16 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + CLI
osgi_jar_with_tests(
resources = glob(["src/main/resources/**"]),
resources_root = "src/main/resources",
deps = COMPILE_DEPS,
)
onos_app(
category = "Test Utility",
description = "Allows recording and tracking of otherwise ephemeral ONOS core events. " +
"It is primarily aimed for supporting various system tests and to assure that expected " +
"events are raised and broadcast to applications that have requested them.",
title = "Event History",
url = "http://onosproject.org",
)

26
apps/evpnopenflow/BUILD Normal file
View File

@ -0,0 +1,26 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + CLI + [
"//incubator/api:onos-incubator-api",
"//core/store/serializers:onos-core-serializers",
"//apps/gluon:onos-apps-gluon",
"//apps/vtn/vtnrsc:onos-apps-vtn-vtnrsc",
"//apps/route-service/api:onos-apps-route-service-api",
"//apps/evpn-route-service/api:onos-apps-evpn-route-service-api",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
category = "Traffic Engineering",
description = "Ethernet VPN (EVPN) introduces a new model for Ethernet services delivery." +
"It enables integrated Layer 2 service over Ethernet with multihoming.",
required_apps = [
"org.onosproject.route-service",
"org.onosproject.evpn-route-service",
"org.onosproject.gluon",
"org.onosproject.vtn",
],
title = "EVPN OpenFlow",
url = "http://onosproject.org",
)

15
apps/flowanalyzer/BUILD Normal file
View File

@ -0,0 +1,15 @@
COMPILE_DEPS = CORE_DEPS + CLI
osgi_jar_with_tests(
resources = glob(["src/main/resources/**"]),
resources_root = "src/main/resources",
test_deps = TEST_ADAPTERS,
deps = COMPILE_DEPS,
)
onos_app(
category = "Monitoring",
description = "Simple flow space analyzer.",
title = "Flow Space Analysis",
url = "http://onosproject.org",
)

23
apps/gangliametrics/BUILD Normal file
View File

@ -0,0 +1,23 @@
COMPILE_DEPS = CORE_DEPS + METRICS + [
"@gmetric4j//jar",
"@metrics_ganglia//jar",
"@remotetea_oncrpc//jar",
]
EXCLUDED_BUNDLES = [
"@gmetric4j//jar",
"@metrics_ganglia//jar",
"@remotetea_oncrpc//jar",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
category = "Monitoring",
description = "Performance metric service reporter",
excluded_bundles = EXCLUDED_BUNDLES,
title = "Ganglia Report and Query",
url = "http://onosproject.org",
)

28
apps/gluon/BUILD Normal file
View File

@ -0,0 +1,28 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + CLI + [
"@httpclient_osgi//jar",
"@httpcore_osgi//jar",
"@org_apache_httpcomponents_httpasyncclient_osgi//jar",
"@org_apache_httpcomponents_httpcore_nio//jar",
"@org_apache_karaf_jaas//jar",
]
BUNDLES = [
":onos-apps-gluon",
"@httpclient_osgi//jar",
"@httpcore_osgi//jar",
"@org_apache_httpcomponents_httpasyncclient_osgi//jar",
"@org_apache_httpcomponents_httpcore_nio//jar",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
app_name = "org.onosproject.gluon",
category = "Monitoring",
description = "To fetch data from Gluon Server over Http session.",
included_bundles = BUNDLES,
title = "Gluon Shim",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,21 @@
COMPILE_DEPS = CORE_DEPS + METRICS + [
"@gmetric4j//jar",
"@metrics_graphite//jar",
]
EXCLUDED_BUNDLES = [
"@gmetric4j//jar",
"@metrics_graphite//jar",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
category = "Monitoring",
description = "Performance metric service reporter and retriever for graphite",
excluded_bundles = EXCLUDED_BUNDLES,
title = "Graphite Report and Query",
url = "http://onosproject.org",
)

12
apps/imr/BUILD Normal file
View File

@ -0,0 +1,12 @@
BUNDLES = [
"//apps/imr/api:onos-apps-imr-api",
"//apps/imr/app:onos-apps-imr-app",
]
onos_app(
category = "Traffic Engineering",
description = "Intent Monitoring and Rerouting application.",
included_bundles = BUNDLES,
title = "Intent Monitoring and Rerouting",
url = "http://onosproject.org", # link alla wiki su wiki.onosproject.org
)

13
apps/imr/api/BUILD Normal file
View File

@ -0,0 +1,13 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + REST + CLI + [
"//core/store/serializers:onos-core-serializers",
"//apps/imr/app:onos-apps-imr-app",
]
osgi_jar_with_tests(
api_description = "REST API for IMR Application",
api_package = "org.onosproject.imr.rest",
api_title = "IMR REST API",
api_version = "1.0",
web_context = "/onos/v1/imr",
deps = COMPILE_DEPS,
)

10
apps/imr/app/BUILD Normal file
View File

@ -0,0 +1,10 @@
COMPILE_DEPS = CORE_DEPS + KRYO + JACKSON + [
"//core/store/dist:onos-core-dist",
"//core/store/serializers:onos-core-serializers",
"//incubator/api:onos-incubator-api",
]
osgi_jar_with_tests(
test_deps = TEST_ADAPTERS,
deps = COMPILE_DEPS,
)

View File

@ -0,0 +1,39 @@
COMPILE_DEPS = CORE_DEPS + METRICS + CLI + [
"@metrics_influxdb//jar",
"@influxdb_java//jar",
"@commons_codec//jar",
"@retrofit//jar",
"@okhttp//jar",
"@logging_interceptor//jar",
"@okio//jar",
"@moshi//jar",
"@converter_moshi//jar",
"@gson//jar",
]
EXCLUDED_BUNDLES = [
"@metrics_influxdb//jar",
"@influxdb_java//jar",
"@commons_codec//jar",
"@retrofit//jar",
"@okhttp//jar",
"@logging_interceptor//jar",
"@gson//jar",
"@okio//jar",
"@moshi//jar",
"@converter_moshi//jar",
]
osgi_jar_with_tests(
exclude_tests = ["org.onosproject.influxdbmetrics.InfluxDbMetricsReporterTest"],
test_deps = TEST_ADAPTERS,
deps = COMPILE_DEPS,
)
onos_app(
category = "Monitoring",
description = "Performance metric service reporter and retriever for influxDB.",
excluded_bundles = EXCLUDED_BUNDLES,
title = "InfluxDB Report and Query",
url = "http://onosproject.org",
)

13
apps/intentsync/BUILD Normal file
View File

@ -0,0 +1,13 @@
COMPILE_DEPS = CORE_DEPS + CLI
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
app_name = "org.onosproject.intentsynchronizer",
category = "Utility",
description = "Synchronizes intents to the intent framework from a single instance",
title = "Intent Synchronizer",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,3 @@
osgi_jar_with_tests(
deps = CORE_DEPS,
)

15
apps/layout/BUILD Normal file
View File

@ -0,0 +1,15 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + CLI + [
"//core/common:onos-core-common",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
category = "GUI",
description = "Automatically lays out the network topology using roles assigned to each " +
"network element via the network configuration. Supports multiple layout variants.",
title = "UI Auto-Layout",
url = "http://onosproject.org",
)

14
apps/linkprops/BUILD Normal file
View File

@ -0,0 +1,14 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + [
"//incubator/api:onos-incubator-api",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
category = "Monitoring",
description = "Shows more link properties",
title = "Link Properties",
url = "https://onosproject.org/",
)

12
apps/metrics/BUILD Normal file
View File

@ -0,0 +1,12 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + METRICS + CLI + REST
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
category = "Monitoring",
description = "Monitoring of various metrics related to topology mutation and intent programming.",
title = "Topology & Intent Metrics",
url = "http://onosproject.org",
)

10
apps/mfwd/BUILD Normal file
View File

@ -0,0 +1,10 @@
osgi_jar_with_tests(
deps = CORE_DEPS,
)
onos_app(
category = "Traffic Engineering",
description = "Multicast forwarding application.",
title = "Multicast Forwarding",
url = "http://onosproject.org",
)

12
apps/mlb/BUILD Normal file
View File

@ -0,0 +1,12 @@
osgi_jar_with_tests(
deps = CORE_DEPS,
)
onos_app(
category = "Utility",
description = "Monitors distribution of mastership of network devices between the ONOS cluster " +
"nodes and periodically re-assigns the mastership to achieve balanced distribution when " +
"necessary and possible.",
title = "Mastership Load Balancer",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,13 @@
BUNDLES = [
"//apps/network-troubleshoot/api:onos-apps-network-troubleshoot-api",
"//apps/network-troubleshoot/cli:onos-apps-network-troubleshoot-cli",
"//apps/network-troubleshoot/core:onos-apps-network-troubleshoot-core",
]
onos_app(
category = "Utility",
description = "Provides various network troubleshooting utilities.",
included_bundles = BUNDLES,
title = "Network Troubleshooter",
url = "https://wiki.onosproject.org/display/ONOS/Network+TroubleShooting+Module",
)

View File

@ -0,0 +1,3 @@
osgi_jar_with_tests(
deps = CORE_DEPS,
)

View File

@ -0,0 +1,8 @@
COMPILE_DEPS = CORE_DEPS + CLI + [
"//apps/network-troubleshoot/api:onos-apps-network-troubleshoot-api",
]
osgi_jar_with_tests(
import_packages = "*,org.onosproject.cli.net",
deps = COMPILE_DEPS,
)

View File

@ -0,0 +1,14 @@
COMPILE_DEPS = CORE_DEPS + [
"//incubator/api:onos-incubator-api",
"//apps/network-troubleshoot/api:onos-apps-network-troubleshoot-api",
]
TEST_DEPS = TEST + [
"//utils/osgi:onlab-osgi-tests",
"//incubator/api:onos-incubator-api-tests",
]
osgi_jar_with_tests(
test_deps = TEST_DEPS,
deps = COMPILE_DEPS,
)

21
apps/newoptical/BUILD Normal file
View File

@ -0,0 +1,21 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + CLI + [
"//core/store/serializers:onos-core-serializers",
"//apps/optical-model:onos-apps-optical-model",
]
TEST_DEPS = TEST_ADAPTERS + [
"//utils/osgi:onlab-osgi-tests",
]
osgi_jar_with_tests(
test_deps = TEST_DEPS,
deps = COMPILE_DEPS,
)
onos_app(
category = "Optical",
description = "Packet/Optical use-case application.",
required_apps = ["org.onosproject.optical-model"],
title = "Packet/Optical Use-Case",
url = "http://onosproject.org",
)

17
apps/nodemetrics/BUILD Normal file
View File

@ -0,0 +1,17 @@
BUNDLES = [
"//apps/nodemetrics/api:onos-apps-nodemetrics-api",
"//apps/nodemetrics/mgr:onos-apps-nodemetrics-mgr",
]
onos_app(
app_name = "org.onosproject.nodemetrics",
category = "Monitoring",
description = "1.Nodemetrics Application uses, sigar library to fetch Controller information." +
"2. The Sigar library uses Native libraries and currently It supports Windows, Linux and MacOs platform." +
"3. The Native libraries like .so, .dll and .dylib are packed as jar along with sigar libs." +
"4. If the Native libraries are corrupted because of any reason," +
"so, the controller is vulnerable to crash of the entire JVM",
included_bundles = BUNDLES,
title = "Controller Monitor Application",
url = "http://samsung.com",
)

View File

@ -0,0 +1,5 @@
COMPILE_DEPS = CORE_DEPS
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)

View File

@ -0,0 +1,9 @@
COMPILE_DEPS = CORE_DEPS + CLI + [
"@sigar//jar",
"//apps/nodemetrics/api:onos-apps-nodemetrics-api",
"//core/store/serializers:onos-core-serializers",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)

40
apps/odtn/service/BUILD Normal file
View File

@ -0,0 +1,40 @@
COMPILE_DEPS = CORE_DEPS + ONOS_YANG + CLI + JACKSON + [
"//apps/odtn/api:onos-apps-odtn-api",
"//apps/config:onos-apps-config",
"//models/tapi:onos-models-tapi",
"//models/openconfig:onos-models-openconfig",
"//apps/yang:onos-apps-yang",
"//incubator/api:onos-incubator-api",
"//protocols/netconf/api:onos-protocols-netconf-api",
]
osgi_jar_with_tests(
test_deps = TEST_ADAPTERS,
deps = COMPILE_DEPS,
)
APPS = [
"org.onosproject.yang",
"org.onosproject.config",
"org.onosproject.configsync",
"org.onosproject.models.tapi",
"org.onosproject.models.openconfig",
"org.onosproject.odtn-api",
# strictly speaking following are not mandatory
"org.onosproject.restconf",
"org.onosproject.drivers.netconf", # will need if using TemplateManager
"org.onosproject.drivers.odtn-driver",
"org.onosproject.netconf",
"org.onosproject.configsync-netconf",
"org.onosproject.protocols.restconfserver",
]
onos_app(
app_name = "org.onosproject.odtn-service",
category = "Traffic Engineering",
description = "ODTN Service Application",
required_apps = APPS,
title = "ODTN Service Application",
url = "http://onosproject.org",
)

43
apps/ofagent/BUILD Normal file
View File

@ -0,0 +1,43 @@
COMPILE_DEPS = CORE_DEPS + NETTY + JACKSON + KRYO + CLI + REST + [
"@netty_transport//jar",
"@netty_codec//jar",
"@netty_handler//jar",
"@openflowj//jar",
"//core/store/serializers:onos-core-serializers",
"//core/common:onos-core-common",
"//incubator/api:onos-incubator-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",
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,
title = "OpenFlow Agent",
url = "http://onosproject.org",
)

25
apps/openroadm/BUILD Normal file
View File

@ -0,0 +1,25 @@
APPS = [
"org.onosproject.yang",
"org.onosproject.yang-gui",
"org.onosproject.config",
"org.onosproject.restconf",
"org.onosproject.protocols.restconfserver",
"org.onosproject.netconf",
"org.onosproject.netconfsb",
"org.onosproject.models.openroadm",
]
BUNDLES = [
"//apps/openroadm/service:onos-apps-openroadm-service",
"//apps/openroadm/network:onos-apps-openroadm-network",
]
onos_app(
app_name = "org.onosproject.openroadm",
category = "Optical",
description = "Open ROADM Application",
included_bundles = BUNDLES,
required_apps = APPS,
title = "Open ROADM",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,10 @@
COMPILE_DEPS = CORE_DEPS + ONOS_YANG + [
"@onos_yang_runtime//jar",
"//models/openroadm:onos-models-openroadm",
"//core/store/serializers:onos-core-serializers",
"//apps/yang:onos-apps-yang-native",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)

View File

@ -0,0 +1,10 @@
COMPILE_DEPS = CORE_DEPS + ONOS_YANG + [
"@onos_yang_runtime//jar",
"//apps/yang:onos-apps-yang-native",
"//models/openroadm:onos-models-openroadm",
"//core/store/serializers:onos-core-serializers",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)

24
apps/optical-rest/BUILD Normal file
View File

@ -0,0 +1,24 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + REST + CLI + [
"//apps/optical-model:onos-apps-optical-model",
]
APPS = [
"org.onosproject.optical-model",
]
osgi_jar_with_tests(
api_description = "REST API for Optical Model",
api_package = "org.onosproject.net.optical.rest",
api_title = "Optical Network Model REST API",
api_version = "1.0",
web_context = "/onos/optical",
deps = COMPILE_DEPS,
)
onos_app(
category = "Optical",
description = "This application provides REST support for optical network model.",
required_apps = APPS,
title = "Optical Network Model REST API",
url = "http://onosproject.org",
)

15
apps/packet-stats/BUILD Normal file
View File

@ -0,0 +1,15 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + METRICS + CLI + [
"//core/store/serializers:onos-core-serializers",
"//core/store/primitives:onos-core-primitives",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
category = "Traffic Engineering",
description = "Application to calculate the number of packets of different types",
title = "Packet Statistics",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,3 @@
osgi_jar(
deps = CORE_DEPS,
)

26
apps/pi-demo/ecmp/BUILD Normal file
View File

@ -0,0 +1,26 @@
COMPILE_DEPS = CORE_DEPS + [
"@minimal_json//jar",
"//apps/pi-demo/common:onos-apps-pi-demo-common",
"//pipelines/basic:onos-pipelines-basic",
]
osgi_jar(
deps = COMPILE_DEPS,
)
BUNDLES = [
"//apps/pi-demo/common:onos-apps-pi-demo-common",
"//apps/pi-demo/ecmp:onos-apps-pi-demo-ecmp",
]
onos_app(
app_name = "org.onosproject.pi-ecmp",
category = "Traffic Engineering",
description = "Provides ECMP support for a 2-stage clos fabric topology of PI-enabled devices",
included_bundles = BUNDLES,
required_apps = [
"org.onosproject.pipelines.basic",
],
title = "PI Demo ECMP Fabric",
url = "http://onosproject.org",
)

25
apps/pim/BUILD Normal file
View File

@ -0,0 +1,25 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + CLI + [
"//incubator/api:onos-incubator-api",
"//apps/routing-api:onos-apps-routing-api",
"//apps/route-service/api:onos-apps-route-service-api",
]
BUNDLES = [
"//apps/routing-api:onos-apps-routing-api",
":onos-apps-pim",
]
osgi_jar_with_tests(
resources = glob(["src/main/resources/**"]),
resources_root = "src/main/resources",
deps = COMPILE_DEPS,
)
onos_app(
category = "Traffic Engineering",
description = "Protocol independent multicast emulation.",
included_bundles = BUNDLES,
required_apps = ["org.onosproject.route-service"],
title = "Protocol Independent Multicast Emulation",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,21 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + REST + [
"//core/store/serializers:onos-core-serializers",
]
osgi_jar_with_tests(
api_description = "REST API for Power Management",
api_package = "org.onosproject.powermanagement",
api_title = "Power Management API",
api_version = "1.0",
test_deps = TEST_REST,
web_context = "/onos/powermanagement",
deps = COMPILE_DEPS,
)
onos_app(
category = "Monitoring",
description = "This application provides northbound interfaces for monitoring and " +
"configuring power.",
title = "Power Management",
url = "http://onosproject.org",
)

27
apps/rabbitmq/BUILD Normal file
View File

@ -0,0 +1,27 @@
COMPILE_DEPS = CORE_DEPS + [
"@gson//jar",
"@amqp_client//jar",
"//incubator/api:onos-incubator-api",
]
BUNDLES = [
"@gson//jar",
"@amqp_client//jar",
"//apps/rabbitmq:onos-apps-rabbitmq",
]
osgi_jar_with_tests(
resources = glob(["src/main/resources/**"]),
resources_root = "src/main/resources",
test_deps = TEST_ADAPTERS,
deps = COMPILE_DEPS,
)
onos_app(
category = "Integration",
description = "Rabbit MQ application.",
included_bundles = BUNDLES,
required_apps = ["org.onosproject.proxyarp"],
title = "Rabbit MQ Integration",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,23 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + [
"@concurrent_trees//jar",
"//incubator/api:onos-incubator-api",
"//apps/routing-api:onos-apps-routing-api",
"//apps/intentsync:onos-apps-intentsync",
"//apps/route-service/api:onos-apps-route-service-api",
]
osgi_jar(
deps = COMPILE_DEPS,
)
onos_app(
category = "Traffic Engineering",
description = "SDN-IP reactive routing application.",
required_apps = [
"org.onosproject.intentsynchronizer",
"org.onosproject.sdnip",
"org.onosproject.route-service",
],
title = "SDN-IP Reactive Routing",
url = "http://onosproject.org",
)

19
apps/restconf/BUILD Normal file
View File

@ -0,0 +1,19 @@
BUNDLES = [
"//apps/restconf/api:onos-apps-restconf-api",
"//apps/restconf/utils:onos-apps-restconf-utils",
"//apps/restconf/restconfmgr:onos-apps-restconf-restconfmgr",
]
APPS = [
"org.onosproject.yang",
"org.onosproject.config",
]
onos_app(
app_name = "org.onosproject.restconf",
category = "Utility",
included_bundles = BUNDLES,
required_apps = APPS,
title = "RESTCONF Application Module",
url = "http://onosproject.org",
)

9
apps/restconf/api/BUILD Normal file
View File

@ -0,0 +1,9 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + REST + [
"@jersey_client//jar",
"@jersey_server//jar",
]
osgi_jar_with_tests(
test_deps = TEST_REST,
deps = COMPILE_DEPS,
)

View File

@ -0,0 +1,13 @@
COMPILE_DEPS = CORE_DEPS + ONOS_YANG + JACKSON + [
"@jersey_server//jar",
"@javax_ws_rs_api//jar",
"//incubator/api:onos-incubator-api",
"//core/store/serializers:onos-core-serializers",
"//apps/restconf/api:onos-apps-restconf-api",
"//apps/restconf/utils:onos-apps-restconf-utils",
"//apps/config:onos-apps-config",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)

10
apps/restconf/utils/BUILD Normal file
View File

@ -0,0 +1,10 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + ONOS_YANG + [
"@onos_yang_runtime//jar",
"@javax_ws_rs_api//jar",
"//utils/rest:onlab-rest",
"//apps/restconf/api:onos-apps-restconf-api",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)

22
apps/roadm/BUILD Normal file
View File

@ -0,0 +1,22 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + [
"//core/store/serializers:onos-core-serializers",
"//apps/optical-model:onos-apps-optical-model",
]
TEST_DEPS = TEST_REST + [
"//core/api:onos-api-tests",
]
osgi_jar_with_tests(
test_deps = TEST_DEPS,
deps = COMPILE_DEPS,
)
onos_app(
category = "Optical",
description = "This application provides an interface and web GUI for monitoring and " +
"configuring power on ROADM devices.",
required_apps = ["org.onosproject.optical-model"],
title = "ROADM",
url = "http://onosproject.org",
)

30
apps/routing/cpr/BUILD Normal file
View File

@ -0,0 +1,30 @@
COMPILE_DEPS = CORE_DEPS + [
"//incubator/api:onos-incubator-api",
"//apps/routing-api:onos-apps-routing-api",
]
TEST_DEPS = TEST_ADAPTERS + [
"//incubator/api:onos-incubator-api-tests",
"//apps/routing-api:onos-apps-routing-api-tests",
"//utils/osgi:onlab-osgi-tests",
]
osgi_jar_with_tests(
test_deps = TEST_DEPS,
deps = COMPILE_DEPS,
)
BUNDLES = [
"//apps/routing/common:onos-apps-routing-common",
"//apps/routing/cpr:onos-apps-routing-cpr",
"//apps/routing-api:onos-apps-routing-api",
]
onos_app(
app_name = "org.onosproject.cpr",
category = "Traffic Engineering",
description = "Redirects routing control traffic to a control plane",
included_bundles = BUNDLES,
title = "Control Plane Redirect",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,31 @@
COMPILE_DEPS = CORE_DEPS + [
"//incubator/api:onos-incubator-api",
"//apps/routing-api:onos-apps-routing-api",
"//apps/route-service/api:onos-apps-route-service-api",
]
TEST_DEPS = TEST_ADAPTERS + [
"//incubator/api:onos-incubator-api-tests",
"//apps/routing-api:onos-apps-routing-api-tests",
"//apps/route-service/api:onos-apps-route-service-api-tests",
]
osgi_jar_with_tests(
test_deps = TEST_DEPS,
deps = COMPILE_DEPS,
)
BUNDLES = [
"//apps/routing/fibinstaller:onos-apps-routing-fibinstaller",
"//apps/routing-api:onos-apps-routing-api",
]
onos_app(
app_name = "org.onosproject.fibinstaller",
category = "Traffic Engineering",
description = "Installs routing rules into switches",
included_bundles = BUNDLES,
required_apps = ["org.onosproject.route-service"],
title = "FIB Installer",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,14 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + CLI + [
"//core/store/serializers:onos-core-serializers",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
category = "Traffic Engineering",
description = "Scalable gateway service",
title = "Scalable Gateway",
url = "http://onosproject.org",
)

34
apps/sdnip/BUILD Normal file
View File

@ -0,0 +1,34 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + CLI + [
"//incubator/api:onos-incubator-api",
"//apps/routing-api:onos-apps-routing-api",
"//apps/route-service/api:onos-apps-route-service-api",
"//apps/intentsync:onos-apps-intentsync",
]
BUNDLES = [
"//apps/sdnip:onos-apps-sdnip",
"//apps/routing-api:onos-apps-routing-api",
"//apps/routing/common:onos-apps-routing-common",
]
TEST_DEPS = TEST_ADAPTERS + [
"//apps/routing-api:onos-apps-routing-api-tests",
"//apps/route-service/api:onos-apps-route-service-api-tests",
]
osgi_jar_with_tests(
test_deps = TEST_DEPS,
deps = COMPILE_DEPS,
)
onos_app(
category = "Traffic Engineering",
description = "SDN-IP peering application",
included_bundles = BUNDLES,
required_apps = [
"org.onosproject.intentsynchronizer",
"org.onosproject.route-service",
],
title = "SDN-IP",
url = "http://onosproject.org",
)

26
apps/simplefabric/BUILD Normal file
View File

@ -0,0 +1,26 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + CLI + REST + [
"@concurrent_trees//jar",
]
BUNDLES = [
"//apps/simplefabric:onos-apps-simplefabric",
]
osgi_jar_with_tests(
test_deps = TEST_ADAPTERS,
web_context = "/onos/v1/simplefabric",
deps = COMPILE_DEPS,
)
onos_app(
category = "Traffic Engineering",
description = "Simple Fabric application",
included_bundles = BUNDLES,
required_apps = [
"org.onosproject.openflow-base",
"org.onosproject.lldpprovider",
"org.onosproject.hostprovider",
],
title = "SimpleFabric",
url = "http://onosproject.org",
)

19
apps/t3/BUILD Normal file
View File

@ -0,0 +1,19 @@
BUNDLES = [
"//apps/t3/web:onos-apps-t3-web",
"//apps/t3/app:onos-apps-t3-app",
]
onos_app(
app_name = "org.onosproject.t3",
category = "Utilities",
description = "Provides static analysis of flows and groups " +
"to determine the possible paths a packet may take.",
included_bundles = BUNDLES,
required_apps = [
"org.onosproject.segmentrouting",
"org.onosproject.route-service",
"org.onosproject.mcast",
],
title = "Trellis Troubleshooting Toolkit",
url = "https://wiki.opencord.org/pages/viewpage.action?pageId=4456974",
)

18
apps/t3/app/BUILD Normal file
View File

@ -0,0 +1,18 @@
COMPILE_DEPS = CORE_DEPS + KRYO + JACKSON + CLI + [
"//core/store/serializers:onos-core-serializers",
"//core/store/primitives:onos-core-primitives",
"//drivers/default:onos-drivers-default",
"//apps/segmentrouting/app:onos-apps-segmentrouting-app",
"//apps/route-service/api:onos-apps-route-service-api",
"//apps/mcast/api:onos-apps-mcast-api",
]
TEST_DEPS = TEST_ADAPTERS + [
"//utils/misc:onlab-misc",
"//apps/route-service/api:onos-apps-route-service-api-tests",
]
osgi_jar_with_tests(
test_deps = TEST_DEPS,
deps = COMPILE_DEPS,
)

13
apps/t3/web/BUILD Normal file
View File

@ -0,0 +1,13 @@
COMPILE_DEPS = CORE_DEPS + KRYO + JACKSON + REST + CLI + [
"@jersey_server//jar",
"//apps/t3/app:onos-apps-t3-app",
]
osgi_jar(
api_description = "REST API for T3",
api_package = "org.onosproject.t3.rest",
api_title = "T3 REST API",
api_version = "1.0",
web_context = "/onos/v1/t3",
deps = COMPILE_DEPS,
)

View File

@ -0,0 +1,14 @@
COMPILE_DEPS = CORE_DEPS + CLI + KRYO + [
"//core/store/serializers:onos-core-serializers",
]
osgi_jar(
deps = COMPILE_DEPS,
)
onos_app(
category = "Test Utility",
description = "Test for ONOS Cluster HA",
title = "Cluster HA Test",
url = "http://onosproject.org",
)

17
apps/test/demo/BUILD Normal file
View File

@ -0,0 +1,17 @@
COMPILE_DEPS = CORE_DEPS + REST + JACKSON
osgi_jar_with_tests(
api_description = "REST API for Demo",
api_package = "org.onosproject.demo",
api_title = "Flow Throughput Demo",
api_version = "1.0",
web_context = "/onos/demo",
deps = COMPILE_DEPS,
)
onos_app(
category = "Test Utility",
description = "APIs for interacting with the flow throughput test application.",
title = "Flow Throughput Demo",
url = "http://onosproject.org",
)

12
apps/test/election/BUILD Normal file
View File

@ -0,0 +1,12 @@
COMPILE_DEPS = CORE_DEPS + CLI + REST
osgi_jar(
deps = COMPILE_DEPS,
)
onos_app(
category = "Test Utility",
description = "Master election test application.",
title = "Master Election Test",
url = "http://onosproject.org",
)

14
apps/test/flow-perf/BUILD Normal file
View File

@ -0,0 +1,14 @@
COMPILE_DEPS = CORE_DEPS + CLI + REST + [
"//core/store/serializers:onos-core-serializers",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
category = "Test Utility",
description = "Messaging performance test application.",
title = "Flow Performance Test",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,15 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + CLI + REST + [
"//core/store/serializers:onos-core-serializers",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
app_name = "org.onosproject.intentperf",
category = "Test Utility",
description = "Intent performance test application.",
title = "Intent Performance Test",
url = "http://onosproject.org",
)

14
apps/test/loadtest/BUILD Normal file
View File

@ -0,0 +1,14 @@
COMPILE_DEPS = CORE_DEPS + CLI + REST + [
"//core/store/serializers:onos-core-serializers",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
category = "Test Utility",
description = "Distributed consensus load test application.",
title = "Distributed Load Test",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,14 @@
COMPILE_DEPS = CORE_DEPS + KRYO + CLI + REST + [
"//core/store/serializers:onos-core-serializers",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
category = "Test Utility",
description = "Messaging performance test application.",
title = "Messaging Performance Test",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,10 @@
osgi_jar_with_tests(
deps = CORE_DEPS,
)
onos_app(
category = "Test Utility",
description = "Network configuration monitor test application.",
title = "Network Configuration Monitor Test",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,15 @@
COMPILE_DEPS = CORE_DEPS + CLI + REST + [
"//core/store/serializers:onos-core-serializers",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
app_name = "org.onosproject.primitiveperf",
category = "Test Utility",
description = "Primitive performance test application.",
title = "Primitive Performance Test",
url = "http://onosproject.org",
)

15
apps/test/proxy/BUILD Normal file
View File

@ -0,0 +1,15 @@
COMPILE_DEPS = CORE_DEPS + CLI + REST + [
"//core/store/serializers:onos-core-serializers",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
app_name = "org.onosproject.proxytest",
category = "Test Utility",
description = "Proxy test application.",
title = "Proxy Test",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,16 @@
COMPILE_DEPS = CORE_DEPS + CLI + REST + [
"//apps/route-service/api:onos-apps-route-service-api",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
app_name = "org.onosproject.routescale",
category = "Test Utility",
description = "Route and flow scalability test facility.",
required_apps = ["org.onosproject.route-service"],
title = "Route and Flow Scalability Test",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,15 @@
COMPILE_DEPS = CORE_DEPS + [
#CLI + REST + [
"//core/store/serializers:onos-core-serializers",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)
onos_app(
category = "Test Utility",
description = "Transaction performance test application.",
title = "Transaction Performance Test",
url = "http://onosproject.org",
)

13
apps/tetopology/BUILD Normal file
View File

@ -0,0 +1,13 @@
BUNDLES = [
"//apps/tetopology/api:onos-apps-tetopology-api",
"//apps/tetopology/app:onos-apps-tetopology-app",
]
onos_app(
app_name = "org.onosproject.tetopology",
category = "Traffic Engineering",
description = "Application to create and manage hierarchical TE topologies.",
included_bundles = BUNDLES,
title = "TE Topology Core",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,3 @@
osgi_jar_with_tests(
deps = CORE_DEPS,
)

15
apps/tetopology/app/BUILD Normal file
View File

@ -0,0 +1,15 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + [
"//apps/tetopology/api:onos-apps-tetopology-api",
"//incubator/api:onos-incubator-api",
"//core/store/serializers:onos-core-serializers",
]
TEST_DEPS = TEST_ADAPTERS + [
"//utils/osgi:onlab-osgi-tests",
"//incubator/api:onos-incubator-api-tests",
]
osgi_jar_with_tests(
test_deps = TEST_DEPS,
deps = COMPILE_DEPS,
)

14
apps/tetunnel/BUILD Normal file
View File

@ -0,0 +1,14 @@
BUNDLES = [
"//apps/tetunnel/api:onos-apps-tetunnel-api",
"//apps/tetunnel/app:onos-apps-tetunnel-app",
]
onos_app(
app_name = "org.onosproject.tetunnel",
category = "Traffic Engineering",
description = "Application to create and manage TE tunnels.",
included_bundles = BUNDLES,
required_apps = ["org.onosproject.tetopology"],
title = "TE Tunnel Core",
url = "http://onosproject.org",
)

8
apps/tetunnel/api/BUILD Normal file
View File

@ -0,0 +1,8 @@
COMPILE_DEPS = CORE_DEPS + [
"//apps/tetopology/api:onos-apps-tetopology-api",
"//incubator/api:onos-incubator-api",
]
osgi_jar_with_tests(
deps = COMPILE_DEPS,
)

16
apps/tetunnel/app/BUILD Normal file
View File

@ -0,0 +1,16 @@
COMPILE_DEPS = CORE_DEPS + KRYO + [
"//apps/tetopology/api:onos-apps-tetopology-api",
"//apps/tetunnel/api:onos-apps-tetunnel-api",
"//incubator/api:onos-incubator-api",
"//core/store/serializers:onos-core-serializers",
]
TEST_DEPS = TEST_ADAPTERS + [
"//utils/osgi:onlab-osgi-tests",
"//incubator/api:onos-incubator-api-tests",
]
osgi_jar_with_tests(
test_deps = TEST_DEPS,
deps = COMPILE_DEPS,
)

14
apps/virtualbng/BUILD Normal file
View File

@ -0,0 +1,14 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + CLI + REST
osgi_jar_with_tests(
resources = glob(["src/main/resources/**"]),
resources_root = "src/main/resources",
deps = COMPILE_DEPS,
)
onos_app(
category = "Traffic Engineering",
description = "A virtual Broadband Network Gateway(BNG) application.",
title = "Virtual Broadband Gateway",
url = "http://onosproject.org",
)

19
apps/vpls/BUILD Normal file
View File

@ -0,0 +1,19 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + REST + CLI + [
"@jersey_client//jar",
"//incubator/api:onos-incubator-api",
"//core/store/serializers:onos-core-serializers",
]
osgi_jar_with_tests(
exclude_tests = ["org.onosproject.vpls.VplsTest"],
test_deps = TEST_ADAPTERS,
deps = COMPILE_DEPS,
)
onos_app(
category = "Traffic Engineering",
description = "Application to create L2 broadcast network using VLAN.",
required_apps = ["org.onosproject.intentsynchronizer"],
title = "VLAN L2 Broadcast Network",
url = "http://onosproject.org",
)

26
apps/vrouter/BUILD Normal file
View File

@ -0,0 +1,26 @@
COMPILE_DEPS = CORE_DEPS + [
"//incubator/api:onos-incubator-api",
]
BUNDLES = [
"//apps/routing-api:onos-apps-routing-api",
"//apps/routing/common:onos-apps-routing-common",
"//apps/vrouter:onos-apps-vrouter",
]
osgi_jar(
deps = COMPILE_DEPS,
)
onos_app(
category = "Traffic Engineering",
description = "Virtual router (vRouter) application.",
included_bundles = BUNDLES,
required_apps = [
"org.onosproject.fibinstaller",
"org.onosproject.cpr",
"org.onosproject.fpm",
],
title = "Virtual Router",
url = "http://onosproject.org",
)

14
apps/vtn/BUILD Normal file
View File

@ -0,0 +1,14 @@
BUNDLES = [
"//apps/vtn/vtnrsc:onos-apps-vtn-vtnrsc",
"//apps/vtn/sfcmgr:onos-apps-vtn-sfcmgr",
"//apps/vtn/vtnmgr:onos-apps-vtn-vtnmgr",
"//apps/vtn/vtnweb:onos-apps-vtn-vtnweb",
]
onos_app(
category = "Integration",
description = "ONOS framework applications",
included_bundles = BUNDLES,
title = "OPNFV",
url = "http://onosproject.org",
)

9
apps/vtn/sfcmgr/BUILD Normal file
View File

@ -0,0 +1,9 @@
COMPILE_DEPS = CORE_DEPS + KRYO + [
"//core/store/serializers:onos-core-serializers",
"//apps/vtn/vtnrsc:onos-apps-vtn-vtnrsc",
]
osgi_jar_with_tests(
test_deps = TEST_ADAPTERS,
deps = COMPILE_DEPS,
)

10
apps/vtn/vtnmgr/BUILD Normal file
View File

@ -0,0 +1,10 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + CLI + [
"//core/store/serializers:onos-core-serializers",
"//apps/vtn/vtnrsc:onos-apps-vtn-vtnrsc",
]
osgi_jar_with_tests(
resources = glob(["src/main/resources/**"]),
resources_root = "src/main/resources",
deps = COMPILE_DEPS,
)

12
apps/vtn/vtnrsc/BUILD Normal file
View File

@ -0,0 +1,12 @@
COMPILE_DEPS = CORE_DEPS + KRYO + CLI + [
"//core/store/serializers:onos-core-serializers",
]
osgi_jar_with_tests(
exclude_tests = [
"org/onosproject/vtnrsc/util/VtnEventuallyConsistentMapTest",
"org/onosproject/vtnrsc/util/VtnStorageServiceTest",
],
test_deps = TEST_REST,
deps = COMPILE_DEPS,
)

16
apps/vtn/vtnweb/BUILD Normal file
View File

@ -0,0 +1,16 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + REST + [
"//apps/vtn/vtnrsc:onos-apps-vtn-vtnrsc",
]
TEST_DEPS = TEST_REST + [
"@minimal_json//jar",
"//utils/osgi:onlab-osgi-tests",
"//web/api:onos-rest-tests",
]
osgi_jar_with_tests(
exclude_tests = ["org.onosproject.vtnweb.resources.VtnResourceTest"],
test_deps = TEST_DEPS,
web_context = "/onos/vtn",
deps = COMPILE_DEPS,
)

View File

@ -149,82 +149,82 @@ ONOS_APPS = [
"//apps/dhcp:onos-apps-dhcp-oar",
"//apps/dhcprelay:onos-apps-dhcprelay-oar",
"//apps/fwd:onos-apps-fwd-oar",
#"//apps/packet-stats:onos-apps-packet-stats-oar",
"//apps/packet-stats:onos-apps-packet-stats-oar",
"//apps/acl:onos-apps-acl-oar",
#"//apps/bgprouter:onos-apps-bgprouter-oar",
"//apps/bgprouter:onos-apps-bgprouter-oar",
"//apps/cip:onos-apps-cip-oar",
#"//apps/drivermatrix:onos-apps-drivermatrix-oar",
#"//apps/events:onos-apps-events-oar",
"//apps/drivermatrix:onos-apps-drivermatrix-oar",
"//apps/events:onos-apps-events-oar",
"//apps/proxyarp:onos-apps-proxyarp-oar",
"//apps/segmentrouting:onos-apps-segmentrouting-oar",
#"//apps/gangliametrics:onos-apps-gangliametrics-oar",
#"//apps/graphitemetrics:onos-apps-graphitemetrics-oar",
#"//apps/flowanalyzer:onos-apps-flowanalyzer-oar",
#"//apps/intentsync:onos-apps-intentsync-oar",
#"//apps/influxdbmetrics:onos-apps-influxdbmetrics-oar",
#"//apps/metrics:onos-apps-metrics-oar",
#"//apps/mfwd:onos-apps-mfwd-oar",
#"//apps/mlb:onos-apps-mlb-oar",
"//apps/gangliametrics:onos-apps-gangliametrics-oar",
"//apps/graphitemetrics:onos-apps-graphitemetrics-oar",
"//apps/flowanalyzer:onos-apps-flowanalyzer-oar",
"//apps/intentsync:onos-apps-intentsync-oar",
"//apps/influxdbmetrics:onos-apps-influxdbmetrics-oar",
"//apps/metrics:onos-apps-metrics-oar",
"//apps/mfwd:onos-apps-mfwd-oar",
"//apps/mlb:onos-apps-mlb-oar",
#"//apps/openstacknetworking:onos-apps-openstacknetworking-oar",
"//apps/mobility:onos-apps-mobility-oar",
#"//apps/newoptical:onos-apps-newoptical-oar",
"//apps/newoptical:onos-apps-newoptical-oar",
"//apps/optical-model:onos-apps-optical-model-oar",
#"//apps/optical-rest:onos-apps-optical-rest-oar",
"//apps/optical-rest:onos-apps-optical-rest-oar",
"//apps/pathpainter:onos-apps-pathpainter-oar",
"//apps/pcep-api:onos-apps-pcep-api-oar",
#"//apps/pim:onos-apps-pim-oar",
#"//apps/linkprops:onos-apps-linkprops-oar",
#"//apps/reactive-routing:onos-apps-reactive-routing-oar",
#"//apps/roadm:onos-apps-roadm-oar",
#"//apps/sdnip:onos-apps-sdnip-oar",
#"//apps/test/cluster-ha:onos-apps-test-cluster-ha-oar",
#"//apps/test/demo:onos-apps-test-demo-oar",
"//apps/pim:onos-apps-pim-oar",
"//apps/linkprops:onos-apps-linkprops-oar",
"//apps/reactive-routing:onos-apps-reactive-routing-oar",
"//apps/roadm:onos-apps-roadm-oar",
"//apps/sdnip:onos-apps-sdnip-oar",
"//apps/test/cluster-ha:onos-apps-test-cluster-ha-oar",
"//apps/test/demo:onos-apps-test-demo-oar",
"//apps/test/distributed-primitives:onos-apps-test-distributed-primitives-oar",
#"//apps/test/election:onos-apps-test-election-oar",
#"//apps/test/flow-perf:onos-apps-test-flow-perf-oar",
#"//apps/test/intent-perf:onos-apps-test-intent-perf-oar",
#"//apps/test/route-scale:onos-apps-test-route-scale-oar",
#"//apps/test/loadtest:onos-apps-test-loadtest-oar",
#"//apps/test/netcfg-monitor:onos-apps-test-netcfg-monitor-oar",
#"//apps/test/messaging-perf:onos-apps-test-messaging-perf-oar",
#"//apps/test/primitive-perf:onos-apps-test-primitive-perf-oar",
#"//apps/test/transaction-perf:onos-apps-test-transaction-perf-oar",
#"//apps/virtualbng:onos-apps-virtualbng-oar",
#"//apps/vpls:onos-apps-vpls-oar",
#"//apps/vrouter:onos-apps-vrouter-oar",
#"//apps/routing/fibinstaller:onos-apps-routing-fibinstaller-oar",
#"//apps/routing/cpr:onos-apps-routing-cpr-oar",
"//apps/test/election:onos-apps-test-election-oar",
"//apps/test/flow-perf:onos-apps-test-flow-perf-oar",
"//apps/test/intent-perf:onos-apps-test-intent-perf-oar",
"//apps/test/route-scale:onos-apps-test-route-scale-oar",
"//apps/test/loadtest:onos-apps-test-loadtest-oar",
"//apps/test/netcfg-monitor:onos-apps-test-netcfg-monitor-oar",
"//apps/test/messaging-perf:onos-apps-test-messaging-perf-oar",
"//apps/test/primitive-perf:onos-apps-test-primitive-perf-oar",
"//apps/test/transaction-perf:onos-apps-test-transaction-perf-oar",
"//apps/virtualbng:onos-apps-virtualbng-oar",
"//apps/vpls:onos-apps-vpls-oar",
"//apps/vrouter:onos-apps-vrouter-oar",
"//apps/routing/fibinstaller:onos-apps-routing-fibinstaller-oar",
"//apps/routing/cpr:onos-apps-routing-cpr-oar",
"//apps/routing/fpm:onos-apps-routing-fpm-oar",
#"//apps/vtn:onos-apps-vtn-oar",
"//apps/vtn:onos-apps-vtn-oar",
"//apps/faultmanagement:onos-apps-faultmanagement-oar",
#"//apps/openstacknode:onos-apps-openstacknode-oar",
#"//apps/cpman/app:onos-apps-cpman-app-oar",
#"//apps/scalablegateway:onos-apps-scalablegateway-oar",
#"//apps/castor:onos-apps-castor-oar",
"//apps/cpman/app:onos-apps-cpman-app-oar",
"//apps/scalablegateway:onos-apps-scalablegateway-oar",
"//apps/castor:onos-apps-castor-oar",
# '//apps/yms:onos-apps-yms-oar',
#"//apps/ofagent:onos-apps-ofagent-oar",
"//apps/ofagent:onos-apps-ofagent-oar",
"//apps/mappingmanagement:onos-apps-mappingmanagement-oar",
"//apps/config:onos-apps-config-oar",
#"//apps/configsync:onos-apps-configsync-oar",
#"//apps/configsync-netconf:onos-apps-configsync-netconf-oar",
"//apps/configsync:onos-apps-configsync-oar",
"//apps/configsync-netconf:onos-apps-configsync-netconf-oar",
"//apps/netconf/client:onos-apps-netconf-client-oar",
#"//apps/tetopology:onos-apps-tetopology-oar",
#"//apps/tetunnel:onos-apps-tetunnel-oar",
"//apps/tetopology:onos-apps-tetopology-oar",
"//apps/tetunnel:onos-apps-tetunnel-oar",
# '//apps/tenbi/yangmodel:onos-apps-tenbi-yangmodel-feature',
# '//apps/tenbi:onos-apps-tenbi-oar',
#"//protocols/restconf/server:onos-protocols-restconf-server-oar",
#"//apps/restconf:onos-apps-restconf-oar",
"//protocols/restconf/server:onos-protocols-restconf-server-oar",
"//apps/restconf:onos-apps-restconf-oar",
"//apps/flowspec-api:onos-apps-flowspec-api-oar",
"//apps/yang:onos-apps-yang-oar",
"//apps/yang-gui:onos-apps-yang-gui-oar",
#"//apps/cord-support:onos-apps-cord-support-oar",
#"//apps/network-troubleshoot:onos-apps-network-troubleshoot-oar",
"//apps/cord-support:onos-apps-cord-support-oar",
"//apps/network-troubleshoot:onos-apps-network-troubleshoot-oar",
"//apps/l3vpn:onos-apps-l3vpn-oar",
#"//apps/openroadm:onos-apps-openroadm-oar",
"//apps/openroadm:onos-apps-openroadm-oar",
#"//apps/artemis:onos-apps-artemis-oar",
#"//apps/pi-demo/ecmp:onos-apps-pi-demo-ecmp-oar",
#"//apps/gluon:onos-apps-gluon-oar",
#"//apps/evpnopenflow:onos-apps-evpnopenflow-oar",
"//apps/pi-demo/ecmp:onos-apps-pi-demo-ecmp-oar",
"//apps/gluon:onos-apps-gluon-oar",
"//apps/evpnopenflow:onos-apps-evpnopenflow-oar",
"//apps/route-service:onos-apps-route-service-oar",
"//apps/evpn-route-service:onos-apps-evpn-route-service-oar",
#"//incubator/protobuf/registry:onos-incubator-protobuf-registry-oar",
@ -235,17 +235,17 @@ ONOS_APPS = [
#"//apps/p4-tutorial/mytunnel:onos-apps-p4-tutorial-mytunnel-oar",
"//apps/cfm:onos-apps-cfm-oar",
"//apps/routeradvertisement:onos-apps-routeradvertisement-oar",
#"//apps/powermanagement:onos-apps-powermanagement-oar",
#"//apps/t3:onos-apps-t3-oar",
#"//apps/simplefabric:onos-apps-simplefabric-oar",
"//apps/powermanagement:onos-apps-powermanagement-oar",
"//apps/t3:onos-apps-t3-oar",
"//apps/simplefabric:onos-apps-simplefabric-oar",
#"//apps/kafka-integration:onos-apps-kafka-integration-oar",
#"//apps/rabbitmq:onos-apps-rabbitmq-oar",
#"//apps/odtn/api:onos-apps-odtn-api-oar",
#"//apps/odtn/service:onos-apps-odtn-service-oar",
"//apps/rabbitmq:onos-apps-rabbitmq-oar",
"//apps/odtn/api:onos-apps-odtn-api-oar",
"//apps/odtn/service:onos-apps-odtn-service-oar",
"//apps/mcast:onos-apps-mcast-oar",
#"//apps/layout:onos-apps-layout-oar",
#"//apps/imr:onos-apps-imr-oar",
#"//apps/nodemetrics:onos-apps-nodemetrics-oar",
"//apps/layout:onos-apps-layout-oar",
"//apps/imr:onos-apps-imr-oar",
"//apps/nodemetrics:onos-apps-nodemetrics-oar",
#"//web/gui2:onos-web-gui2-oar",
]
@ -272,25 +272,25 @@ MODELS = [
]
PIPELINES = [
#"//pipelines/basic:onos-pipelines-basic-oar",
#"//pipelines/fabric:onos-pipelines-fabric-oar",
"//pipelines/basic:onos-pipelines-basic-oar",
"//pipelines/fabric:onos-pipelines-fabric-oar",
]
APP_JARS = [
#"//apps/cpman/api:onos-apps-cpman-api",
"//apps/cpman/api:onos-apps-cpman-api",
"//apps/routing-api:onos-apps-routing-api",
"//apps/dhcp/api:onos-apps-dhcp-api",
"//apps/dhcp/app:onos-apps-dhcp-app",
#"//apps/imr/api:onos-apps-imr-api",
#"//apps/imr/app:onos-apps-imr-app",
"//apps/imr/api:onos-apps-imr-api",
"//apps/imr/app:onos-apps-imr-app",
"//apps/dhcprelay:onos-apps-dhcprelay",
"//apps/fwd:onos-apps-fwd",
#"//apps/iptopology-api:onos-apps-iptopology-api",
"//apps/iptopology-api:onos-apps-iptopology-api",
"//apps/routing/common:onos-apps-routing-common",
#"//apps/vtn/vtnrsc:onos-apps-vtn-vtnrsc",
#"//apps/vtn/sfcmgr:onos-apps-vtn-sfcmgr",
#"//apps/vtn/vtnmgr:onos-apps-vtn-vtnmgr",
#"//apps/vtn/vtnweb:onos-apps-vtn-vtnweb",
"//apps/vtn/vtnrsc:onos-apps-vtn-vtnrsc",
"//apps/vtn/sfcmgr:onos-apps-vtn-sfcmgr",
"//apps/vtn/vtnmgr:onos-apps-vtn-vtnmgr",
"//apps/vtn/vtnweb:onos-apps-vtn-vtnweb",
# '//apps/p4runtime-test:onos-apps-p4runtime-test',
#"//apps/kafka-integration/api:onos-apps-kafka-integration-api",
#"//apps/kafka-integration/app:onos-apps-kafka-integration-app",

View File

@ -15,15 +15,15 @@ osgi_jar(
deps = COMPILE_DEPS,
)
#onos_app(
# app_name = 'org.onosproject.pipelines.basic',
# title = 'Basic Pipelines',
# category = 'Pipeline',
# url = 'http://onosproject.org',
# description = 'Provides pipelines with basic L2/L3 forwarding capabilities and packet-in/out '
# + 'support.',
# included_bundles = BUNDLES,
# required_apps = [
# 'org.onosproject.drivers.p4runtime',
# ]
#)
onos_app(
app_name = "org.onosproject.pipelines.basic",
category = "Pipeline",
description = "Provides pipelines with basic L2/L3 forwarding capabilities and packet-in/out " +
"support.",
included_bundles = BUNDLES,
required_apps = [
"org.onosproject.drivers.p4runtime",
],
title = "Basic Pipelines",
url = "http://onosproject.org",
)

29
pipelines/fabric/BUILD Normal file
View File

@ -0,0 +1,29 @@
COMPILE_DEPS = CORE_DEPS + KRYO + [
"//protocols/p4runtime/model:onos-protocols-p4runtime-model",
"//protocols/p4runtime/api:onos-protocols-p4runtime-api",
"//pipelines/basic:onos-pipelines-basic",
"//core/store/serializers:onos-core-serializers",
]
BUNDLES = [
"//pipelines/fabric:onos-pipelines-fabric",
]
osgi_jar_with_tests(
exclude_tests = ["org/onosproject/pipelines/fabric/pipeliner/FabricPipelinerTest"],
test_deps = TEST_ADAPTERS,
deps = COMPILE_DEPS,
)
onos_app(
app_name = "org.onosproject.pipelines.fabric",
category = "Pipeline",
description = "Provides pipelines with CORD fabric underlay support.",
included_bundles = BUNDLES,
required_apps = [
"org.onosproject.drivers.p4runtime",
"org.onosproject.pipelines.basic",
],
title = "Fabric Pipeline",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,11 @@
BUNDLES = [
"//protocols/restconf/server/rpp:onos-protocols-restconf-server-rpp",
]
onos_app(
app_name = "org.onosproject.protocols.restconfserver",
category = "Utility",
included_bundles = BUNDLES,
title = "RESTCONF Server Module",
url = "http://onosproject.org",
)

View File

@ -0,0 +1,19 @@
COMPILE_DEPS = CORE_DEPS + JACKSON + [
"@jersey_server//jar",
"@javax_ws_rs_api//jar",
"@javax_servlet_api//jar",
"@javax_inject//jar",
"//utils/rest:onlab-rest",
"//apps/restconf/api:onos-apps-restconf-api",
]
TEST_DEPS = TEST_REST + [
"//utils/osgi:onlab-osgi-tests",
"//web/api:onos-rest-tests",
]
osgi_jar_with_tests(
test_deps = TEST_DEPS,
web_context = "/onos/restconf",
deps = COMPILE_DEPS,
)