Set ext_id in virtualLinkRecord
During instantiation of an instance in docker vnfm, ext_id of VLR was missing. This change sets the ext_id so
that docker instantiation runs without error.
@@ -227,9 +227,11 @@ public class GrantoperationTask extends AbstractTask {
"Checking VLR %s for VNFR [%s]",
virtualLinkRecord, virtualNetworkFunctionRecord.getName()));
for (BaseNetwork net : finalVimInstance1.getNetworks()) {
- if (VimInstanceUtils.isVLRExisting(virtualLinkRecord, net, dedicatedNetworks))
+ if (VimInstanceUtils.isVLRExisting(virtualLinkRecord, net, dedicatedNetworks)) {
+ virtualLinkRecord.setExtId(net.getExtId());
return false;
}
+ }
return true;
})
.forEach(
