[VOL-4632] Adding NniDhcpTrapVid to support FTTB usecase
Change-Id: I3e7c4fdb7cc3872a489faa4ef1de80d51bc56887
diff --git a/internal/bbsim/api/grpc_api_server.go b/internal/bbsim/api/grpc_api_server.go
index 2500cdd..20fc525 100644
--- a/internal/bbsim/api/grpc_api_server.go
+++ b/internal/bbsim/api/grpc_api_server.go
@@ -117,13 +117,14 @@
}
res := bbsim.Olt{
- ID: int32(olt.ID),
- SerialNumber: olt.SerialNumber,
- OperState: olt.OperState.Current(),
- InternalState: olt.InternalState.Current(),
- IP: oltAddress,
- NNIPorts: nnis,
- PONPorts: pons,
+ ID: int32(olt.ID),
+ SerialNumber: olt.SerialNumber,
+ OperState: olt.OperState.Current(),
+ InternalState: olt.InternalState.Current(),
+ IP: oltAddress,
+ NNIPorts: nnis,
+ PONPorts: pons,
+ NniDhcpTrapVid: int32(olt.NniDhcpTrapVid),
}
return &res, nil
}