VOL-3521 : scale: intermittent issue - voltha complains that different meter is in use for subscriber
- Process incoming flows on a per ONU basis using channels per ONU
Change-Id: I0f375d90d786a0135bb51ce18036e5297dc7297b
diff --git a/pkg/mocks/mockTechprofile.go b/pkg/mocks/mockTechprofile.go
index 367f5e3..548a6fd 100644
--- a/pkg/mocks/mockTechprofile.go
+++ b/pkg/mocks/mockTechprofile.go
@@ -53,13 +53,37 @@
if techProfiletblID == 64 {
return &tp.TechProfile{
- Name: "mock-tech-profile",
- SubscriberIdentifier: "257",
- ProfileType: "mock",
- Version: 0,
- NumGemPorts: 2,
- UpstreamGemPortAttributeList: nil,
- DownstreamGemPortAttributeList: nil,
+ Name: "mock-tech-profile",
+ SubscriberIdentifier: "257",
+ ProfileType: "mock",
+ Version: 0,
+ NumGemPorts: 1,
+ UsScheduler: tp.IScheduler{
+ AllocID: 1,
+ Direction: "upstream",
+ AdditionalBw: "None",
+ Priority: 0,
+ Weight: 0,
+ QSchedPolicy: "",
+ },
+ DsScheduler: tp.IScheduler{
+ AllocID: 1,
+ Direction: "downstream",
+ AdditionalBw: "None",
+ Priority: 0,
+ Weight: 0,
+ QSchedPolicy: "",
+ },
+ UpstreamGemPortAttributeList: []tp.IGemPortAttribute{{
+ GemportID: 1,
+ PbitMap: "0b11111111",
+ },
+ },
+ DownstreamGemPortAttributeList: []tp.IGemPortAttribute{{
+ GemportID: 1,
+ PbitMap: "0b11111111",
+ },
+ },
}, nil
} else if techProfiletblID == 65 {
return &tp.EponProfile{