<p>Eric Wild has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/14359">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">vty: adjust config name for unit-id<br><br>Having different names for the same config setting is misleading, so<br>let's stick to the one used by osmo-bsc.<br><br>Change-Id: Ief6f23cc891a528d4295f7b0b85ff49bce299e8b<br>---<br>M src/common/vty.c<br>1 file changed, 10 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/59/14359/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/common/vty.c b/src/common/vty.c</span><br><span>index 1d25bfb..da32c54 100644</span><br><span>--- a/src/common/vty.c</span><br><span>+++ b/src/common/vty.c</span><br><span>@@ -269,7 +269,7 @@</span><br><span>         vty_out(vty, " band %s%s", gsm_band_name(bts->band), VTY_NEWLINE);</span><br><span>      if (bts->auto_band)</span><br><span>               vty_out(vty, " auto-band%s", VTY_NEWLINE);</span><br><span style="color: hsl(0, 100%, 40%);">-    vty_out(vty, " ipa unit-id %u %u%s",</span><br><span style="color: hsl(120, 100%, 40%);">+        vty_out(vty, " ip.access unit_id %u %u%s",</span><br><span>                 bts->ip_access.site_id, bts->ip_access.bts_id, VTY_NEWLINE);</span><br><span>   vty_out(vty, " oml remote-ip %s%s", bts->bsc_oml_host, VTY_NEWLINE);</span><br><span>    vty_out(vty, " rtp jitter-buffer %u", bts->rtp_jitter_buf_ms);</span><br><span>@@ -422,7 +422,7 @@</span><br><span> </span><br><span> DEFUN(cfg_bts_unit_id,</span><br><span>       cfg_bts_unit_id_cmd,</span><br><span style="color: hsl(0, 100%, 40%);">-      "ipa unit-id <0-65534> <0-255>",</span><br><span style="color: hsl(120, 100%, 40%);">+      "ip.access unit_id <0-65534> <0-255>",</span><br><span>       "ip.access RSL commands\n"</span><br><span>       "Set the Unit ID of this BTS\n"</span><br><span>       "Site ID\n" "Unit ID\n")</span><br><span>@@ -437,6 +437,13 @@</span><br><span>  return CMD_SUCCESS;</span><br><span> }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ALIAS_DEPRECATED(cfg_bts_unit_id,</span><br><span style="color: hsl(120, 100%, 40%);">+      cfg_bts_deprecated_unit_id_cmd,</span><br><span style="color: hsl(120, 100%, 40%);">+      "ipa unit-id <0-65534> <0-255>",</span><br><span style="color: hsl(120, 100%, 40%);">+      "ip.access RSL commands\n"</span><br><span style="color: hsl(120, 100%, 40%);">+      "Set the Unit ID of this BTS\n"</span><br><span style="color: hsl(120, 100%, 40%);">+      "Site ID\n" "Unit ID\n");</span><br><span style="color: hsl(120, 100%, 40%);">+      </span><br><span> DEFUN(cfg_bts_band,</span><br><span>       cfg_bts_band_cmd,</span><br><span>       "band (450|GSM450|480|GSM480|750|GSM750|810|GSM810|850|GSM850|900|GSM900|1800|DCS1800|1900|PCS1900)",</span><br><span>@@ -1628,6 +1635,7 @@</span><br><span>    install_element(CONFIG_NODE, &cfg_bts_cmd);</span><br><span>      install_element(CONFIG_NODE, &cfg_vty_telnet_port_cmd);</span><br><span>  install_element(BTS_NODE, &cfg_bts_unit_id_cmd);</span><br><span style="color: hsl(120, 100%, 40%);">+  install_element(BTS_NODE, &cfg_bts_deprecated_unit_id_cmd);</span><br><span>      install_element(BTS_NODE, &cfg_bts_oml_ip_cmd);</span><br><span>  install_element(BTS_NODE, &cfg_bts_rtp_bind_ip_cmd);</span><br><span>     install_element(BTS_NODE, &cfg_bts_rtp_jitbuf_cmd);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/14359">change 14359</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-bts/+/14359"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ief6f23cc891a528d4295f7b0b85ff49bce299e8b </div>
<div style="display:none"> Gerrit-Change-Number: 14359 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Eric Wild <ewild@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>