Create a NetConf file from model.