Patent ID: 9559898
Date: 2017-01-31
CPC Classifications: H04L,Y02D

Claim:
1. A computer-implemented method of configuring a virtual network, comprising: receiving a request to add one or more network interface cards (NICs) of a new host to the virtual network; creating a temporary virtual switch; assigning the one or more NICs of the new host to one or more uplinks of the temporary virtual switch; determining, using a protocol by which network devices advertise information, one or more ports of at least one physical switch to which the one or more NICs are connected; determining, based on a predefined network configuration document, a virtual local area network (VLAN) or VLANs which are enabled on the one or more ports of the at least one physical switch to which the one or more NICs are connected; and re-assigning the NICs from the one or more uplinks of the temporary virtual switch to one or more uplinks of at least one virtual switch in the virtual network based on the VLAN or VLANs as determined.