summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-03-10 23:45:20 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-06 23:05:13 +0100
commitd76eb65a8e4efd16e6c719de158d15982bdda28f (patch)
tree53782faf669a8a27e390c7e16b0e6c75f1b82624
parentcee930e3f5426520627fb86f870835b09fa030a4 (diff)
DUMMY: Add dummy commands for managing a subscriber
-rw-r--r--openbsc/src/osmo-nitb/ctrl_commands_dummy.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/openbsc/src/osmo-nitb/ctrl_commands_dummy.c b/openbsc/src/osmo-nitb/ctrl_commands_dummy.c
index dd466ca22..75093158c 100644
--- a/openbsc/src/osmo-nitb/ctrl_commands_dummy.c
+++ b/openbsc/src/osmo-nitb/ctrl_commands_dummy.c
@@ -45,11 +45,14 @@ int dummy_verify(struct ctrl_cmd *cmd, const char *value, void *data)
/* ROOT related commands below here */
DUMMY_COMMAND(net_trap_meas_enable, "trap-measurement-reports-enable");
DUMMY_COMMAND(net_silent_call, "silent-call-start");
+DUMMY_COMMAND(net_sub_query, "subscriber-show-by-imsi");
+DUMMY_COMMAND(net_sub_auth, "subscriber-modify-by-imsi");
+DUMMY_COMMAND(net_sub_add, "subscriber-add-by-imsi");
/* BTS related commands below here */
DUMMY_COMMAND(bts_drop, "drop");
DUMMY_COMMAND(bts_rflock, "rflock");
-DUMMY_COMMAND(bts_handover_imsi, "handover-subscriber-imsi");
+DUMMY_COMMAND(bts_handover_imsi, "subscriber-handover-by-imsi");
/* TRX related commands below here */
DUMMY_COMMAND(trx_drop, "drop");
@@ -60,6 +63,9 @@ int bsc_ctrl_cmds_install_dummies(void)
rc |= ctrl_cmd_install(CTRL_NODE_ROOT, &cmd_net_trap_meas_enable);
rc |= ctrl_cmd_install(CTRL_NODE_ROOT, &cmd_net_silent_call);
+ rc |= ctrl_cmd_install(CTRL_NODE_ROOT, &cmd_net_sub_query);
+ rc |= ctrl_cmd_install(CTRL_NODE_ROOT, &cmd_net_sub_auth);
+ rc |= ctrl_cmd_install(CTRL_NODE_ROOT, &cmd_net_sub_add);
rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_drop);
rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_rflock);