vty: add new attribute for vendor-specific commands
Change-Id: I2254cdf8c4be85c89819d0f831102ee71349b188 Related: SYS#4918
This commit is contained in:
parent
626b7a0be2
commit
027b506c27
|
@ -40,6 +40,7 @@ enum bsc_vty_cmd_attr {
|
|||
BSC_VTY_ATTR_RESTART_ABIS_OML_LINK = 0,
|
||||
BSC_VTY_ATTR_RESTART_ABIS_RSL_LINK,
|
||||
BSC_VTY_ATTR_NEW_LCHAN,
|
||||
BSC_VTY_ATTR_VENDOR_SPECIFIC,
|
||||
/* NOTE: up to 32 entries */
|
||||
};
|
||||
|
||||
|
|
|
@ -660,11 +660,14 @@ static struct vty_app_info vty_info = {
|
|||
"This command applies on A-bis RSL link (re)establishment",
|
||||
[BSC_VTY_ATTR_NEW_LCHAN] = \
|
||||
"This command applies for newly created lchans",
|
||||
[BSC_VTY_ATTR_VENDOR_SPECIFIC] = \
|
||||
"This command/parameter is BTS vendor specific",
|
||||
},
|
||||
.usr_attr_letters = {
|
||||
[BSC_VTY_ATTR_RESTART_ABIS_OML_LINK] = 'o',
|
||||
[BSC_VTY_ATTR_RESTART_ABIS_RSL_LINK] = 'r',
|
||||
[BSC_VTY_ATTR_NEW_LCHAN] = 'l',
|
||||
[BSC_VTY_ATTR_VENDOR_SPECIFIC] = 'v',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue