Attributes.csv: Use *req.PasswordFromAttributes path (like oldtutorial) Config: Add PasswordFromAttributes field with *attributes marker Second processor reads from ~*cgrep.Attributes.PasswordFromAttributes This matches the exact pattern from CGRateS test configurations. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
31 lines
1.8 KiB
CSV
31 lines
1.8 KiB
CSV
#Tenant,ID,Contexts,FilterIDs,ActivationInterval,AttributeFilterIDs,Path,Type,Value,Blocker,Weight
|
|
# PPPoE user credentials and RADIUS reply attributes
|
|
|
|
# User: test - Test user for MikroTik PPPoE
|
|
cgrates.org,ATTR_PPPOE_TEST,*any,FLTR_ACCOUNT_TEST,,,,,,false,20
|
|
cgrates.org,ATTR_PPPOE_TEST,,,,,*req.PasswordFromAttributes,*constant,test,,
|
|
cgrates.org,ATTR_PPPOE_TEST,,,,,*req.RequestType,*constant,*prepaid,,
|
|
cgrates.org,ATTR_PPPOE_TEST,,,,,*req.MikrotikRateLimit,*constant,10M/10M,,
|
|
|
|
# User: pppoe_user1 - 10Mbps plan with static IP
|
|
cgrates.org,ATTR_PPPOE_USER1,*any,FLTR_ACCOUNT_USER1,,,,,,false,20
|
|
cgrates.org,ATTR_PPPOE_USER1,,,,,*req.PasswordFromAttributes,*constant,SecurePass123,,
|
|
cgrates.org,ATTR_PPPOE_USER1,,,,,*req.RequestType,*constant,*prepaid,,
|
|
cgrates.org,ATTR_PPPOE_USER1,,,,,*req.FramedIPAddress,*constant,10.0.0.101,,
|
|
cgrates.org,ATTR_PPPOE_USER1,,,,,*req.FramedIPNetmask,*constant,255.255.255.0,,
|
|
cgrates.org,ATTR_PPPOE_USER1,,,,,*req.MikrotikRateLimit,*constant,10M/10M,,
|
|
|
|
# User: pppoe_user2 - 20Mbps plan with static IP
|
|
cgrates.org,ATTR_PPPOE_USER2,*any,FLTR_ACCOUNT_USER2,,,,,,false,20
|
|
cgrates.org,ATTR_PPPOE_USER2,,,,,*req.PasswordFromAttributes,*constant,SecurePass456,,
|
|
cgrates.org,ATTR_PPPOE_USER2,,,,,*req.RequestType,*constant,*prepaid,,
|
|
cgrates.org,ATTR_PPPOE_USER2,,,,,*req.FramedIPAddress,*constant,10.0.0.102,,
|
|
cgrates.org,ATTR_PPPOE_USER2,,,,,*req.FramedIPNetmask,*constant,255.255.255.0,,
|
|
cgrates.org,ATTR_PPPOE_USER2,,,,,*req.MikrotikRateLimit,*constant,20M/20M,,
|
|
|
|
# User: pppoe_user3 - 50Mbps plan with dynamic IP
|
|
cgrates.org,ATTR_PPPOE_USER3,*any,FLTR_ACCOUNT_USER3,,,,,,false,20
|
|
cgrates.org,ATTR_PPPOE_USER3,,,,,*req.PasswordFromAttributes,*constant,SecurePass789,,
|
|
cgrates.org,ATTR_PPPOE_USER3,,,,,*req.RequestType,*constant,*prepaid,,
|
|
cgrates.org,ATTR_PPPOE_USER3,,,,,*req.MikrotikRateLimit,*constant,50M/50M,,
|