<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/21684">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">vty: add new attribute for vendor-specific commands<br><br>Change-Id: I2254cdf8c4be85c89819d0f831102ee71349b188<br>Related: SYS#4918<br>---<br>M include/osmocom/bsc/vty.h<br>M src/osmo-bsc/osmo_bsc_main.c<br>2 files changed, 4 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/84/21684/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/bsc/vty.h b/include/osmocom/bsc/vty.h</span><br><span>index d2361b0..cfdcbfc 100644</span><br><span>--- a/include/osmocom/bsc/vty.h</span><br><span>+++ b/include/osmocom/bsc/vty.h</span><br><span>@@ -40,6 +40,7 @@</span><br><span>   BSC_VTY_ATTR_RESTART_ABIS_OML_LINK = 0,</span><br><span>      BSC_VTY_ATTR_RESTART_ABIS_RSL_LINK,</span><br><span>  BSC_VTY_ATTR_NEW_LCHAN,</span><br><span style="color: hsl(120, 100%, 40%);">+       BSC_VTY_ATTR_VENDOR_SPECIFIC,</span><br><span>        /* NOTE: up to 32 entries */</span><br><span> };</span><br><span> </span><br><span>diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c</span><br><span>index ca00ba0..df5235e 100644</span><br><span>--- a/src/osmo-bsc/osmo_bsc_main.c</span><br><span>+++ b/src/osmo-bsc/osmo_bsc_main.c</span><br><span>@@ -660,11 +660,14 @@</span><br><span>                  "This command applies on A-bis RSL link (re)establishment",</span><br><span>                [BSC_VTY_ATTR_NEW_LCHAN] = \</span><br><span>                         "This command applies for newly created lchans",</span><br><span style="color: hsl(120, 100%, 40%);">+            [BSC_VTY_ATTR_VENDOR_SPECIFIC] = \</span><br><span style="color: hsl(120, 100%, 40%);">+                    "This command/parameter is BTS vendor specific",</span><br><span>   },</span><br><span>   .usr_attr_letters = {</span><br><span>                [BSC_VTY_ATTR_RESTART_ABIS_OML_LINK]    = 'o',</span><br><span>               [BSC_VTY_ATTR_RESTART_ABIS_RSL_LINK]    = 'r',</span><br><span>               [BSC_VTY_ATTR_NEW_LCHAN]                = 'l',</span><br><span style="color: hsl(120, 100%, 40%);">+                [BSC_VTY_ATTR_VENDOR_SPECIFIC]          = 'v',</span><br><span>       },</span><br><span> };</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/21684">change 21684</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-bsc/+/21684"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I2254cdf8c4be85c89819d0f831102ee71349b188 </div>
<div style="display:none"> Gerrit-Change-Number: 21684 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>