func (testRunner *TestRunner) GenULTraffic(imsi string, volume *string) error {
	fmt.Printf("************************* Generating Traffic for UE with IMSI: %s\n", imsi)
	req := &cwfprotos.GenTrafficRequest{
		Imsi: imsi,
	}
	if volume != nil {
		req.Volume = &wrappers.StringValue{Value: *volume}
	}
	return uesim.GenTraffic(req)
}
// GenULTraffic simulates the UE sending traffic through the CWAG to the Internet
// by running an iperf3 client on the UE simulator and an iperf3 server on the
// Magma traffic server. volume, if provided, specifies the volume of data
// generated and it should be in the form of "1024K", "2048M" etc
GenULTraffic simulates the UE sending traffic through the CWAG to the Internet
by running an iperf3 client on the UE simulator and an iperf3 server on the
Magma traffic server. volume, if provided, specifies the volume of data
generated and it should be in the form of "1024K", "2048M" etc
// GenULTraffic simulates the UE sending traffic through the CWAG to the Internet // by running an iperf3 client on the UE simulator and an iperf3 server on the // Magma traffic server . volume if provided specifies the volume of data // generated and it should be in the form of " 1024K " " 2048M " etc
func (testRunner *TestRunner) GenULTraffic(imsi string, volume *string) error {
	fmt.Printf("************************* Generating Traffic for UE with IMSI: %s\n", imsi)
	req := &cwfprotos.GenTrafficRequest{
		Imsi: imsi,
	}
	if volume != nil {
		req.Volume = &wrappers.StringValue{Value: *volume}
	}
	return uesim.GenTraffic(req)
}
func ( testRunner * TestRunner ) GenULTraffic ( imsi string , volume * string ) error { fmt . Printf ( " \n " , imsi ) req := & cwfprotos . GenTrafficRequest { Imsi : imsi , } if volume != nil { req . Volume = & wrappers . StringValue { Value : * volume } } return uesim . GenTraffic ( req ) }
GenULTraffic simulates the UE sending traffic through the CWAG to the Internet
by running an iperf3 client on the UE simulator and an iperf3 server on the
Magma traffic server.
GenULTraffic simulates the UE sending traffic through the CWAG to the Internet by running an iperf3 client on the UE simulator and an iperf3 server on the Magma traffic server .