When we have large infrastructure (like ISP), and we want to make a tech works on ONE of BRAS, we need possibility change server to maintenance mode. We can do this if send pppoe daemon command shutdown soft. PPPoE daemon will continue serv already connected clients, but deny new connections. When last client disconnected - PPPoE daemon goes down.
- Difficulty level
- Unknown (require assessment)
- Why the issue appeared?
- Will be filled on close
- Is it a breaking change?
- Unspecified (possibly destroys the router)
I like the idea, but unfortunately I do not understand why there needs to be a cancel node? If maintenance mode is not activated shouldnt this be enough?
Why not sent shutdown cancel if maintenance mode node is delete if it was active before? conf.return_effective_*() to check if it was active. This would simplify CLI - which is always the best.
Just my two cents