diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-01-09 19:52:14 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-04-22 09:09:32 +0200 |
commit | 9d8248e17568d20a47d6e567457dd62eb9016624 (patch) | |
tree | 6e9d6a36ddc90d30e90874d5a57c063fe643c744 | |
parent | 4f5014fffb92a1ef4edf15b3068d531d91bbe502 (diff) |
nitb: Add ctrl command to set the BTS description
-rw-r--r-- | openbsc/src/osmo-nitb/ctrl_commands.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/src/osmo-nitb/ctrl_commands.c b/openbsc/src/osmo-nitb/ctrl_commands.c index 6ba9bee0e..e1e9a95aa 100644 --- a/openbsc/src/osmo-nitb/ctrl_commands.c +++ b/openbsc/src/osmo-nitb/ctrl_commands.c @@ -140,6 +140,10 @@ static int set_net_apply_config(struct ctrl_cmd *cmd, void *data) CTRL_CMD_DEFINE(net_apply_config, "apply-configuration"); +/* BTS related commands below here */ +CTRL_CMD_VTY_STRING(bts_description, "description", struct gsm_bts, description); + + int bsc_ctrl_cmds_install(void) { int rc = 0; @@ -162,5 +166,7 @@ int bsc_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; } |