Simulating non-volatile memory in virtual distributed switches
View Patent ↗A virtual non-volatile memory is simulated for a virtual switch. Operating instructions from the non-volatile memory of a physical switch may be translated into a flash type file. The flash type file may be stored on a virtual storage area in the virtual switch. Operating instructions in the virtual switch may access the flash type file in the virtual storage area without the need to access the non-volatile memory in the physical switch.
1. A process of simulating non-volatile memory in a virtual switch, comprising:
accessing a physical non-volatile memory module for operating instructions;
creating a flash type file of the operating instructions on a physical data storage module;
translating the flash type file into a format readable in a virtual switch;
storing the translated flash type file to a virtual memory area; and
accessing, by the virtual switch, the translated flash type file in the virtual memory area for use as operating instructions in the virtual switch.
2. The process of claim 1 , including employing a memory technology device (MTD) to read the operating instructions from the physical non-volatile memory module.
3. The process of claim 2 , wherein the translating is performed by an MTD block device translator driver.
4. The process of claim 1 , including reading or writing to the translated flash type file in the virtual memory area.
5. The process of claim 1 , wherein the physical non-volatile memory module is non-volatile random access memory.
6. The process of claim 1 , including determining if the translated flash type file includes a block size and sector size corresponding to the non-volatile memory module, wherein the determination is made prior to storing the translated flash type file to the virtual memory area.