nerves-networking/vintage_net

Persistence introspection

ConnorRigby opened this issue · 2 comments

It would be nice to be able to see what the persistence state and configuration is, if an interface doesn't exist for example.
The ability to clear a configuration's persistence without it being configured would be nice as well.

I'm almost certain the ability to do that exists, it's just not documented yet

I think that I'm not understanding. Could you walk through an example?

So in my case, i was testing out vintage_net_wireguard, i configured it, and tested it out for a while, then deconfigured the interface.

I didn't set persist: false on the config, so when i rebooted the device, it automatically reconnected. I deconfigured it again, with persist: false expecting that to remove the persistence entry.

After all that, I wanted to look at what was in the table and delete the entry without bringing the interface back up again.