1. A computer-implemented method for constructing dispatch tables to match application program interface service routines, the method comprising: reading, via a computer, an application program interface (API) header file, wherein the API header file identifies at least one programmable device and defines an entry in a corresponding dispatch table; generating, via the computer, the corresponding dispatch table for creating a virtual local area network (VLAN) for the at least one programmable device identified in the API header file, wherein: the corresponding dispatch table is generated based on information read from the API header file, and the entry defined by the API header file includes one or more arguments needed to program the at least one programmable device, wherein the one or more arguments are used to create the VLAN based on a type of the at least one programmable device; and verifying, via the computer, that the one or more arguments included in the dispatch table are consistent with current arguments required to program the at least one programmable device.