dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/39862?usp=email )
Change subject: saip-tool: allow removing of profile elements by type
......................................................................
saip-tool: allow removing of profile elements by type
At the moment it is only possible to remove profile elements by their identification
number. However, there may be cases where we want to remove all profile elements of
a certain type at once (e.g. when removing all applications).
Change-Id: I92f9f9d5b4382242963f1b3ded814a0d013c4808
---
M contrib/saip-tool.py
1 file changed, 5 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/62/39862/1
diff --git a/contrib/saip-tool.py b/contrib/saip-tool.py
index 05b828b..1ffc0e2 100755
--- a/contrib/saip-tool.py
+++ b/contrib/saip-tool.py
@@ -53,7 +53,8 @@
parser_rpe = subparsers.add_parser('remove-pe', help='Remove specified PEs from PE-Sequence')
parser_rpe.add_argument('--output-file', required=True, help='Output file name')
-parser_rpe.add_argument('--identification', type=int, action='append', help='Remove PEs matching specified identification')
+parser_rpe.add_argument('--identification', default=[], type=int, action='append', help='Remove PEs matching specified identification')
+parser_rpe.add_argument('--type', default=[], action='append', help='Remove PEs matching specified type')
parser_rn = subparsers.add_parser('remove-naa', help='Remove speciifed NAAs from PE-Sequence')
parser_rn.add_argument('--output-file', required=True, help='Output file name')
@@ -180,6 +181,9 @@
if identification in opts.identification:
print("Removing PE %s (id=%u) from Sequence..." % (pe, identification))
continue
+ if pe.type in opts.type:
+ print("Removing PE %s (type=%s) from Sequence..." % (pe, pe.type))
+ continue
new_pe_list.append(pe)
pes.pe_list = new_pe_list
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/39862?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I92f9f9d5b4382242963f1b3ded814a0d013c4808
Gerrit-Change-Number: 39862
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/upf-benchmark/+/39858?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
Change subject: doc: eupf_setup: Add missing step to install newer golang in debian12
......................................................................
doc: eupf_setup: Add missing step to install newer golang in debian12
eupf requires newer golang than the one available currently in debian
12.
Change-Id: I8ad33780f76895bd919a25e63874d1966b17f4ee
---
M doc/manuals/chapters/eupf_setup.adoc
1 file changed, 22 insertions(+), 6 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/upf-benchmark refs/changes/58/39858/2
--
To view, visit https://gerrit.osmocom.org/c/upf-benchmark/+/39858?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: upf-benchmark
Gerrit-Branch: master
Gerrit-Change-Id: I8ad33780f76895bd919a25e63874d1966b17f4ee
Gerrit-Change-Number: 39858
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
osmith has submitted this change. ( https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/39856?usp=email )
Change subject: examples/*.config: change diameter_ip to 127.0.0.8
......................................................................
examples/*.config: change diameter_ip to 127.0.0.8
Change the default diameter_ip from 127.0.0.4 to 127.0.0.8. This is the
IP that open5gs MME expects the HSS to be running at, so it will work
out of the box. With 127.0.0.4 we get a conflict with the SMF.
The default has already been changed like this in 9ff2e8 ("diameter:
Change default bind IP to 127.0.0.8"). But only for the case when
running without a config - in the default config it was still set to
127.0.0.4.
Related: SYS#7413
Related: https://github.com/open5gs/open5gs/blob/787e55550183a661943d84ab67239c92f0b…
Change-Id: I252f96a3e8ead8fbf1715b14746b227e9edc62c9
---
M examples/dev.config
M examples/sys.config
2 files changed, 2 insertions(+), 2 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
jolly: Looks good to me, but someone else must approve
diff --git a/examples/dev.config b/examples/dev.config
index 3951069..979e41c 100644
--- a/examples/dev.config
+++ b/examples/dev.config
@@ -2,7 +2,7 @@
{hlr_ip, "127.0.0.1"},
{hlr_port, 4222},
- {diameter_ip, "127.0.0.4"},
+ {diameter_ip, "127.0.0.8"},
{diameter_port, 3868},
{diameter_proto, sctp},
diff --git a/examples/sys.config b/examples/sys.config
index aee90cb..333e6fb 100644
--- a/examples/sys.config
+++ b/examples/sys.config
@@ -2,7 +2,7 @@
{hlr_ip, "127.0.0.1"},
{hlr_port, 4222},
- {diameter_ip, "127.0.0.4"},
+ {diameter_ip, "127.0.0.8"},
{diameter_port, 3868},
{diameter_proto, sctp},
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/39856?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: erlang/osmo_dia2gsup
Gerrit-Branch: master
Gerrit-Change-Id: I252f96a3e8ead8fbf1715b14746b227e9edc62c9
Gerrit-Change-Number: 39856
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Attention is currently required from: osmith.
fixeria has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/39856?usp=email )
The change is no longer submittable: Code-Review is unsatisfied now.
Change subject: examples/*.config: change diameter_ip to 127.0.0.8
......................................................................
Patch Set 1: -Code-Review
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/39856?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: erlang/osmo_dia2gsup
Gerrit-Branch: master
Gerrit-Change-Id: I252f96a3e8ead8fbf1715b14746b227e9edc62c9
Gerrit-Change-Number: 39856
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 27 Mar 2025 10:52:55 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes