Add the package "freeradius-mysql" as a dependency to nmsprime-provbase
adapt install scripts
like starting & enabling,
create database & users
populating schema's
/etc/raddb/mods-config/sql/main/mysql/setup.sql
/etc/raddb/mods-config/sql/main/mysql/schema.sql
2. Add TR-69 ConfigFile Device Type
Validation Rule: If device type = TR-69 config file parameters must be in JSON (also for validation)
NOTE:
A new definition for string replacement syntax seems to be required for JSON TR-69 since it uses {}-brackets.
For example in DOCSIS configfile a {provbase.ro_community.0} will be replaced with SQL datas –> this syntac must be replaced See 3. TR-69 implementation example API call
3. Rebuild Modem page
Configfile MUST be second entry after "Name"
add "username" and "password" to Modem table and MVC
dynamically display or hide fields depending on if configfile is DOCSIS or TR-69
DOCSIS configfile
TR-69
Hostname
Username (=id)
MAC Address*
Password (=automatically filled if empty with a random generated psw)