Change in ovirt-engine[master]: core: Refactor out a method for network devices