Project

General

Profile

Bug #1876

vty should complain about unknown pchan in config file

Added by neels over 1 year ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
12/13/2016
Due date:
% Done:

0%

Spec Reference:

Description

If I misspell or freely invent PCHAN names in the osmo-nitb.cfg, osmo-nitb happily starts up
and all we get is a value error upon OML channel init.

The VTY should parse the pchan names and make sure only known channel names are used in the config file,
or reject startup with a parse error.

History

#1 Updated by neels over 1 year ago

Example for a misspelled pchan:

[...]
   timeslot 2
    phys_chan_config  TCH/F_TCH/H_PDasdfasCH
    hopping enabled 0
   timeslot 3
    phys_chan_config  TCH/F_TCH/H_asdfasdafdsPDCH
    hopping enabled 0
[...]

#2 Updated by laforge about 2 months ago

  • Project changed from OpenBSC to OsmoBSC

Also available in: Atom PDF