• Kirill Smelkov's avatar
    software/ors-amarisoft: enb.jinja2.cfg: nr: Move tunable parameters from... · 825a5522
    Kirill Smelkov authored
    software/ors-amarisoft: enb.jinja2.cfg: nr: Move tunable parameters from nr_cell_default to nr_cell_list
    
    This patch is similar and has the same rationale as the previous patch
    (software/ors-amarisoft: enb.jinja2.cfg: lte: Move tunable parameters
    from cell_default to cell_list). Please see its description for context
    and details.
    
    Like with previous patch I've made sure via json_util that effective gnb
    configuration stays exactly the same. Also, since for NR case we move
    more code, and also use enb merging feature(*) I tested that the
    effective gnb configuration stays exactly the same with both
    
      * tdd_config = 3  (5ms 8UL 1DL 2/10 (maximum uplink)),	and
      * tdd_config = 1  (5ms 2UL 7DL 4/6 (default))
    
    In all the cases effective gnb configuration stayed exactly the same
    before and after this patch which proves that effective configuration
    for single cell case remains unchanged.
    
    (*) enb implements merging process for cell/cell_default and
    nr_cell/nr_cell_default as demonstrated below:
    
      cell={a: 10, d:15}  cell_default={a:1, b:2, c:3}       ->  cell={a:10, b:2, c: 3, d: 15}
      cell={x: [{}, 2]}   cell_default={x: [{a:1}]}          ->  cell={x: [{a:1}, 2]}
      cell={x: [{c:11}]}  cell_default={x: [{a:1}, {b:2}]    ->  cell={x: [{a:1, c:11}, {b:2}]}
    
    /cc @lu.xu, @tomo, @xavier_thompson, @Daetalus
    /reviewed-by @jhuge
    /reviewed-on nexedi/slapos!1515
    825a5522
testTDD.py 18.2 KB