VOL-4411: Fix NNI port number after recent updates to UNI port number scheme which also affected the NNI port number.
Change-Id: I36f15e290e49f5df1b7efefab30bb37bdbc6b42a
diff --git a/examples/sadis-att.json b/examples/sadis-att.json
index 69e4c21..78f1b87 100644
--- a/examples/sadis-att.json
+++ b/examples/sadis-att.json
@@ -13,7 +13,7 @@
"hardwareIdentifier": "0a:0a:0a:0a:0a:00",
"ipAddress": "0.0.0.0",
"nasId": "BBSIM_OLT_0",
- "uplinkPort": 1048576
+ "uplinkPort": 16777216
},
{
"id": "BBSM00000001-1",
diff --git a/examples/sadis-in-bbsim.json b/examples/sadis-in-bbsim.json
index 1e972ce..60635ec 100644
--- a/examples/sadis-in-bbsim.json
+++ b/examples/sadis-in-bbsim.json
@@ -14,7 +14,7 @@
"hardwareIdentifier": "0a:0a:0a:0a:0a:00",
"ipAddress": "0.0.0.0",
"nasId": "BBSIM_OLT_0",
- "uplinkPort": 1048576
+ "uplinkPort": 16777216
}
]
},
diff --git a/internal/bbsim/responders/sadis/sadis.go b/internal/bbsim/responders/sadis/sadis.go
index aac193d..784a3fa 100644
--- a/internal/bbsim/responders/sadis/sadis.go
+++ b/internal/bbsim/responders/sadis/sadis.go
@@ -175,7 +175,7 @@
HardwareIdentifier: common.Config.Olt.DeviceId,
IPAddress: ip,
NasID: olt.SerialNumber,
- UplinkPort: 1048576, // TODO currently assumes we only have one NNI port
+ UplinkPort: 16777216, // TODO currently assumes we only have one NNI port
}
return solt, nil
}