SEBA-594: added missing OMCI message handling for Tech Profiles in BBSim
Change-Id: I330f547580901a3ead3f59badb6a44535ab9bf93
diff --git a/omci_state.go b/omci_state.go
index 23b0121..4050b22 100644
--- a/omci_state.go
+++ b/omci_state.go
@@ -21,13 +21,14 @@
)
type OnuOmciState struct {
- gemPortId uint16
- mibUploadCtr uint16
- extraMibUploadCtr uint16 //this is only for debug purposes, will be removed in the future
- uniGInstance uint8
- tcontInstance uint8
- pptpInstance uint8
- state istate
+ gemPortId uint16
+ mibUploadCtr uint16
+ extraMibUploadCtr uint16 //this is only for debug purposes, will be removed in the future
+ uniGInstance uint8
+ tcontInstance uint8
+ pptpInstance uint8
+ priorQInstance uint8 //To assign incrementing value to PQ instance-Id
+ state istate
}
type istate int
@@ -43,7 +44,7 @@
func NewOnuOmciState() *OnuOmciState {
return &OnuOmciState{gemPortId: 0, mibUploadCtr: 0, uniGInstance: 1, tcontInstance: 0, pptpInstance: 1}
}
-func (s *OnuOmciState) ResetOnuOmciState(){
+func (s *OnuOmciState) ResetOnuOmciState() {
s.mibUploadCtr = 0
s.extraMibUploadCtr = 0
s.gemPortId = 0