Different vcenter_refs for different hosts

Hi there,
I’m not sure if it’s possible, but maybe it has something in common with super-vnets.
The problem is, that we have one network and two hosts in vCenter and OpenNebula, but network has different refs in different hosts, let it be dvportgroup-0 and dvportgroup-1.

So if vm should be deployed to host 0, VCENTER_NET_REF attribute should be dvportgroup-0 and vice versa. But VCENTER_NET_REF is already set in vnet or AR templates, and it’s not possible to change it basing on logical operators or dictionary.

So do anybody know any ‘fast’ solution with built-in functionality or should we develop a crutch like hook or smth?
Thanks in advance for any of your help.