neels has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/31606 )


Change subject: bsc_vty.c: s/bsc/msc for commands under msc node
......................................................................

bsc_vty.c: s/bsc/msc for commands under msc node

Change-Id: Id91a82ca8e2eb91b52836e024ccf925245886ae6
---
M src/osmo-bsc/bsc_vty.c
1 file changed, 27 insertions(+), 18 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/06/31606/1

diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c
index 0472a93..ce4f654 100644
--- a/src/osmo-bsc/bsc_vty.c
+++ b/src/osmo-bsc/bsc_vty.c
@@ -2640,8 +2640,8 @@
        return CMD_SUCCESS;
 }

-DEFUN_ATTR(cfg_net_bsc_ncc,
-          cfg_net_bsc_ncc_cmd,
+DEFUN_ATTR(cfg_net_msc_ncc,
+          cfg_net_msc_ncc_cmd,
           "core-mobile-network-code <1-999>",
           "Use this network code for the core network\n" "MNC value\n",
           CMD_ATTR_IMMEDIATE)
@@ -2659,8 +2659,8 @@
        return CMD_SUCCESS;
 }

-DEFUN_ATTR(cfg_net_bsc_mcc,
-          cfg_net_bsc_mcc_cmd,
+DEFUN_ATTR(cfg_net_msc_mcc,
+          cfg_net_msc_mcc_cmd,
           "core-mobile-country-code <1-999>",
           "Use this country code for the core network\n" "MCC value\n",
           CMD_ATTR_IMMEDIATE)
@@ -2675,8 +2675,8 @@
        return CMD_SUCCESS;
 }

-DEFUN_DEPRECATED(cfg_net_bsc_lac,
-                cfg_net_bsc_lac_cmd,
+DEFUN_DEPRECATED(cfg_net_msc_lac,
+                cfg_net_msc_lac_cmd,
                 "core-location-area-code <0-65535>",
                 "Legacy configuration that no longer has any effect\n-\n")
 {
@@ -2684,8 +2684,8 @@
        return CMD_SUCCESS;
 }

-DEFUN_DEPRECATED(cfg_net_bsc_ci,
-                cfg_net_bsc_ci_cmd,
+DEFUN_DEPRECATED(cfg_net_msc_ci,
+                cfg_net_msc_ci_cmd,
                 "core-cell-identity <0-65535>",
                 "Legacy configuration that no longer has any effect\n-\n")
 {
@@ -2693,8 +2693,8 @@
        return CMD_SUCCESS;
 }

-DEFUN_DEPRECATED(cfg_net_bsc_rtp_base,
-      cfg_net_bsc_rtp_base_cmd,
+DEFUN_DEPRECATED(cfg_net_msc_rtp_base,
+      cfg_net_msc_rtp_base_cmd,
       "ip.access rtp-base <1-65000>",
       "deprecated\n" "deprecated, RTP is handled by the MGW\n" "deprecated\n")
 {
@@ -2702,8 +2702,8 @@
        return CMD_SUCCESS;
 }

-DEFUN_USRATTR(cfg_net_bsc_codec_list,
-             cfg_net_bsc_codec_list_cmd,
+DEFUN_USRATTR(cfg_net_msc_codec_list,
+             cfg_net_msc_codec_list_cmd,
              BSC_VTY_ATTR_NEW_LCHAN,
              "codec-list .LIST",
              "Set the allowed audio codecs and their order of preference\n"
@@ -3615,12 +3615,12 @@
        install_element(BSC_NODE, &cfg_bsc_bts_setup_ramping_step_interval_cmd);

        install_node(&msc_node, config_write_msc);
-       install_element(MSC_NODE, &cfg_net_bsc_ncc_cmd);
-       install_element(MSC_NODE, &cfg_net_bsc_mcc_cmd);
-       install_element(MSC_NODE, &cfg_net_bsc_lac_cmd);
-       install_element(MSC_NODE, &cfg_net_bsc_ci_cmd);
-       install_element(MSC_NODE, &cfg_net_bsc_rtp_base_cmd);
-       install_element(MSC_NODE, &cfg_net_bsc_codec_list_cmd);
+       install_element(MSC_NODE, &cfg_net_msc_ncc_cmd);
+       install_element(MSC_NODE, &cfg_net_msc_mcc_cmd);
+       install_element(MSC_NODE, &cfg_net_msc_lac_cmd);
+       install_element(MSC_NODE, &cfg_net_msc_ci_cmd);
+       install_element(MSC_NODE, &cfg_net_msc_rtp_base_cmd);
+       install_element(MSC_NODE, &cfg_net_msc_codec_list_cmd);
        install_element(MSC_NODE, &cfg_net_msc_dest_cmd);
        install_element(MSC_NODE, &cfg_net_msc_no_dest_cmd);
        install_element(MSC_NODE, &cfg_net_msc_welcome_ussd_cmd);

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Id91a82ca8e2eb91b52836e024ccf925245886ae6
Gerrit-Change-Number: 31606
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofm...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to