public synchronized VNFPackageAgent getVNFPackageAgent ( ) { if ( this . vnfPackageAgent == null ) { if ( isService ) { this . vnfPackageAgent = new VNFPackageAgent ( this . serviceName , this . projectId , this . sslEnabled , this . nfvoIp , this . nfvoPort , this . version , this . serviceKey ) ; } else { this . vnfPackageAgent = new VNFPackageAgent ( this . username , this . password , this . projectId , this . sslEnabled , this . nfvoIp , this . nfvoPort , this . version ) ; } } return this . vnfPackageAgent ; }
Returns a VNFPackageAgent with which requests regarding VNFPackages can be sent to the NFVO .