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/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/16954 )
Change subject: VTY: mark 'subscriber create imsi' command as deprecated
......................................................................
VTY: mark 'subscriber create imsi' command as deprecated
Neither it should appear in the interactive VTY nor in documentation.
Change-Id: I208faab69a40948af5d081edbeaf75f586dfb2e4
---
M doc/manuals/vty/msc_vty_reference.xml
M src/libmsc/msc_vty.c
2 files changed, 6 insertions(+), 23 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/54/16954/1
diff --git a/doc/manuals/vty/msc_vty_reference.xml b/doc/manuals/vty/msc_vty_reference.xml
index d5273d4..09ad67d 100644
--- a/doc/manuals/vty/msc_vty_reference.xml
+++ b/doc/manuals/vty/msc_vty_reference.xml
@@ -697,14 +697,6 @@
<param name='expired' doc='Delete all expired SMS' />
</params>
</command>
- <command id='subscriber create imsi ID'>
- <params>
- <param name='subscriber' doc='Operations on a Subscriber' />
- <param name='create' doc='Create new subscriber' />
- <param name='imsi' doc='Identify the subscriber by his IMSI' />
- <param name='ID' doc='Identifier for the subscriber' />
- </params>
- </command>
<command id='subscriber (msisdn|extension|imsi|tmsi|id) ID sms sender (msisdn|extension|imsi|tmsi|id) SENDER_ID send .LINE'>
<params>
<param name='subscriber' doc='Operations on a Subscriber' />
@@ -1550,14 +1542,6 @@
<param name='expired' doc='Delete all expired SMS' />
</params>
</command>
- <command id='subscriber create imsi ID'>
- <params>
- <param name='subscriber' doc='Operations on a Subscriber' />
- <param name='create' doc='Create new subscriber' />
- <param name='imsi' doc='Identify the subscriber by his IMSI' />
- <param name='ID' doc='Identifier for the subscriber' />
- </params>
- </command>
<command id='subscriber (msisdn|extension|imsi|tmsi|id) ID sms sender (msisdn|extension|imsi|tmsi|id) SENDER_ID send .LINE'>
<params>
<param name='subscriber' doc='Operations on a Subscriber' />
diff --git a/src/libmsc/msc_vty.c b/src/libmsc/msc_vty.c
index e8fff0b..7be74d0 100644
--- a/src/libmsc/msc_vty.c
+++ b/src/libmsc/msc_vty.c
@@ -1380,13 +1380,12 @@
return CMD_SUCCESS;
}
-DEFUN(subscriber_create,
- subscriber_create_cmd,
- "subscriber create imsi ID",
- "Operations on a Subscriber\n" \
- "Create new subscriber\n" \
- "Identify the subscriber by his IMSI\n" \
- "Identifier for the subscriber\n")
+DEFUN_DEPRECATED(subscriber_create, subscriber_create_cmd,
+ "subscriber create imsi ID",
+ "Operations on a Subscriber\n"
+ "Create new subscriber\n"
+ "Identify the subscriber by his IMSI\n"
+ "Identifier for the subscriber\n")
{
vty_out(vty, "%% 'subscriber create' now needs to be done at osmo-hlr%s",
VTY_NEWLINE);
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/16954
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I208faab69a40948af5d081edbeaf75f586dfb2e4
Gerrit-Change-Number: 16954
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200120/7e001a47/attachment.htm>