Support for subscription action type Policy
Change-Id: I91c0de12dc84dc51b040647c25c85d8b8d2a8130
Signed-off-by: Anssi Mannila <anssi.mannila@nokia.com>
diff --git a/pkg/teststube2ap/stubE2.go b/pkg/teststube2ap/stubE2.go
index c7c09ab..dbd518b 100644
--- a/pkg/teststube2ap/stubE2.go
+++ b/pkg/teststube2ap/stubE2.go
@@ -116,15 +116,15 @@
p.Req.EventTriggerDefinition.TypeOfMessage = e2ap.E2AP_InitiatingMessage
p.Req.ActionSetups = make([]e2ap.ActionToBeSetupItem, 1)
+
p.Req.ActionSetups[0].ActionId = 0
p.Req.ActionSetups[0].ActionType = e2ap.E2AP_ActionTypeReport
- p.Req.ActionSetups[0].ActionDefinition.Present = false
+ p.Req.ActionSetups[0].ActionDefinition.Present = false // Not supported
//p.Req.ActionSetups[index].ActionDefinition.StyleId = 255
//p.Req.ActionSetups[index].ActionDefinition.ParamId = 222
p.Req.ActionSetups[0].SubsequentAction.Present = true
p.Req.ActionSetups[0].SubsequentAction.Type = e2ap.E2AP_SubSeqActionTypeContinue
p.Req.ActionSetups[0].SubsequentAction.TimetoWait = e2ap.E2AP_TimeToWaitZero
-
}
//-----------------------------------------------------------------------------