Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Is it possible to generate NPIV WWNs to VM using Orchestrator

$
0
0

Hi,

 

I am trying to assign NPIV WWN to VM by using the following code in the script block of my workflow.

But I keep getting invalid configuration error in the VC client.

 

What am I missing?

 

            var vmConfigSpec = new VcVirtualMachineConfigSpec() ;
            vmConfigSpec.npivWorldWideNameOp = VcVirtualMachineConfigSpecNpivWwnOp._generate ;
            vmConfigSpec.npivTemporaryDisabled = false;
            vmConfigSpec.npivWorldWideNameType = VcVirtualMachineConfigInfoNpivWwnType._vc;
            vmConfigSpec.npivDesiredNodeWwns = 1;
            vmConfigSpec.npivDesiredPortWwns = 1;

            vm.reconfigVM_Task(vmConfigSpec);

 

Thanks,

Tej


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>