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: Python coding guidelines
- T452 should have been merged as statement of acceptance for syntax and workflow.