openbaton / NFVO

Repository containing the source code of the NFVO
Apache License 2.0
61 stars 52 forks source link

In case requires is set in a VNFD, the NFVO should not wait when source VNF is not present in NSD #114

Closed gc4rella closed 7 years ago

gc4rella commented 7 years ago

In case requires is set in a VNFD, the NFVO should not wait when source VNF is not present in NSD.

Example of VNFD:

...
"requires":{
    "server":{
        "parameters":["netname_floatingIp"]
    }
}
...

however, NSD does not contain any server VNF. Therefore the NFVO should not wait during CONFIGURE lifecycle.

lorenzotomasini commented 7 years ago

If the VNF that provides the parameter is not in the NSD you should get an error while uploading the NS. @ThomasBri is this the case?

ThomasBri commented 7 years ago

Yes, I checked it and I was not able to upload an NSD containing a requires field which referenced a non existing VNFD's name.

gc4rella commented 7 years ago

can be closed?

lorenzotomasini commented 7 years ago

yes