suites/4g: Wait for IP addr received before trying to use the link

Otherwise processes using the link like "ping" or "iperf3" may fail
because there's still no IP address assigned.

Change-Id: I28137f10a19db01fe90b24830a60342a448d1e92
This commit is contained in:
Pau Espin 2020-06-11 17:12:26 +02:00
parent a4bb6d315b
commit 57e37f95e1
6 changed files with 6 additions and 6 deletions

View File

@ -46,7 +46,7 @@ iperf3srv.start()
proc = iperf3cli.prepare_test_proc(iperf3cli.DIR_UL, ue.netns(), duration + 30)
print('waiting for UE to attach...')
wait(ue.is_rrc_connected)
wait(ue.is_registered)
print('UE is attached')
rfemu_cell1 = enb.get_rfemu(0)

View File

@ -26,7 +26,7 @@ iperf3srv.start()
proc = iperf3cli.prepare_test_proc(iperf3cli.DIR_DL, ue.netns(), bitrate=max_rate)
print('waiting for UE to attach...')
wait(ue.is_rrc_connected)
wait(ue.is_registered)
print('UE is attached')
print("Running iperf3 client to %s through %s" % (str(iperf3cli), ue.netns()))

View File

@ -26,7 +26,7 @@ iperf3srv.start()
proc = iperf3cli.prepare_test_proc(iperf3cli.DIR_UL, ue.netns(), bitrate=max_rate)
print('waiting for UE to attach...')
wait(ue.is_rrc_connected)
wait(ue.is_registered)
print('UE is attached')
print("Running iperf3 client to %s through %s" % (str(iperf3cli), ue.netns()))

View File

@ -16,7 +16,7 @@ print('ENB is connected to EPC')
ue.connect(enb)
print('waiting for UE to attach...')
wait(ue.is_rrc_connected)
wait(ue.is_registered)
print('UE is attached')
proc = ue.run_netns_wait('ping', ('ping', '-c', '10', epc.tun_addr()))

View File

@ -16,7 +16,7 @@ print('ENB is connected to EPC')
ue.connect(enb)
print('waiting for UE to attach...')
wait(ue.is_rrc_connected)
wait(ue.is_registered)
print('UE is RRC connected')
print('waiting until RRC connection gets released...')

View File

@ -16,7 +16,7 @@ print('ENB is connected to EPC')
ue.connect(enb)
print('waiting for UE to attach...')
wait(ue.is_rrc_connected)
wait(ue.is_registered)
print('UE is RRC connected')
print('waiting until RRC connection gets released...')