Package com.vmware.vim25.mo.samples.network

Class Summary
AddDVS http://vijava.sf.net
AddNIC http://vijava.sf.net
AddVirtualNic This sample is used to add a Virtual Nic To run this samples following parameters are used: vsiwtchid [required]: Name of the switch portgroupname [required]: Name of the port group ipaddress [required]: ipaddress for the nic host [optional]: Name of the host datacenter [optional]: Name of the datacenter Command Line:To add a Host VirtualNic to a PortGroup on a Virtual Switch as: - run.bat com.vmware.samples.host.AddVirtualNic --url [webserviceurl] --username [username] --password [password] --vsiwtchid [mySwitch] --host [hostname] --datacenter [mydatacenter] --portgroupname [myportgroup] --ipaddress[AAA.AAA.AAA.AAA] Command Line:To add a Host VirtualNic to a PortGroup on a Virtual Switch as without specifying the host name
run.bat com.vmware.samples.host.AddVirtualNic --url [webserviceurl] --username [username] --password [password] --vsiwtchid [mySwitch] --datacenter [mydatacenter] --portgroupname [myportgroup] --ipaddress[AAA.AAA.AAA.AAA] Command Line:To add a Host VirtualNic to a PortGroup on a Virtual Switch as without specifying the datacenter name
run.bat com.vmware.samples.host.AddVirtualNic --url [webserviceurl] --username [username] --password [password] --vsiwtchid [mySwitch] --portgroupname[myportgroup] --ipaddress[AAA.AAA.AAA.AAA]
AddVirtualSwitch http://vijava.sf.net
AddVirtualSwitchPortGroup This sample is used to add a Virtual Switch PortGroup To run this samples following parameters are used:> vsiwtchid [required]: Name of the switch in which portgroup is to be added portgroupname [required]: Name of the port group host [optional]: Name of the host datacenter [optional]: Name of the datacenter Command Line:to add a Virtual switch Port Group as: - run.bat com.vmware.samples.host.AddVirtualSwitchPortGroup --url [webserviceurl] --username [username] --password [password] --vsiwtchid [mySwitch] --datacenter [mydatacenter] --portgroupname [myportgroup] --host[hostname] Command Line:to add a Virtual switch Port Group without specifying the host: run.bat com.vmware.samples.host.AddVirtualSwitchPortGroup --url [webserviceurl] --username [username] --password [password] --vsiwtchid [mySwitch] --datacenter [mydatacenter] --portgroupname [myportgroup] Command Line:to add a Virtual switch Port Group without specifying the datacenter - run.bat com.vmware.samples.host.AddVirtualSwitchPortGroup --url [webserviceurl] --username [username] --password [password] --vsiwtchid [mySwitch] --portgroupname [myportgroup]
ConfigureSnmpSystem http://vijava.sf.net
FlipNetworkService http://vijava.sf.net
RemoveVirtualNic This sample is used to remove a Virtual Nic To run this samples following parameters are used: portgroupname [required]: Name of the port group from which the nic is to be removed host [optional]: Name of the host datacenter [optional]: Name of the datacenter Parameters: Command Line:to remove a Host VirtualNic from a PortGroup run.bat com.vmware.samples.host.RemoveVirtualNic --url [webserviceurl] --username [username] --password [password] --datacenter [mydatacenter] --portgroupname [myportgroup]> --host [hostname] Command Line:to remove a Host VirtualNic from a PortGroup without specifying the host run.bat com.vmware.samples.host.RemoveVirtualNic --url [webserviceurl] --username [username] --password [password] --datacenter [mydatacenter] --portgroupname [myportgroup] Command Line:to remove a Host VirtualNic from a PortGroup without specifying the datacenter run.bat com.vmware.samples.host.RemoveVirtualNic --url [webserviceurl] --username [username] --password [password] --portgroupname [myportgroup] --host [name of the host]
RemoveVirtualSwitch This sample is used to remove a virtual switch To run this samples following parameters are used: vsiwtchid [required]: Name of the switch to be removed host [optional]: Name of the host datacenter [optional]: Name of the datacenter Command Line: to remove the Virtual Switch from a virtual center run.bat com.vmware.samples.host.RemoveVirtualSwitch --url [webserviceurl] --username [username] --password *[password] --vsiwtchid [mySwitch] --datacenter [mydatacenter] --host[hostname] Command Line:to remove a Virtual Switch from a virtual center without specifying the host run.bat com.vmware.samples.host.RemoveVirtualSwitch --url [webserviceurl] --username [username] --password *[password] --vsiwtchid [mySwitch] --datacenter [mydatacenter] Command Line:to remove a Virtual Switch from a virtual center without specifying the datacenter run.bat com.vmware.samples.host.RemoveVirtualSwitch --url [webserviceurl] --username [username] --password [password] --vsiwtchid [mySwitch] --host [host]
RemoveVirtualSwitchPortGroup This sample is used to remove a Virtual Switch PortGroup To run this samples following parameters are used: Parameters: portgroupname [required]: Name of the port group to be removed host [optional]: Name of the host datacenter [optional]: Name of the datacenter Command Line: To remove a Virtual Switch Port Group run.bat com.vmware.samples.host.RemoveVirtualSwitchPortGroup --url [webserviceurl] --username [username] --password --datacenter [mydatacenter] --portgroupname[ Command Line: To remove a Virtual Switch Port Group without specifying the host name run.bat com.vmware.samples.host.RemoveVirtualSwitchPortGroup --url [webserviceurl] --username [username] --password --datacenter [mydatacenter] --portgroupname[Command Line: To remove a Virtual Switch Port Group without specifying the datacenter name run.bat com.vmware.samples.host.RemoveVirtualSwitchPortGroup --url [webserviceurl] --username [username] --password --portgroupname[
TurnOnFirewallPolicy http://vijava.sf.net
 



Copyright © 2011-2012. All Rights Reserved.