2. FreeRADIUS implementation
1. Install FreeRADIUS with database driver
populating schema's
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
dynamically display or hide fields depending on if configfile is DOCSIS or TR-69
4. Rename CMTS to Network Gateway
5. Connect NMS PRIME to FreeRADIUS
NMS PRIME Model (MVC) | FreeRADIUS table | database relation | Always | |
|---|---|---|---|---|
1. | QoS | usergroup | 1 : 1 | YES. every QoS entry is a RADIUS usergroup) |
2. | Modem | radcheck | 1 : 1 | NO. Only for Non-DOCSIS devices |
3. | NetGw | nas | 1 : 1 | Only for NetGw of type BRAS/BNG |
Reference:
5.1 QoS mapping
(take care that create, delete, update syncs with FreeRADIUS)
Fields that MUST be synchronised
5.2 Modem mapping
(take care that create, delete, update syncs with FreeRADIUS)
Fields that MUST be synchronised
nmsprime.modem.username –> radius.radcheck.UserName
nmsprime.modem.password –> radius.radcheck.Value
...
5.3 NetGw mapping
Create mapping between NetGw (only of type BRAS) and RADIUS nas