[VOL-2778] Introducing Service definition in order to support the TT workflow
Change-Id: Ib171502e8940b5d0b219620a4503f7095d376d7a
diff --git a/internal/bbsim/api/onus_handler.go b/internal/bbsim/api/onus_handler.go
index 3c62f48..fe42b35 100644
--- a/internal/bbsim/api/onus_handler.go
+++ b/internal/bbsim/api/onus_handler.go
@@ -41,10 +41,8 @@
OperState: o.OperState.Current(),
InternalState: o.InternalState.Current(),
PonPortID: int32(o.PonPortID),
- STag: int32(o.STag),
- CTag: int32(o.CTag),
- HwAddress: o.HwAddress.String(),
PortNo: int32(o.PortNo),
+ Services: convertBBsimServicesToProtoServices(o.Services),
}
onus.Items = append(onus.Items, &onu)
}
@@ -67,10 +65,8 @@
OperState: onu.OperState.Current(),
InternalState: onu.InternalState.Current(),
PonPortID: int32(onu.PonPortID),
- STag: int32(onu.STag),
- CTag: int32(onu.CTag),
- HwAddress: onu.HwAddress.String(),
PortNo: int32(onu.PortNo),
+ Services: convertBBsimServicesToProtoServices(onu.Services),
}
return &res, nil
}