vCloud Director plugin


I am trying to create a vCloud Director compute resource but am having a few issues with storing the NIC details for new hosts, which are required for PXE booting.

The VM creation works by instantiating a vApp template that you configure in the compute profile and that is all working correctly, however none of the interface details are being saved in Foreman when I create or modify the host. Are the particular methods / attributes I need to set on the compute resource or returned VM object to enable the interfaces being saved?

I am focusing my efforts on this working within Foreman 1.7 currently as my current project is fixed on Satellite 6 / Foreman 7 but would be happy to release the plugin open source one it is working and look at making it compatible with 1.8+

Appreciate any help / pointers