mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-05 12:16:13 +02:00
Build drivers with bazel
Change-Id: I033ac32b3ef8119fc65e046c821ff17f12709261
This commit is contained in:
parent
1da7a4d3cd
commit
5c9e2838e4
10
apps/flowspec-api/BUILD
Normal file
10
apps/flowspec-api/BUILD
Normal file
@ -0,0 +1,10 @@
|
||||
BUNDLES = [
|
||||
"//apps/flowspec-api/flowapi:onos-apps-flowspec-api-flowapi",
|
||||
]
|
||||
|
||||
onos_app(
|
||||
description = "ONOS framework applications",
|
||||
included_bundles = BUNDLES,
|
||||
title = "Flowspec API",
|
||||
url = "http://onosproject.org",
|
||||
)
|
||||
4
apps/flowspec-api/flowapi/BUILD
Normal file
4
apps/flowspec-api/flowapi/BUILD
Normal file
@ -0,0 +1,4 @@
|
||||
osgi_jar_with_tests(
|
||||
test_deps = TEST_ADAPTERS,
|
||||
deps = CORE_DEPS,
|
||||
)
|
||||
42
drivers/ciena/c5162/BUILD
Normal file
42
drivers/ciena/c5162/BUILD
Normal file
@ -0,0 +1,42 @@
|
||||
COMPILE_DEPS = CORE_DEPS + JACKSON + [
|
||||
"@javax_ws_rs_api//jar",
|
||||
"//incubator/api:onos-incubator-api",
|
||||
"//utils/rest:onlab-rest",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
"//drivers/netconf:onos-drivers-netconf",
|
||||
"//protocols/netconf/api:onos-protocols-netconf-api",
|
||||
]
|
||||
|
||||
TEST_DEPS = TEST_ADAPTERS + [
|
||||
"//drivers/netconf:onos-drivers-netconf-tests",
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
":onos-drivers-ciena-c5162",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
"//drivers/netconf:onos-drivers-netconf",
|
||||
]
|
||||
|
||||
REQUIRED_APPS = [
|
||||
"org.onosproject.linkdiscovery",
|
||||
"org.onosproject.netconf",
|
||||
"org.onosproject.netconfsb",
|
||||
"org.onosproject.drivers.netconf",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
resources = glob(["src/*/resources/**"]),
|
||||
resources_root = "src/main/resources",
|
||||
test_deps = TEST_DEPS,
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = "org.onosproject.drivers.ciena.c5162",
|
||||
category = "Drivers",
|
||||
description = "Adds support for Ciena 5162 devices.",
|
||||
included_bundles = BUNDLES,
|
||||
required_apps = REQUIRED_APPS,
|
||||
title = "Ciena 5162 Drivers",
|
||||
url = "http://onosproject.org",
|
||||
)
|
||||
42
drivers/ciena/c5170/BUILD
Normal file
42
drivers/ciena/c5170/BUILD
Normal file
@ -0,0 +1,42 @@
|
||||
COMPILE_DEPS = CORE_DEPS + JACKSON + [
|
||||
"@javax_ws_rs_api//jar",
|
||||
"//incubator/api:onos-incubator-api",
|
||||
"//utils/rest:onlab-rest",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
"//drivers/netconf:onos-drivers-netconf",
|
||||
"//protocols/netconf/api:onos-protocols-netconf-api",
|
||||
]
|
||||
|
||||
TEST_DEPS = TEST_ADAPTERS + [
|
||||
"//drivers/netconf:onos-drivers-netconf-tests",
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
":onos-drivers-ciena-c5170",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
"//drivers/netconf:onos-drivers-netconf",
|
||||
]
|
||||
|
||||
REQUIRED_APPS = [
|
||||
"org.onosproject.linkdiscovery",
|
||||
"org.onosproject.netconf",
|
||||
"org.onosproject.netconfsb",
|
||||
"org.onosproject.drivers.netconf",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
resources = glob(["src/main/resources/**"]),
|
||||
resources_root = "src/main/resources",
|
||||
test_deps = TEST_DEPS,
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = "org.onosproject.drivers.ciena.c5170",
|
||||
category = "Drivers",
|
||||
description = "Adds support for Ciena 5170 devices.",
|
||||
included_bundles = BUNDLES,
|
||||
required_apps = REQUIRED_APPS,
|
||||
title = "Ciena 5170 Drivers",
|
||||
url = "http://onosproject.org",
|
||||
)
|
||||
37
drivers/ciena/waveserver/BUILD
Normal file
37
drivers/ciena/waveserver/BUILD
Normal file
@ -0,0 +1,37 @@
|
||||
COMPILE_DEPS = CORE_DEPS + JACKSON + [
|
||||
"@javax_ws_rs_api//jar",
|
||||
"//incubator/api:onos-incubator-api",
|
||||
"//utils/rest:onlab-rest",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
"//protocols/rest/api:onos-protocols-rest-api",
|
||||
"//apps/optical-model:onos-apps-optical-model",
|
||||
"//drivers/optical:onos-drivers-optical",
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
":onos-drivers-ciena-waveserver",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
]
|
||||
|
||||
REQUIRED_APPS = [
|
||||
"org.onosproject.restsb",
|
||||
"org.onosproject.optical-model",
|
||||
"org.onosproject.drivers.optical",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
resources = glob(["src/main/resources/**"]),
|
||||
resources_root = "src/main/resources",
|
||||
test_deps = TEST_ADAPTERS,
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = "org.onosproject.drivers.ciena.waveserver",
|
||||
category = "Drivers",
|
||||
description = "Adds support for Ciena Waveserver devices.",
|
||||
included_bundles = BUNDLES,
|
||||
required_apps = REQUIRED_APPS,
|
||||
title = "Ciena Waveserver Drivers",
|
||||
url = "http://onosproject.org",
|
||||
)
|
||||
29
drivers/cisco/netconf/BUILD
Normal file
29
drivers/cisco/netconf/BUILD
Normal file
@ -0,0 +1,29 @@
|
||||
COMPILE_DEPS = CORE_DEPS + [
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
"//protocols/netconf/api:onos-protocols-netconf-api",
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
":onos-drivers-cisco-netconf",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
resources = glob(["src/main/resources/**"]),
|
||||
resources_root = "src/main/resources",
|
||||
test_deps = TEST_ADAPTERS,
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = "org.onosproject.drivers.cisco.netconf",
|
||||
category = "Drivers",
|
||||
description = "Adds support for Cisco devices using NETCONF protocol.",
|
||||
included_bundles = BUNDLES,
|
||||
required_apps = [
|
||||
"org.onosproject.netconf",
|
||||
"org.onosproject.drivers.netconf",
|
||||
],
|
||||
title = "Cisco NETCONF Drivers",
|
||||
url = "http://onosproject.org",
|
||||
)
|
||||
29
drivers/cisco/rest/BUILD
Normal file
29
drivers/cisco/rest/BUILD
Normal file
@ -0,0 +1,29 @@
|
||||
COMPILE_DEPS = CORE_DEPS + JACKSON + [
|
||||
"@javax_ws_rs_api//jar",
|
||||
"//incubator/api:onos-incubator-api",
|
||||
"//utils/rest:onlab-rest",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
"//protocols/rest/api:onos-protocols-rest-api",
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
":onos-drivers-cisco-rest",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
resources = glob(["src/main/resources/**"]),
|
||||
resources_root = "src/main/resources",
|
||||
test_deps = TEST_ADAPTERS,
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = "org.onosproject.drivers.cisco.rest",
|
||||
category = "Drivers",
|
||||
description = "Adds support for Cisco devices using REST.",
|
||||
included_bundles = BUNDLES,
|
||||
required_apps = ["org.onosproject.restsb"],
|
||||
title = "Cisco REST Drivers",
|
||||
url = "http://onosproject.org",
|
||||
)
|
||||
22
drivers/corsa/BUILD
Normal file
22
drivers/corsa/BUILD
Normal file
@ -0,0 +1,22 @@
|
||||
COMPILE_DEPS = CORE_DEPS + KRYO + [
|
||||
"@openflowj//jar",
|
||||
"//drivers/default:onos-drivers-default",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
"//protocols/openflow/api:onos-protocols-openflow-api",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
resources = glob(["src/main/resources/**"]),
|
||||
resources_root = "src/main/resources",
|
||||
test_deps = TEST_ADAPTERS,
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = "org.onosproject.drivers.corsa",
|
||||
category = "Drivers",
|
||||
description = "Adds support for Corsa devices.",
|
||||
required_apps = ["org.onosproject.openflow"],
|
||||
title = "Corsa Drivers",
|
||||
url = "http://onosproject.org",
|
||||
)
|
||||
20
drivers/flowspec/BUILD
Normal file
20
drivers/flowspec/BUILD
Normal file
@ -0,0 +1,20 @@
|
||||
COMPILE_DEPS = CORE_DEPS + KRYO + [
|
||||
"//drivers/default:onos-drivers-default",
|
||||
"//apps/flowspec-api/flowapi:onos-apps-flowspec-api-flowapi",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
resources = glob(["src/main/resources/**"]),
|
||||
resources_root = "src/main/resources",
|
||||
test_deps = TEST_ADAPTERS,
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = "org.onosproject.drivers.flowspec",
|
||||
category = "Drivers",
|
||||
description = "Adds support for devices using flow specs.",
|
||||
required_apps = ["org.onosproject.drivers"],
|
||||
title = "Generic Flow Spec Drivers",
|
||||
url = "http://onosproject.org",
|
||||
)
|
||||
36
drivers/fujitsu/BUILD
Normal file
36
drivers/fujitsu/BUILD
Normal file
@ -0,0 +1,36 @@
|
||||
COMPILE_DEPS = CORE_DEPS + [
|
||||
"@org_apache_karaf_shell_console//jar",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
"//protocols/netconf/api:onos-protocols-netconf-api",
|
||||
"//protocols/netconf/ctl:onos-protocols-netconf-ctl",
|
||||
"//cli:onos-cli",
|
||||
"//apps/optical-model:onos-apps-optical-model",
|
||||
"//incubator/api:onos-incubator-api",
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
":onos-drivers-fujitsu",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
exclude_tests = ["org.onosproject.drivers.fujitsu.FujitsuNetconfSessionListenerTest"],
|
||||
resources = glob(["src/main/resources/**"]),
|
||||
resources_root = "src/main/resources",
|
||||
test_deps = TEST_ADAPTERS,
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = "org.onosproject.drivers.fujitsu",
|
||||
category = "Drivers",
|
||||
description = "Adds support for Fujitsu devices.",
|
||||
included_bundles = BUNDLES,
|
||||
required_apps = [
|
||||
"org.onosproject.netconf",
|
||||
"org.onosproject.optical-model",
|
||||
"org.onosproject.drivers.optical",
|
||||
],
|
||||
title = "Fujitsu Drivers",
|
||||
url = "http://onosproject.org",
|
||||
)
|
||||
22
drivers/hp/BUILD
Normal file
22
drivers/hp/BUILD
Normal file
@ -0,0 +1,22 @@
|
||||
COMPILE_DEPS = CORE_DEPS + KRYO + [
|
||||
"@openflowj//jar",
|
||||
"//drivers/default:onos-drivers-default",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
"//protocols/openflow/api:onos-protocols-openflow-api",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
resources = glob(["src/main/resources/**"]),
|
||||
resources_root = "src/main/resources",
|
||||
test_deps = TEST_ADAPTERS,
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = "org.onosproject.drivers.hp",
|
||||
category = "Drivers",
|
||||
description = "Adds support for HP devices.",
|
||||
required_apps = ["org.onosproject.openflow"],
|
||||
title = "HP Drivers",
|
||||
url = "http://onosproject.org",
|
||||
)
|
||||
25
drivers/juniper/BUILD
Normal file
25
drivers/juniper/BUILD
Normal file
@ -0,0 +1,25 @@
|
||||
COMPILE_DEPS = CORE_DEPS + [
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
"//protocols/netconf/api:onos-protocols-netconf-api",
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
":onos-drivers-juniper",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
resources = glob(["src/main/resources/**"]),
|
||||
resources_root = "src/main/resources",
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = "org.onosproject.drivers.juniper",
|
||||
category = "Drivers",
|
||||
description = "Adds support for Juniper devices.",
|
||||
included_bundles = BUNDLES,
|
||||
required_apps = ["org.onosproject.netconf"],
|
||||
title = "Juniper Drivers",
|
||||
url = "http://onosproject.org",
|
||||
)
|
||||
36
drivers/lisp/BUILD
Normal file
36
drivers/lisp/BUILD
Normal file
@ -0,0 +1,36 @@
|
||||
COMPILE_DEPS = CORE_DEPS + JACKSON + KRYO + [
|
||||
"//protocols/lisp/api:onos-protocols-lisp-api",
|
||||
"//protocols/lisp/msg:onos-protocols-lisp-msg",
|
||||
"//apps/mappingmanagement/api:onos-apps-mappingmanagement-api",
|
||||
"//core/store/serializers:onos-core-serializers",
|
||||
]
|
||||
|
||||
TEST_DEPS = TEST_ADAPTERS + [
|
||||
"@jersey_test_framework_core//jar",
|
||||
"@jersey_test_framework_jetty//jar",
|
||||
"//apps/mappingmanagement/api:onos-apps-mappingmanagement-api-tests",
|
||||
"//core/api:onos-api-tests",
|
||||
"//utils/osgi:onlab-osgi-tests",
|
||||
"//web/api:onos-rest-tests",
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
":onos-drivers-lisp",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
resources = glob(["src/main/resources/**"]),
|
||||
resources_root = "src/main/resources",
|
||||
test_deps = TEST_DEPS,
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = "org.onosproject.drivers.lisp",
|
||||
category = "Drivers",
|
||||
description = "Adds support for devices using LISP.",
|
||||
included_bundles = BUNDLES,
|
||||
required_apps = ["org.onosproject.lisp"],
|
||||
title = "Generic LISP Drivers",
|
||||
url = "https://wiki.onosproject.org/display/ONOS/LISP+as+SBI",
|
||||
)
|
||||
39
drivers/lumentum/BUILD
Normal file
39
drivers/lumentum/BUILD
Normal file
@ -0,0 +1,39 @@
|
||||
COMPILE_DEPS = CORE_DEPS + [
|
||||
"@org_apache_servicemix_bundles_snmp4j//jar",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
"//protocols/snmp/api:onos-protocols-snmp-api",
|
||||
"//protocols/tl1/api:onos-protocols-tl1-api",
|
||||
"//protocols/netconf/api:onos-protocols-netconf-api",
|
||||
"//incubator/api:onos-incubator-api",
|
||||
"//apps/optical-model:onos-apps-optical-model",
|
||||
"//drivers/optical:onos-drivers-optical",
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
":onos-drivers-lumentum",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
resources = glob(["src/main/resources/**"]),
|
||||
resources_root = "src/main/resources",
|
||||
test_deps = TEST_ADAPTERS,
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = "org.onosproject.drivers.lumentum",
|
||||
category = "Drivers",
|
||||
description = "ONOS Lumentum Device Drivers application.",
|
||||
included_bundles = BUNDLES,
|
||||
required_apps = [
|
||||
"org.onosproject.snmp",
|
||||
"org.onosproject.faultmanagement",
|
||||
"org.onosproject.optical-model",
|
||||
"org.onosproject.tl1",
|
||||
"org.onosproject.netconf",
|
||||
"org.onosproject.drivers.optical",
|
||||
],
|
||||
title = "Lumentum Drivers",
|
||||
url = "http://onosproject.org",
|
||||
)
|
||||
26
drivers/netconf/BUILD
Normal file
26
drivers/netconf/BUILD
Normal file
@ -0,0 +1,26 @@
|
||||
COMPILE_DEPS = CORE_DEPS + [
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
"//protocols/netconf/api:onos-protocols-netconf-api",
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
":onos-drivers-netconf",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
resources = glob(["src/main/resources/**"]),
|
||||
resources_root = "src/main/resources",
|
||||
test_deps = TEST_ADAPTERS,
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = "org.onosproject.drivers.netconf",
|
||||
category = "Drivers",
|
||||
description = "Adds support for devices using NETCONF.",
|
||||
included_bundles = BUNDLES,
|
||||
required_apps = ["org.onosproject.netconf"],
|
||||
title = "Generic NETCONF Drivers",
|
||||
url = "http://onosproject.org",
|
||||
)
|
||||
31
drivers/oplink/BUILD
Normal file
31
drivers/oplink/BUILD
Normal file
@ -0,0 +1,31 @@
|
||||
COMPILE_DEPS = CORE_DEPS + [
|
||||
"//drivers/default:onos-drivers-default",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
"//protocols/netconf/api:onos-protocols-netconf-api",
|
||||
"//apps/optical-model:onos-apps-optical-model",
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
":onos-drivers-oplink",
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
resources = glob(["src/main/resources/**"]),
|
||||
resources_root = "src/main/resources",
|
||||
test_deps = TEST_ADAPTERS,
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = "org.onosproject.drivers.oplink",
|
||||
category = "Drivers",
|
||||
description = "Adds support for Oplink devices.",
|
||||
included_bundles = BUNDLES,
|
||||
required_apps = [
|
||||
"org.onosproject.netconf",
|
||||
"org.onosproject.optical-model",
|
||||
],
|
||||
title = "Oplink Drivers",
|
||||
url = "http://onosproject.org",
|
||||
)
|
||||
30
drivers/optical/BUILD
Normal file
30
drivers/optical/BUILD
Normal file
@ -0,0 +1,30 @@
|
||||
COMPILE_DEPS = CORE_DEPS + NETTY + JACKSON + [
|
||||
"@openflowj//jar",
|
||||
"//protocols/openflow/api:onos-protocols-openflow-api",
|
||||
"//drivers/default:onos-drivers-default",
|
||||
"//apps/optical-model:onos-apps-optical-model",
|
||||
]
|
||||
|
||||
TEST_DEPS = TEST_ADAPTERS + [
|
||||
"//core/api:onos-api-tests",
|
||||
"//utils/osgi:onlab-osgi-tests",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
resources = glob(["src/main/resources/**"]),
|
||||
resources_root = "src/main/resources",
|
||||
test_deps = TEST_DEPS,
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = "org.onosproject.drivers.optical",
|
||||
category = "Drivers",
|
||||
description = "Suite of basic optical device drivers.",
|
||||
required_apps = [
|
||||
"org.onosproject.drivers",
|
||||
"org.onosproject.optical-model",
|
||||
],
|
||||
title = "Basic Optical Drivers",
|
||||
url = "http://onosproject.org",
|
||||
)
|
||||
25
drivers/ovsdb/BUILD
Normal file
25
drivers/ovsdb/BUILD
Normal file
@ -0,0 +1,25 @@
|
||||
COMPILE_DEPS = CORE_DEPS + [
|
||||
"//drivers/utilities:onos-drivers-utilities",
|
||||
"//protocols/ovsdb/api:onos-protocols-ovsdb-api",
|
||||
"//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc",
|
||||
]
|
||||
|
||||
TEST_DEPS = TEST_ADAPTERS + [
|
||||
"//protocols/ovsdb/api:onos-protocols-ovsdb-api-tests",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
resources = glob(["src/main/resources/**"]),
|
||||
resources_root = "src/main/resources",
|
||||
test_deps = TEST_DEPS,
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = "org.onosproject.drivers.ovsdb",
|
||||
category = "Drivers",
|
||||
description = "Adds support for devices using OVSDB.",
|
||||
required_apps = ["org.onosproject.ovsdb-base"],
|
||||
title = "Generic OVSDB Drivers",
|
||||
url = "http://onosproject.org",
|
||||
)
|
||||
26
drivers/polatis/openflow/BUILD
Normal file
26
drivers/polatis/openflow/BUILD
Normal file
@ -0,0 +1,26 @@
|
||||
COMPILE_DEPS = CORE_DEPS + [
|
||||
"@openflowj//jar",
|
||||
"//protocols/openflow/api:onos-protocols-openflow-api",
|
||||
"//apps/optical-model:onos-apps-optical-model",
|
||||
]
|
||||
|
||||
APPS = [
|
||||
"org.onosproject.drivers.optical",
|
||||
"org.onosproject.optical-model",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
resources = glob(["src/main/resources/**"]),
|
||||
resources_root = "src/main/resources",
|
||||
test_deps = TEST_ADAPTERS,
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = "org.onosproject.drivers.polatis.openflow",
|
||||
category = "Drivers",
|
||||
description = "ONOS Polatis OpenFlow Device Drivers application.",
|
||||
required_apps = APPS,
|
||||
title = "Polatis OpenFlow Device Drivers",
|
||||
url = "http://www.polatis.com",
|
||||
)
|
||||
32
drivers/server/BUILD
Normal file
32
drivers/server/BUILD
Normal file
@ -0,0 +1,32 @@
|
||||
COMPILE_DEPS = CORE_DEPS + JACKSON + [
|
||||
"@javax_ws_rs_api//jar",
|
||||
"//incubator/api:onos-incubator-api",
|
||||
"//utils/rest:onlab-rest",
|
||||
"//protocols/rest/api:onos-protocols-rest-api",
|
||||
]
|
||||
|
||||
BUNDLES = [
|
||||
":onos-drivers-server",
|
||||
]
|
||||
|
||||
REQUIRED_APPS = [
|
||||
"org.onosproject.restsb",
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
resources = glob(["src/main/resources/**"]),
|
||||
resources_root = "src/main/resources",
|
||||
test_deps = TEST_ADAPTERS,
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
onos_app(
|
||||
app_name = "org.onosproject.drivers.server",
|
||||
category = "Drivers",
|
||||
description = "ONOS southbound drivers for commodity servers",
|
||||
included_bundles = BUNDLES,
|
||||
origin = "KTH Royal Institute of Technology & RISE SICS",
|
||||
required_apps = REQUIRED_APPS,
|
||||
title = "Server Device Drivers",
|
||||
url = "https://github.com/gkatsikas/onos/tree/metron-driver",
|
||||
)
|
||||
38
modules.bzl
38
modules.bzl
@ -85,33 +85,33 @@ ONOS_DRIVERS = [
|
||||
# Drivers
|
||||
"//drivers/default:onos-drivers-default",
|
||||
"//drivers/arista:onos-drivers-arista-oar",
|
||||
#"//drivers/ciena/waveserver:onos-drivers-ciena-waveserver-oar",
|
||||
#"//drivers/ciena/c5162:onos-drivers-ciena-c5162-oar",
|
||||
#"//drivers/ciena/c5170:onos-drivers-ciena-c5170-oar",
|
||||
"//drivers/ciena/waveserver:onos-drivers-ciena-waveserver-oar",
|
||||
"//drivers/ciena/c5162:onos-drivers-ciena-c5162-oar",
|
||||
"//drivers/ciena/c5170:onos-drivers-ciena-c5170-oar",
|
||||
#"//drivers/ciena/waveserverai:onos-drivers-ciena-waveserverai-oar",
|
||||
#"//drivers/cisco/netconf:onos-drivers-cisco-netconf-oar",
|
||||
#"//drivers/cisco/rest:onos-drivers-cisco-rest-oar",
|
||||
#"//drivers/corsa:onos-drivers-corsa-oar",
|
||||
#"//drivers/fujitsu:onos-drivers-fujitsu-oar",
|
||||
#"//drivers/lumentum:onos-drivers-lumentum-oar",
|
||||
#"//drivers/netconf:onos-drivers-netconf-oar",
|
||||
#"//drivers/server:onos-drivers-server-oar",
|
||||
#"//drivers/optical:onos-drivers-optical-oar",
|
||||
#"//drivers/ovsdb:onos-drivers-ovsdb-oar",
|
||||
#"//drivers/juniper:onos-drivers-juniper-oar",
|
||||
#"//drivers/lisp:onos-drivers-lisp-oar",
|
||||
#"//drivers/flowspec:onos-drivers-flowspec-oar",
|
||||
"//drivers/cisco/netconf:onos-drivers-cisco-netconf-oar",
|
||||
"//drivers/cisco/rest:onos-drivers-cisco-rest-oar",
|
||||
"//drivers/corsa:onos-drivers-corsa-oar",
|
||||
"//drivers/fujitsu:onos-drivers-fujitsu-oar",
|
||||
"//drivers/lumentum:onos-drivers-lumentum-oar",
|
||||
"//drivers/netconf:onos-drivers-netconf-oar",
|
||||
"//drivers/server:onos-drivers-server-oar",
|
||||
"//drivers/optical:onos-drivers-optical-oar",
|
||||
"//drivers/ovsdb:onos-drivers-ovsdb-oar",
|
||||
"//drivers/juniper:onos-drivers-juniper-oar",
|
||||
"//drivers/lisp:onos-drivers-lisp-oar",
|
||||
"//drivers/flowspec:onos-drivers-flowspec-oar",
|
||||
#"//drivers/huawei:onos-drivers-huawei-oar",
|
||||
#"//drivers/microsemi/ea1000:onos-drivers-microsemi-ea1000-oar",
|
||||
#"//drivers/oplink:onos-drivers-oplink-oar",
|
||||
"//drivers/oplink:onos-drivers-oplink-oar",
|
||||
#"//drivers/bmv2:onos-drivers-bmv2-oar",
|
||||
#"//drivers/barefoot:onos-drivers-barefoot-oar",
|
||||
#"//drivers/mellanox:onos-drivers-mellanox-oar",
|
||||
#"//drivers/hp:onos-drivers-hp-oar",
|
||||
"//drivers/hp:onos-drivers-hp-oar",
|
||||
#"//drivers/p4runtime:onos-drivers-p4runtime-oar",
|
||||
#"//drivers/gnmi:onos-drivers-gnmi-oar",
|
||||
#"//drivers/polatis/netconf:onos-drivers-polatis-netconf-oar",
|
||||
#"//drivers/polatis/openflow:onos-drivers-polatis-openflow-oar",
|
||||
"//drivers/polatis/openflow:onos-drivers-polatis-openflow-oar",
|
||||
#"//drivers/odtn-driver:onos-drivers-odtn-driver-oar",
|
||||
]
|
||||
|
||||
@ -214,7 +214,7 @@ ONOS_APPS = [
|
||||
# '//apps/tenbi:onos-apps-tenbi-oar',
|
||||
#"//protocols/restconf/server:onos-protocols-restconf-server-oar",
|
||||
#"//apps/restconf:onos-apps-restconf-oar",
|
||||
#"//apps/flowspec-api:onos-apps-flowspec-api-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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user