Configuration parsing and hostapd config generation is done in three places within vyatta-wireless:
- Basic input testing for `set interface wireless wlanX ...`: Bash code in `node.def` files in `/opt/vyatta/share/vyatta-cfg/templates/interfaces/wireless/`
- Validation of hostapd semantics: `/opt/vyatta/sbin/wireless-config.pl`
- VyOS config parsing and hostapd.conf generation: `/opt/vyatta/sbin/wireless-hostapd.pl`
The validatior and generator part needs to go to one Python script. Coding rules apply: [[ https://wiki.vyos.net/wiki/Python_coding_guidelines | Python coding guidelines ]]