[ONOS-4513] Slice optical-model into separate bundle (1/3)
- net and cli bundle has dependency to optical-model bundle,
which should be removed in the longer run. (ONOS-4626)
Change-Id: Ieff43ef2002ee21f4578a6e2a729cd35ce3eae3d
diff --git a/drivers/lumentum/BUCK b/drivers/lumentum/BUCK
index 0025279..0feb6ee 100644
--- a/drivers/lumentum/BUCK
+++ b/drivers/lumentum/BUCK
@@ -4,6 +4,7 @@
'//drivers/utilities:onos-drivers-utilities',
'//protocols/snmp/api:onos-protocols-snmp-api',
'//incubator/api:onos-incubator-api',
+ '//apps/optical-model:onos-apps-optical-model',
]
TEST_DEPS = [
@@ -24,5 +25,5 @@
category = 'Drivers',
url = 'http://onosproject.org',
description = 'ONOS Lumentum Device Drivers application.',
- required_apps = [ 'org.onosproject.snmp', 'org.onosproject.faultmanagement' ],
+ required_apps = [ 'org.onosproject.snmp', 'org.onosproject.faultmanagement', 'org.onosproject.optical-model' ],
)
diff --git a/drivers/lumentum/pom.xml b/drivers/lumentum/pom.xml
index 22b0ea6..9a2c4eb 100644
--- a/drivers/lumentum/pom.xml
+++ b/drivers/lumentum/pom.xml
@@ -37,12 +37,19 @@
<onos.app.url>http://onosproject.org</onos.app.url>
<onos.app.requires>
org.onosproject.snmp,
- org.onosproject.faultmanagement
+ org.onosproject.faultmanagement,
+ org.onosproject.optical-model
</onos.app.requires>
</properties>
<dependencies>
<dependency>
+ <groupId>org.onosproject</groupId>
+ <artifactId>onos-optical-model</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.snmp4j</artifactId>
<version>2.3.4_1</version>
@@ -53,4 +60,4 @@
<version>${project.version}</version>
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>