[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/fujitsu/BUCK b/drivers/fujitsu/BUCK
index 4890811..2ab5166 100644
--- a/drivers/fujitsu/BUCK
+++ b/drivers/fujitsu/BUCK
@@ -4,6 +4,7 @@
'//protocols/netconf/api:onos-protocols-netconf-api',
'//lib:org.apache.karaf.shell.console',
'//cli:onos-cli',
+ '//apps/optical-model:onos-apps-optical-model',
]
TEST_DEPS = [
@@ -30,5 +31,5 @@
url = 'http://onosproject.org',
description = 'ONOS Fujitsu device drivers application.',
included_bundles = BUNDLES,
- required_apps = [ 'org.onosproject.netconf' ],
+ required_apps = [ 'org.onosproject.netconf', 'org.onosproject.optical-model' ],
)
diff --git a/drivers/fujitsu/pom.xml b/drivers/fujitsu/pom.xml
index 323c51e..431ef9f 100644
--- a/drivers/fujitsu/pom.xml
+++ b/drivers/fujitsu/pom.xml
@@ -37,13 +37,20 @@
<onos.app.title>Fujitsu Device Drivers</onos.app.title>
<onos.app.url>http://onosproject.org</onos.app.url>
<onos.app.requires>
- org.onosproject.netconf
+ org.onosproject.netconf,
+ 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.onosproject</groupId>
<artifactId>onos-netconf-api</artifactId>
<version>${project.version}</version>
</dependency>
@@ -64,4 +71,4 @@
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>