Moved conversion of unit logic to template from plugin
for network.

Signed-off-by: ndarshan <dnarayan@redhat.com>