Hi all,
we are using the sdk php (vcloudPHP-1.0.0-314767) and our vcd director cell is the 1.0.1.356485 build.
Our goal is to add or delete a nat rule on a vapp's internal network which within a started vapp. The vapp is natrouted and the natrule is a vmRule.
we used two method to two that : ($networkConfigSection is a networkConfigSection sdk object)
the first one :
$sdkVapp->modifyNetworkConfigSettings($networkConfigSection) ;
the second one :
$sdkVapp->recompose($recomposeParam) ;
both methods seam to work, that is to say, when we do a $sdkVapp->getVapp() or if we use the VCD GUI we can see that the modification has been done. The rule has been added or deleted.
The problem is : nothing happened on the vapp's edge-> the new rule have not been added or the former rule have been deleted.
if we want the modifcation really made we have to go on the graphical user interface of VCD in the vapp management , select the network tab and click on apply and after that the change is really done.
So how can we do the 'Apply' with the SDK ? We found nothing about that. We try to execute a new deploy on the vapp but it didn't work.
the problem is the same with fw rules.
Do you have an idea ?
regards,
Yann CONAN