Collect duplicate codepaths in os_vif_util
Collect duplicate codepaths in os_vif_util

This change collects a number of associated codepaths into helper
functions. The following steps have been broken out into functions:

* Creating an os-vif instance for VNIC_TYPE_DIRECT VIFs.
* Creating an os-vif port profile for ovs representor datapath offloads
* Populating representor datapath offloads metadata in a VIF's port profile

This commit also harmonises indentation style a bit in the agilio_ovs
and vrouter conversion functions.

Change-Id: Id28858b623812812f14eabd38113990a3daec387
Signed-off-by: Jan Gutter <877e59bd3bf4b032f5144e1f34e440b243c7f5c4@netronome.com>
blueprint: generic-os-vif-offloads

mahak/nova,openstack/nova,openstack/nova,openstack/nova,klmitch/nova,klmitch/nova,rahulunair/nova,mahak/nova,rahulunair/nova,mahak/nova,klmitch/nova,rahulunair/nova,klmitch/nova