How to configure networking using systemd in Yocto Project

I tried it with a systemd-conf bbappend file. That did not work. I am now trying to use systemd bbappend file