Change in osmo-ttcn3-hacks[master]: NS_Tests: reset the weights of all udp binds

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Sun Jun 6 21:25:15 UTC 2021


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24579 )


Change subject: NS_Tests: reset the weights of all udp binds
......................................................................

NS_Tests: reset the weights of all udp binds

Some test cases change the weight of the binds. Ensure all test cases
starts with the same configuration.

Change-Id: Iae2ba130b2f7d29ec8b417f07d0bef87f74ce5a4
---
M ns/NS_Tests.ttcn
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/79/24579/1

diff --git a/ns/NS_Tests.ttcn b/ns/NS_Tests.ttcn
index 58b2dda..3971f0d 100644
--- a/ns/NS_Tests.ttcn
+++ b/ns/NS_Tests.ttcn
@@ -73,6 +73,8 @@
 	f_vty_transceive(NSVTY, "enable");
 	f_vty_transceive(NSVTY, "nsvc nsei " & int2str(mp_nsconfig.nsei) & " force-unconfigured");
 	f_vty_config2(NSVTY, {"ns", "nse " & int2str(mp_nsconfig.nsei)}, "no ip-sns-bind local2");
+	f_vty_config2(NSVTY, {"ns", "bind udp local"}, "ip-sns signalling-weight 1 data-weight 1");
+	f_vty_config2(NSVTY, {"ns", "bind udp local2"}, "ip-sns signalling-weight 1 data-weight 1");
 }
 
 /* ensure no matching message is received within 'tout' */

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24579
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Iae2ba130b2f7d29ec8b417f07d0bef87f74ce5a4
Gerrit-Change-Number: 24579
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210606/44e87b13/attachment.htm>


More information about the gerrit-log mailing list