[SEBA-119] Sending AccessDeviceEvent for disabled port
Change-Id: I7129c8910909545d91837c541210a024a64426a9
diff --git a/app/pom.xml b/app/pom.xml
index 0c895fe..3a93474 100644
--- a/app/pom.xml
+++ b/app/pom.xml
@@ -57,12 +57,6 @@
<dependency>
<groupId>org.opencord</groupId>
- <artifactId>olt-kafka</artifactId>
- <version>${olt.api.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.opencord</groupId>
<artifactId>sadis-api</artifactId>
<version>${sadis.api.version}</version>
</dependency>
diff --git a/app/src/main/java/org/opencord/olt/impl/Olt.java b/app/src/main/java/org/opencord/olt/impl/Olt.java
index a81ac75..19a4822 100644
--- a/app/src/main/java/org/opencord/olt/impl/Olt.java
+++ b/app/src/main/java/org/opencord/olt/impl/Olt.java
@@ -728,6 +728,7 @@
post(new AccessDeviceEvent(AccessDeviceEvent.Type.UNI_ADDED, devId, event.port()));
} else {
processFilteringObjectives(devId, event.port().number(), false);
+ post(new AccessDeviceEvent(AccessDeviceEvent.Type.UNI_REMOVED, devId, event.port()));
}
break;
case DEVICE_ADDED: