IP Library Granted Patent US 11,824,720
Granted Patent B2
US 11,824,720 · App. 17/689,682 · Granted Nov 21, 2023

Automatic configuring of virtual networking based on information from a switch

Inventor: Premnath Sundarababu (Chennai, IN)
Assignee: VMware, Inc.
H04L41/0876G06F9/45558H04L12/4641H04L41/0806H04L69/324G06F2009/45562
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,824,720
App. No.
17/689,682
Granted
Nov 21, 2023
Kind
B2
Abstract

Examples described herein include systems and methods for automatically configuring a VM on a server using information from a switch located remotely from the server. The switch can provide the configuration information in a Link Layer Discovery Protocol (“LLDP”) type-length-value (“TLV”) data structure. The configuration information can include various information related to configuring a VM, such as a VM identifier, an indication of a physical port of the server, a VM interface that corresponds to the identified physical port, and a virtual local area network (“VLAN”) identifier indicating that a particular VLAN corresponds to the VM, VM interface, or the physical port. The hypervisor can use this configuration information to automatically configure a newly instantiated VM, or reconfigure a VM for a new task, without manual user input.

Claims (43)

1. A method for reconfiguring a virtual machine (VM) on a server, comprising:

receiving, at a hypervisor executing on the server, updated configuration information from a switch separate from and connected to the server, the configuration information comprising:

an indication of a second physical port of the server;

a VM identifier; and

a VM interface corresponding to the second physical port;

retrieving, by the hypervisor, stored configuration information for the VM, wherein the VM is associated with the VM identifier and the VM interface is mapped to a first physical port;

modifying the stored configuration information using the updated configuration information; and

automatically reconfiguring the VM such that the VM interface is mapped to the second physical port.

2. The method of claim 1 , wherein the updated configuration information further comprises a virtual local area network (VLAN) identifier indicating at least one VLAN associated with the VM interface.

3. The method of claim 2 , further comprising mapping the second physical port to the at least one VLAN based on the VLAN identifier being received at the second physical port.

4. The method of claim 1 , wherein the updated configuration information utilizes a Link Layer Discovery Protocol (LLDP) type-length-value (TLV) data structure.

5. The method of claim 1 , wherein the VM is associated with the VM identifier based on a name of the VM that is mapped to the VM identifier.

6. The method of claim 1 , further comprising receiving an instruction to reconfigure the VM such that the VM interface is mapped to the first physical port rather than the second physical port.

7. The method of claim 6 , further comprising modifying the stored configuration information to match the instruction to reconfigure the VM such that VM interface is mapped to the first physical port.

8. A non-transitory, computer-readable medium containing instructions that, when executed by a processor, cause the processor to perform stages for automatically configuring a virtual machine (VM) on a server, the stages comprising:

receiving, at a hypervisor executing on the server, updated configuration information from a switch separate from and connected to the server, the configuration information comprising:

an indication of a second physical port of the server;

a VM identifier; and

a VM interface corresponding to the second physical port;

retrieving, by the hypervisor, stored configuration information for the VM, wherein the VM is associated with the VM identifier and the VM interface is mapped to a first physical port;

modifying the stored configuration information using the updated configuration information; and

automatically reconfiguring the VM such that the VM interface is mapped to the second physical port.

9. The non-transitory, computer-readable medium of claim 8 , wherein the updated configuration information further comprises a virtual local area network (VLAN) identifier indicating at least one VLAN associated with the VM interface.

10. The non-transitory, computer-readable medium of claim 9 , the stages further comprising mapping the second physical port to the at least one VLAN based on the VLAN identifier being received at the second physical port.

11. The non-transitory, computer-readable medium of claim 8 , wherein the updated configuration information utilizes a Link Layer Discovery Protocol (LLDP) type-length-value (TLV) data structure.

12. The non-transitory, computer-readable medium of claim 8 , wherein the VM is associated with the VM identifier based on a name of the VM that is mapped to the VM identifier.

13. The non-transitory, computer-readable medium of claim 8 , the stages further comprising receiving an instruction to reconfigure the VM such that the VM interface is mapped to the first physical port rather than the second physical port.

14. The non-transitory, computer-readable medium of claim 13 , the stages further comprising modifying the stored configuration information to match the instruction to reconfigure the VM such that VM interface is mapped to the first physical port.

15. A system for automatically configuring a virtual machine (VM) on a server, comprising:

a memory storage including a non-transitory, computer-readable medium comprising instructions; and

a computing device including a hardware-based processor that executes the instructions to carry out stages comprising:

receiving, at a hypervisor executing on the server, updated configuration information from a switch separate from and connected to the server, the configuration information comprising:

an indication of a second physical port of the server;

a VM identifier; and

a VM interface corresponding to the second physical port;

retrieving, by the hypervisor, stored configuration information for the VM, wherein the VM is associated with the VM identifier and the VM interface is mapped to a first physical port;

modifying the stored configuration information using the updated configuration information; and

automatically reconfiguring the VM such that the VM interface is mapped to the second physical port.

16. The system of claim 15 , wherein the updated configuration information further comprises a virtual local area network (VLAN) identifier indicating at least one VLAN associated with the VM interface.

17. The system of claim 16 , the stages further comprising mapping the second physical port to the at least one VLAN based on the VLAN identifier being received at the second physical port.

18. The system of claim 15 , wherein the updated configuration information utilizes a Link Layer Discovery Protocol (LLDP) type-length-value (TLV) data structure.

19. The system of claim 15 , wherein the VM is associated with the VM identifier based on a name of the VM that is mapped to the VM identifier.

20. The system of claim 15 , the stages further comprising receiving an instruction to reconfigure the VM such that the VM interface is mapped to the first physical port rather than the second physical port.

Assignments (1)
CHANGE OF NAME Recorded Apr 15, 2024
From: VMWARE, INC.
To: VMWARE LLC
Reel/Frame 067102/0395 →