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/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17133 ) Change subject: util: Add helper setcap_netsys_admin() ...................................................................... util: Add helper setcap_netsys_admin() This API was already added for RemoteHost but forgot to add it too for local systems. It will be used by srsue once support for it is added. Change-Id: I734e910af90fd25bed27c24b60346064b5fde67e --- M src/osmo_gsm_tester/util.py 1 file changed, 10 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/33/17133/1 diff --git a/src/osmo_gsm_tester/util.py b/src/osmo_gsm_tester/util.py index b0ce041..de37078 100644 --- a/src/osmo_gsm_tester/util.py +++ b/src/osmo_gsm_tester/util.py @@ -100,6 +100,16 @@ proc = Process(SETCAP_NET_ADMIN_BIN, run_dir, ['sudo', SETCAP_NET_ADMIN_BIN, binary]) proc.launch_sync() +def setcap_netsys_admin(self, binary, run_dir): + ''' + This functionality requires specific setup on the host running + osmo-gsm-tester. See osmo-gsm-tester manual for more information. + ''' + from .process import Process + SETCAP_NETSYS_ADMIN_BIN = 'osmo-gsm-tester_setcap_netsys_admin.sh' + proc = Process(SETCAP_NETSYS_ADMIN_BIN, run_dir, ['sudo', SETCAP_NETSYS_ADMIN_BIN, binary]) + proc.launch_sync() + def move_iface_to_netns(ifname, netns, run_dir): ''' Moves an iface to a netns. It creates the netns if it doesn't exist. -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17133 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Change-Id: I734e910af90fd25bed27c24b60346064b5fde67e Gerrit-Change-Number: 17133 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200211/7d6f4d1c/attachment.htm>