Hello all,
I need help about tr69 / cwmp python django …
Thks
Hello all,
I need help about tr69 / cwmp python django …
Thks
Welcome @Mhammouda !
You’re going to need to be a lot more specific about the help you need here.
You’ll want to include information like:
Hello @KenWhitesell,
I’ve been attempting to develop an ACS server based on TR-069 to communicate with some CPE devices, similar to GenieACS. However, I’m currently stuck with the solution’s architectural design and understanding the TR-069 protocol concept.
As that would be an external web-service to your project, the general design would be that your Django views would make the web-service requests to the CPE device within the view - perhaps using the requests
module.
The view would then read the response and reformat the data to be rendered in a template to be returned to the user.
That interaction between your view and the CPE device is outside the scope of Django itself. You’ll need to learn how to issue the requests and use the response. You should probably check pypi.org to see what Python libraries might already exist for that protocol.
(What I’m seeing from a very brief web-search is that CPE is close-but-not-quite SOAP, but I could be misinterpreting what I’m reading.)
Thanks a lot @KenWhitesell , i think can i seen now the key point to start this project.
Hello @KenWhitesell
I hope you’re doing well.
Regarding my TR-069 web project, I’ve made good progress.
My web app is running on a virtual machine with 12 CPUs and 12 GB of RAM, using Gunicorn. I’m also using Celery Worker and Celery Beat with a Redis cache server.
However, from time to time, I encounter an issue related to job execution. I strongly suspect that the problem is either due to Redis caching or the number of worker concurrency, which is currently set to 100.
I’m sharing with you my systemd service configuration for the Celery Worker
celery -A monapp worker -P gevent -c 100 --loglevel=INFO
For us to have any chance of helping you identify potential causes of this issue, you’ll need to provide all the details you have about the problem. Fully describe all the symptoms, post all error messages associated with the error, and whatever information is available from the celery, redis, and gunicorn log files.