Change in libosmocore[master]: gprs_ns2: add gprs_ns2_vty_ignore_legacy() to support old configuration

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
Mon Feb 1 02:59:43 UTC 2021


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/22587 )


Change subject: gprs_ns2: add gprs_ns2_vty_ignore_legacy() to support old configuration
......................................................................

gprs_ns2: add gprs_ns2_vty_ignore_legacy() to support old configuration

A correct configured PCU wrote the following vty configuration to the file

ns
 encapsulation udp use-reset-block-unblock enabled
 encapsulation framerelay-gre enabled 0

Even there shouldn't be any NS configuration part of PCU configuration. To ignore those configuration
call gprs_ns2_vty_ignore_legacy(). gprs_ns2_vty_ignore_legacy will only register dummy and deprecated
vty calls.

Change-Id: I0a4fc0637f475116273a98b104c108e3c5f8ba8f
---
M src/gb/Makefile.am
M src/gb/libosmogb.map
2 files changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/87/22587/1

diff --git a/src/gb/Makefile.am b/src/gb/Makefile.am
index d0db814..7392948 100644
--- a/src/gb/Makefile.am
+++ b/src/gb/Makefile.am
@@ -25,7 +25,7 @@
 		  gprs_bssgp.c gprs_bssgp_util.c gprs_bssgp_vty.c gprs_bssgp_rim.c \
 		  gprs_bssgp_bss.c \
 		  gprs_ns2.c gprs_ns2_udp.c gprs_ns2_frgre.c gprs_ns2_fr.c gprs_ns2_vc_fsm.c gprs_ns2_sns.c \
-		  gprs_ns2_message.c gprs_ns2_vty.c \
+		  gprs_ns2_message.c gprs_ns2_vty.c gprs_ns2_vty_legacy.c \
 		  gprs_bssgp2.c bssgp_bvc_fsm.c \
 		  common_vty.c frame_relay.c
 
diff --git a/src/gb/libosmogb.map b/src/gb/libosmogb.map
index a3171d0..ff6d45c 100644
--- a/src/gb/libosmogb.map
+++ b/src/gb/libosmogb.map
@@ -186,6 +186,7 @@
 gprs_ns2_sns_del_endpoint;
 gprs_ns2_vty_init;
 gprs_ns2_vty_init_reduced;
+gprs_ns2_vty_ignore_legacy;
 
 gprs_nsvc_create2;
 gprs_nsvc_delete;

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/22587
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I0a4fc0637f475116273a98b104c108e3c5f8ba8f
Gerrit-Change-Number: 22587
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/20210201/10b79ac5/attachment.htm>


More information about the gerrit-log mailing list