SEBA-927 implemenation of controlled PON and ONU activation
updated controlledActivation to enum
Change-Id: Ie505c491755d3890a2ea4a86a9c74f17a5eab484
diff --git a/internal/bbsim/devices/onu_test_helpers.go b/internal/bbsim/devices/onu_test_helpers.go
index cba8db6..cb598de 100644
--- a/internal/bbsim/devices/onu_test_helpers.go
+++ b/internal/bbsim/devices/onu_test_helpers.go
@@ -127,9 +127,10 @@
ID: 0,
}
pon := PonPort{
- ID: 1,
+ ID: 1,
+ Olt: &olt,
}
- onu := CreateONU(&olt, pon, 1, 900, 900, false, false, true)
+ onu := CreateONU(&olt, pon, 1, 900, 900, false, false, time.Duration(1 * time.Millisecond),true)
// NOTE we need this in order to create the OnuChannel
onu.InternalState.Event("initialize")
onu.DiscoveryRetryDelay = 100 * time.Millisecond