[ONOS-4513] Slice optical-model into separate bundle
- 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/providers/openflow/device/BUCK b/providers/openflow/device/BUCK
index b498b34..4d9269c 100644
--- a/providers/openflow/device/BUCK
+++ b/providers/openflow/device/BUCK
@@ -2,6 +2,7 @@
'//lib:CORE_DEPS',
'//lib:openflowj',
'//protocols/openflow/api:onos-protocols-openflow-api',
+ '//apps/optical-model:onos-apps-optical-model',
]
TEST_DEPS = [
diff --git a/providers/openflow/device/pom.xml b/providers/openflow/device/pom.xml
index 1851643..fce4396 100644
--- a/providers/openflow/device/pom.xml
+++ b/providers/openflow/device/pom.xml
@@ -32,6 +32,12 @@
<description>ONOS OpenFlow protocol device provider</description>
<dependencies>
<dependency>
+ <groupId>org.onosproject</groupId>
+ <artifactId>onos-optical-model</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
</dependency>