python > define network configuration in yaml