include wol in network module

include wol in network module.
Update network.py

fix lint
Merge pull request #19002 from steverweber/network_wol

include wol in network module