Bugzilla – Bug 2818
config-store saves config of deprecated attributes
Last modified: 2017-11-09 10:20:46 EST
Created attachment 2950 [details] test program The attached test program dumps the attribute configuration on a wifi program, but the process of doing so emits these warnings: ttribute 'TxAntennas' is deprecated: Not used anymore. Attribute 'RxAntennas' is deprecated: Not used anymore. Attribute 'TxAntennas' is deprecated: Not used anymore. Attribute 'RxAntennas' is deprecated: Not used anymore. and these attributes show up in the saved config: value /$ns3::NodeListPriv/NodeList/0/$ns3::Node/DeviceList/0/$ns3::WifiNetDevice/Phy/$ns3::SpectrumWifiPhy/TxAntennas "1" IMO, the behavior should be that ConfigStore::Load should warn on deprecated attributes, but ConfigStore::Save should suppress them.