- all RAN code, CI code, configuration files, dockerfiles, in CSSL v1.0
- all deployment code (openshift, charts, ancillary files like shell
scripts), in MIT
- documentation in CC-BY-4.0
- exceptions might apply and are listed in NOTICE
- there is a new LICENSES folder with all licenses
- CONTRIBUTIONS.md has been updated accordingly
For automated changes based on OAI PL v1.1:
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.{c,h,cpp}
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.ts
perl -i~ -0pe 's/<!--.*Licensed to the OpenAirInterface.*openairinterface.org\n.*-->/<!-- SPDX-License-Identifier: LicenseRef-CSSL-1.0 -->/s' **/*.xml
The rest (cmake, files with missing license, cmake) manually.
1.7 KiB
1.7 KiB
The configuration module objectives are
- Allow easy parameters management in oai, helping the development of a flexible, modularized and fully configurable softmodem.
- Use a common configuration API in all oai modules
- Allow development of alternative configuration sources without modifying the oai code. Today the only delivered configuration source is the libconfig format configuration file.
As a developer you may need to look at these sections:
- add parameters in an existing section
- add a parameter set, in a new section
- configuration module API
- configuration module public structures
Whatever your need is, configuration module usage examples can be found in oai sources:
- complex example, using all the configuration module functionalities, including parameter checking: NB-IoT configuration code and NB-IoT configuration include file
- very simple example, just reading a parameter set corresponding to a dedicated section: the telnetsrv_autoinit function in common/utils/telnetsrv/telnetsrv.c, around line 726
- an example with run-time definition of parameters, in the logging sub-system: the log_getconfig function at the top of openair2/UTIL/LOG/log.c