From 9887155df454b87e58e06fe55a6f259db5c451ce Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 9 Jan 2013 19:52:14 +0100 Subject: nitb: Add ctrl command to set the BTS description --- openbsc/src/libbsc/bsc_ctrl_commands.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openbsc/src/libbsc/bsc_ctrl_commands.c b/openbsc/src/libbsc/bsc_ctrl_commands.c index 53693300f..cb2b98365 100644 --- a/openbsc/src/libbsc/bsc_ctrl_commands.c +++ b/openbsc/src/libbsc/bsc_ctrl_commands.c @@ -198,6 +198,9 @@ oom: } CTRL_CMD_DEFINE(net_mcc_mnc_apply, "mcc-mnc-apply"); +/* BTS related commands below here */ +CTRL_CMD_VTY_STRING(bts_description, "description", struct gsm_bts, description); + int bsc_base_ctrl_cmds_install(void) { int rc = 0; @@ -221,5 +224,7 @@ int bsc_base_ctrl_cmds_install(void) rc |= ctrl_cmd_install(CTRL_NODE_ROOT, &cmd_net_timer_t3122); rc |= ctrl_cmd_install(CTRL_NODE_ROOT, &cmd_net_timer_t3141); + rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_description); + return rc; } -- cgit v1.2.3