[SEBA-912] IGMPv3 Support in bbsim
Change-Id: I36bad3213dcff2f910403008467968da16c6e08a
diff --git a/internal/bbsimctl/commands/onu.go b/internal/bbsimctl/commands/onu.go
index 515ba07..fec47ed 100644
--- a/internal/bbsimctl/commands/onu.go
+++ b/internal/bbsimctl/commands/onu.go
@@ -39,6 +39,7 @@
const IgmpJoinKey string = "join"
const IgmpLeaveKey string = "leave"
+const IgmpJoinKeyV3 string = "joinv3"
type ONUList struct{}
@@ -257,7 +258,9 @@
subActionVal = pb.SubActionTypes_JOIN
} else if string(options.Args.SubAction) == IgmpLeaveKey {
subActionVal = pb.SubActionTypes_LEAVE
- }
+ } else if string(options.Args.SubAction) == IgmpJoinKeyV3 {
+ subActionVal = pb.SubActionTypes_JOINV3
+ }
igmpReq := pb.IgmpRequest{
OnuReq: &req,