Programmer23
Programmer23

Reputation: 3

How to add external network using vSphere API

I want to add external network using vSphere API but didn't got any idea. Please give me links.

Upvotes: 0

Views: 198

Answers (1)

user3666197
user3666197

Reputation: 1

Kindly check vSphere API documentation for details and procedures

There is an API service method:: AddVirtualNIC

 <element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="AddVirtualNic" type="vim25:AddVirtualNicRequestType"/>
 <element xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="AddVirtualNicResponse">
    <complexType>
       <sequence>
          <element name="returnval" type="xsd:string"/>
       </sequence>
    </complexType>
 </element>

Proceed further with configuration details on vSphere HostNetworkSystem <ManagedOBJECT>

Upvotes: 2

Related Questions