- 16 Jan, 2024 16 commits
-
-
Kirill Smelkov authored
-
Kirill Smelkov authored
After escaping strings with dumps (to avoid buildout breakage and code injection on "tricky" references, e.g. with spaces), promises started to be generated with !py! prefix in their filenames, e.g. as '!py!'\''RU1-sdr-busy.py'\''' instead of just RU1-sdr-busy.py The issue here is that our code set name = !py!'RU1-sdr-busy.py' and then monitor-promise-base from stack/monitor does output = ${directory:plugins}/${:name} which, I though, would be expanded to .../etc/plugin/RU1-sdr-busy.py but it did not deserialized the :name upon expansion. I feel like it is maybe a bug in nexedi/slapos.buildout@4e13dcb9 , but I'm not sure. Anyway, workaround the problem by generating :output ourselve also via escaped way.
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
urlparse does not handle raw IPv6 address the way I though it does - extracted hostname is not the whole address, but only the first part of it: In [3]: urllib.parse.urlparse('z://2a11:9ac1:6::5') Out[3]: ParseResult(scheme='z', netloc='2a11:9ac1:6::5', path='', params='', query='', fragment='') In [4]: _.hostname Out[4]: '2a11' Tests did not noticed this because previouslt we had e.g 4321::1 in the address, and netaddr thinks 4321 is valid ipv4 address: In [6]: netaddr.IPAddress('4321') Out[6]: IPAddress('0.0.16.225') However changing IPv6 addresses to use hex letter trigger the bug with e.g. raise AddrFormatError('failed to detect a valid IP ' \ netaddr.core.AddrFormatError: failed to detect a valid IP address from '2a11' -> Fix it by avoiding urlparse and doing ip/port splitting ourselves by hand. /reported-by @lu.xu
-
Kirill Smelkov authored
- generic: mme_list and amf_list are now required to be explicitly set - generic: plmn list for 5G is now configured via plmn_list_5g. plmn_list is now required to be set when there are LTE cells plmn_list_5g is now required to be set when there are NR cells - generic: exposing measurment config is left as TODO - generic: rework how defaults are handled - they are now started to be kept centralized in instance-enb head with TODO to load them from json schema. - fix/rework gtpu computation - fix more tojson usage to avoid issues wrt buildout - misc ...
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
when serving symlinks via raw, lab returns link content (= readlink), not content of the target.
-
Kirill Smelkov authored
-
- 15 Jan, 2024 4 commits
-
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
- 12 Jan, 2024 5 commits
-
-
Kirill Smelkov authored
- more B quotes - Inter-RAT HO fixup - robustify behaviour when no RU is configured
-
Kirill Smelkov authored
-
Kirill Smelkov authored
Else enb treats args="" unset and implicitly uses /dev/sdr0 by default. We do not want implicit default behaviour -> we want to see an error.
-
Kirill Smelkov authored
In 536b892c I've made a thinko: the documentation on Amarisoft says(*) that if those parameters are not given, their values are taken from the "serving cell". With that and after reading https://www.telecomhall.net/t/changing-allowedmeasbandwidth/13045, especially https://www.telecomhall.net/t/changing-allowedmeasbandwidth/13045/5 I've made the conclusion that if allowed_meas_bandwidth, and similarly antenna_port_1, are not provided, they will be extracted by UE from MIB of that peer serving cell. But I was wrong as eNB does not start if allowed_meas_bandwidth is not given for eautra-kind handover in NR cell. So after checking things in 36.331 we see that: allowed_meas_bandwidth is optional only in SIB3 (Intra Frequency Cell Reselection), but in SIB5 (Inter Frequency Neighbour Cell) it is mandatory, and that is the reason for why enb was complaining about that missing for NR->LTE handover. -> restore allowed_meas_bandwidth and antenna_port_1 in HO config. For intra-eNB HO things are clear, but for inter-eNB HO use conservative values and put a TODO for considering to extend peer/cell/lte schema with .allowed_meas_bandwidth and .antenna_port_1 . I think keeping the schemas minimal is better for now until we really need to do inter-RAT HO in practice. (*) https://tech-academy.amarisoft.com/lteenb.doc#prop.ncell_list.allowed_meas_bandwidth
-
Kirill Smelkov authored
* master: recipe/check_parameter: support multi lines values software/erp5/test: use short partition references stack/erp5: rename an internal parameter still mentioning apache
-
- 11 Jan, 2024 14 commits
-
-
Kirill Smelkov authored
This reverts commit 5a45624b.
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Jérome Perrin authored
-
Jérome Perrin authored
These partition references should be kept short, they are a mechanism to use a short path for unix sockets, because unix socket paths can not exceed 108 characters. When running the test in theia, this was causing errors: # [ALERT] (100453) : config : parsing [/srv/slapgrid/slappart15/srv/runner/instance/slappart7/tmp/inst/with-max-rlimit-nofile6/etc/haproxy.cfg:37] : log : socket path '/srv/slapgrid/slappart15/srv/runner/instance/slappart7/tmp/inst/with-max-rlimit-nofile6/var/run/log.sock' too long (max 97
-
Jérome Perrin authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
1) get generic tests into shape 2) fix instantiation when refrences contain spaces and/or other special characters. link to discussion: d5d4f7c8 (comment 196869) 3) fix schemas: * ru: mac_addr becomes common CPRI property instead of being Lopcomm-specific * ue/cell/nr: ssb_nr_arfcn is fixed to be optional, similarly to cell/nr
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
Kirill Smelkov authored
-
- 10 Jan, 2024 1 commit
-
-
Kirill Smelkov authored
-