Hello,
I am facing an issue when trying to “get/set” parameters on L2TP from a MikroTik hapac connected to GenieACS.
Whenever I create an l2tp interface entry (in CPE) and refresh the tree I get these informations on WebUI :
Device.X_MIKROTIK_Interface.Generic.3
Device.X_MIKROTIK_Interface.Generic.3.Enable - true
Device.X_MIKROTIK_Interface.Generic.3.LowerLayers - blank
Device.X_MIKROTIK_Interface.Generic.3.Name - l2tp-out1
Device.X_MIKROTIK_Interface.Generic.3.Status - Up
No informations about credentials/profile/MTU etc…
Provision of parameters are done from a “models.py” to define Device paths :
mikrotik_hapac = {
'dhcp_state': 'Device.DHCPv4.Server.Pool.1.Enable', 'dhcp_start_ip': 'Device.DHCPv4.Server.Pool.1.MinAddress', 'dhcp_end_ip': 'Device.DHCPv4.Server.Pool.1.MaxAddress', 'dhcp_dns': 'Device.DHCPv4.Server.Pool.1.DNSServers',
}
Another server generates a JSON file with values based on user inputs such as :
{
[…]
‘dhcp_start_ip’ : “172.16.10.1”,
‘dhcp_end_ip’ : “172.16.10.250”
[…]
}
GenieACS matches these parameters and associates Device.DHCPv4.Server.Pool.1.MinAddress to 172.16.10.1 properly.
Is it possible to create an L2TP interface with custom MTU/credential through this process if these parameters do not appear in TR069 Tree without going through a “.alter” or another uploaded file
I would like to apply this configuration to create vlans and DHCP options, these parameter are not in the TR069 tree aswell.
Thank you for your help.