[PATCH] Add vty command for setting Access control classes

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Peter Stuge peter at stuge.se
Fri Jul 12 18:28:44 UTC 2013


Ivan Kluchnikov wrote:
> +DEFUN(cfg_bts_rach_ac_classes, cfg_bts_rach_ac_classes_cmd,
> +      "rach access control classes (0|1) (0|1) (0|1) (0|1) (0|1) (0|1) (0|1) (0|1) (0|1) (0|1) x (0|1) (0|1) (0|1) (0|1) (0|1)",
> +      RACH_STR
> +      "Access control classes\n"
> +      "Access control classes\n"
> +      "Access control classes\n"
> +      "Access is NOT barred for ACC 0\n"
> +      "Access is barred for ACC 0\n"
> +      "Access is NOT barred for ACC 1\n"
..

The command looks pretty horrible. Do you think that there could be a
better user interface than a single command with 16 parameters?

I'd suggest something like: rach access control class (0..15) (0|1)


//Peter




More information about the OpenBSC mailing list