VOL-535: Introduce field in Sadis configuration for the uplink port of the OLT
Have replaced the older port field (it was not used by any app, can be re-introduced later if needed)
with uplinkPort
Change-Id: I48366557ff00e02dacc0af8685867a325d11dd83
diff --git a/app/src/test/java/org/opencord/sadis/impl/SadisManagerTest.java b/app/src/test/java/org/opencord/sadis/impl/SadisManagerTest.java
index 693b30e..4111995 100644
--- a/app/src/test/java/org/opencord/sadis/impl/SadisManagerTest.java
+++ b/app/src/test/java/org/opencord/sadis/impl/SadisManagerTest.java
@@ -211,7 +211,7 @@
}
info.setNasPortId(nasPortId);
if (port != -1) {
- info.setPort(port);
+ info.setUplinkPort(port);
}
if (slot != -1) {
info.setSlot(slot);
@@ -270,7 +270,7 @@
} else if (!this.ipAddress().equals(other.ipAddress())) {
return false;
}
- if (this.port() != other.port()) {
+ if (this.uplinkPort() != other.uplinkPort()) {
return false;
}
if (this.sTag() == null) {