export does not play well with WifiWave2 config

Hello,

Just wanting to report that when creating a config and then dumping it with export, it cannot be used as-is and that is frustrating.

Even when using reset and no default config, soem things don’t get propagated. Very hard to know what, since the AP I was working with would just not run the full script and need a reset.

When starting from a default config, then the script needs to be able to remove things, and also clear some parameters. In WifiWave2 in particular, if a wireless interface had some base settings, changing the Configuration field does not clear the settings that the configuration covers, and we end up with a mixed config where hard coded params in the interface are not overriden by the config. The script needs to first clear those params, and then apply the config for it to be taken into account.

As far as my experience goes, the only way for export to be usable to do full device config is if export is created using verbose … and applied to device with no default config. But even this comes with some gotchas (e.g. it contains interface MAC addresses and if applying config to different device this is something not wanted most of time).