All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim25.mo.samples.network.AddVirtualNic.class Maven / Gradle / Ivy

The newest version!
????2?1com/vmware/vim25/mo/samples/network/AddVirtualNicjava/lang/Object()VCode
	LineNumberTableLocalVariableTablethis3Lcom/vmware/vim25/mo/samples/network/AddVirtualNic;main([Ljava/lang/String;)V
Exceptionsjava/lang/Exception*com/vmware/vim25/mo/util/CommandLineParser
constructOptions(()[Lcom/vmware/vim25/mo/util/OptionSpec;
<([Lcom/vmware/vim25/mo/util/OptionSpec;[Ljava/lang/String;)Vurl
 !
get_option&(Ljava/lang/String;)Ljava/lang/String;#username%password'
datacenter)host+
portgroupname-	ipaddress/#com/vmware/vim25/mo/ServiceInstance1java/net/URL
034(Ljava/lang/String;)V
.676(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;Z)V
.9:;
getRootFolder()Lcom/vmware/vim25/mo/Folder;	=?>java/lang/System@AoutLjava/io/PrintStream;CHostname cannot be empty!
EGFjava/io/PrintStreamH4printlnJ&com/vmware/vim25/mo/InventoryNavigator
ILM&(Lcom/vmware/vim25/mo/ManagedEntity;)VO
Datacenter
IQRSsearchManagedEntityI(Ljava/lang/String;Ljava/lang/String;)Lcom/vmware/vim25/mo/ManagedEntity;Ucom/vmware/vim25/mo/DatacenterW
HostSystemYcom/vmware/vim25/mo/HostSystem[Host not found
X]^_getHostNetworkSystem)()Lcom/vmware/vim25/mo/HostNetworkSystem;a"com/vmware/vim25/HostPortGroupSpec
`	
`de4setName
ghicreateVNicSpecification9(Ljava/lang/String;)Lcom/vmware/vim25/HostVirtualNicSpec;
kml%com/vmware/vim25/mo/HostNetworkSystemno
addVirtualNicK(Ljava/lang/String;Lcom/vmware/vim25/HostVirtualNicSpec;)Ljava/lang/String;qGFailed : IP address or subnet mask in the IP configuration are invalid s




© 2015 - 2024 Weber Informatics LLC | Privacy Policy