IP Library Granted Patent US 12,001,860
Granted Patent B1
US 12,001,860 · App. 18/160,463 · Granted Jun 4, 2024

Methods and apparatus to generate code as a plug-in in a cloud computing environment

Inventors: Petar Vorotnikov (Sofia, BG); Petko Marinov (Sofia, BG)
Assignee: VMware LLC
G06F9/44526G06F9/44589
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 12,001,860
App. No.
18/160,463
Granted
Jun 4, 2024
Kind
B1
Abstract

Methods, apparatus, systems, and articles of manufacture are disclosed to generate code as a plug-in in a cloud computing environment. An example system includes at least one memory, programmable circuitry, and machine readable instructions to program the programmable circuitry to introspect code in a library to obtain introspection data, the library corresponding to a resource that is to be deployed in a cloud infrastructure environment, generate a model based on the introspection data, the model to be a representation of the resource, cross-reference the model with a resource meta-model, the resource meta-model to map characteristics of the resource represented by the model to an actual state of the resource, and generate a plug-in based on the cross-referenced model.

Claims (47)

1. A system comprising:

at least one memory;

programmable circuitry; and

machine readable instructions to program the programmable circuitry to:

introspect code in a library to obtain introspection data, the library corresponding to a resource that is to be deployed in a cloud infrastructure environment;

generate a model based on the introspection data, the model to be a representation of the resource;

cross-reference the model with a resource meta-model, the resource meta-model to map characteristics of the resource represented by the model to an actual state of the resource; and

generate a plug-in based on the cross-referenced model.

2. The system of claim 1 , wherein the programmable circuitry is to read metadata from at least one configuration file corresponding to the resource, the metadata to supplement the model.

3. The system of claim 1 , wherein the programmable circuitry is to:

execute the code to introspect the code; and

identify a syntax error in the code.

4. The system of claim 3 , wherein the programmable circuitry is to correct the syntax error before generation of the model.

5. The system of claim 1 , wherein the programmable circuitry is to:

obtain a request to modify the cross-referenced model; and

apply the modification to the cross-referenced model.

6. The system of claim 5 , wherein the modification is an override of a state of the resource.

7. The system of claim 1 , wherein the programmable circuitry is to utilize a tree traversal algorithm to introspect the code and generate a representation of the code.

8. A non-transitory machine readable storage medium comprising instructions to cause programmable circuitry to at least:

introspect code in a library to obtain introspection data, the library corresponding to a resource that is to be deployed in a cloud infrastructure environment;

generate a model based on the introspection data, the model to be a representation of the resource;

cross-reference the model with a resource meta-model, the resource meta-model to map characteristics of the resource represented by the model to an actual state of the resource; and

generate a plug-in based on the cross-referenced model.

9. The non-transitory machine readable storage medium of claim 8 , wherein the instructions are to cause the programmable circuitry to read metadata from at least one configuration file corresponding to the resource, the metadata to supplement the model.

10. The non-transitory machine readable storage medium of claim 8 , wherein the instructions are to cause the programmable circuitry to:

execute the code to introspect the code; and

identify a syntax error in the code.

11. The non-transitory machine readable storage medium of claim 10 , wherein the instructions are to cause the programmable circuitry to correct the syntax error before generation of the model.

12. The non-transitory machine readable storage medium of claim 8 , wherein the instructions are to cause the programmable circuitry to:

obtain a request to modify the cross-referenced model; and

apply the modification to the cross-referenced model.

13. The non-transitory machine readable storage medium of claim 12 , wherein the modification is an override of a state of the resource.

14. The non-transitory machine readable storage medium of claim 8 , wherein the instructions are to cause the programmable circuitry to execute a tree traversal algorithm to introspect the code and generate a representation of the code.

15. A method comprising:

Introspecting, by executing an instruction with programmable circuitry, code in a library to obtain introspection data, the library corresponding to a resource that is to be deployed in a cloud infrastructure environment;

generating, by executing an instruction with the programmable circuitry, a model based on the introspection data, the model to be a representation of the resource;

cross-referencing, by executing an instruction with the programmable circuitry, the model with a resource meta-model, the resource meta-model to map characteristics of the resource represented by the model to an actual state of the resource; and

generating, by executing an instruction with the programmable circuitry, a plug-in based on the cross-referenced model.

16. The method of claim 15 , further including reading metadata from at least one configuration file corresponding to the resource, the metadata to supplement the model.

17. The method of claim 15 , further including:

executing the code to introspect the code; and

identifying a syntax error in the code.

18. The method of claim 17 , further including correcting the syntax error before generation of the model.

19. The method of claim 15 , further including:

obtaining a request to modify the cross-referenced model; and

applying the modification to the cross-referenced model.

20. The method of claim 19 , wherein the modification is an override of a state of the resource.

Assignments (2)
CHANGE OF NAME Recorded Feb 27, 2024
From: VMWARE, INC.
To: VMWARE LLC
Reel/Frame 066692/0103 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 23, 2023
From: VOROTNIKOV, PETAR; MARINOV, PETKO
To: VMWARE, INC
Reel/Frame 063408/0952 →