ONOS-7629 - minimal support for Ciena 51xx devices
Change-Id: I19408f558c1766686b8e567ae27e3077db782cf3
diff --git a/drivers/ciena/c5162/BUCK b/drivers/ciena/c5162/BUCK
new file mode 100644
index 0000000..b880a8a
--- /dev/null
+++ b/drivers/ciena/c5162/BUCK
@@ -0,0 +1,46 @@
+COMPILE_DEPS = [
+ '//lib:CORE_DEPS',
+ '//lib:JACKSON',
+ '//lib:javax.ws.rs-api',
+ '//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 = [
+ '//lib:TEST_ADAPTERS',
+ '//core/api:onos-api-tests',
+ '//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 (
+ deps = COMPILE_DEPS,
+ test_deps = TEST_DEPS,
+ resources_root = 'src/main/resources',
+ resources = glob(['src/main/resources/**']),
+)
+
+onos_app (
+ app_name = 'org.onosproject.drivers.ciena.c5162',
+ title = 'Ciena 5162 Drivers',
+ category = 'Drivers',
+ url = 'http://onosproject.org',
+ description = 'Adds support for Ciena 5162 devices.',
+ included_bundles = BUNDLES,
+ required_apps = REQUIRED_APPS,
+)