From 24e85d155cf8b97e9baa50dc9c9ea618a95210cd Mon Sep 17 00:00:00 2001 From: Charles Chan Date: Mon, 6 Aug 2018 18:15:41 -0700 Subject: [PATCH] Add Bazel support for host probing provider Change-Id: Idfeabbbea8b7b7e6f7d14dfbc73e07c40de2e10f --- modules.bzl | 1 + providers/hostprobing/BUILD | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 providers/hostprobing/BUILD diff --git a/modules.bzl b/modules.bzl index 4ced3f0991..d795ebaba6 100644 --- a/modules.bzl +++ b/modules.bzl @@ -120,6 +120,7 @@ ONOS_PROVIDERS = [ "//providers/bgp:onos-providers-bgp-oar", "//providers/bgpcep:onos-providers-bgpcep-oar", "//providers/host:onos-providers-host-oar", + "//providers/hostprobing:onos-providers-hostprobing-oar", "//providers/lldp:onos-providers-lldp-oar", "//providers/netcfghost:onos-providers-netcfghost-oar", "//providers/netcfglinks:onos-providers-netcfglinks-oar", diff --git a/providers/hostprobing/BUILD b/providers/hostprobing/BUILD new file mode 100644 index 0000000000..e1b1003f37 --- /dev/null +++ b/providers/hostprobing/BUILD @@ -0,0 +1,20 @@ +COMPILE_DEPS = CORE_DEPS + [ + "//incubator/api:onos-incubator-api", +] + +TEST_DEPS = TEST_ADAPTERS + [ + "//utils/osgi:onlab-osgi-tests", +] + +osgi_jar_with_tests ( + deps = COMPILE_DEPS, + test_deps = TEST_DEPS, +) + +onos_app ( + app_name = "org.onosproject.hostprobingprovider", + title = "Host Probing Provider", + category = "Provider", + url = "http://onosproject.org", + description = "Provides host probing mechanism that discovers or verifies the existence of a host at specific location", +)