sim_lsmplugin(1)

πŸ“¦
version 1.10.3 Β· 3 versions
, in fedora 43, fedora 44

πŸ’– sim_lsmplugin β€” the LibStorageMgmt simulator python plugin πŸ’–

okay bestie, welcome to the libStorageMgmt manual page for sim_lsmplugin(1) β€” yes she's a section 1 girly, yes she's iconic, and yes she is literally here to let you play with storage arrays without owning a single rack of hardware. slay.


✨ NAME ✨

sim_lsmplugin β€” the LibStorageMgmt simulator python plugin πŸπŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: the LibStorageMgmt simulator plugin is for development or test use only. that's it, that's the vibe. she's not for production, she's for you and your little experiments.

she simulates an array that supports most features of the library, which is honestly giving main character energy. all that simulated state gets stored in a file, and the default is '/tmp/lsm_sim_data'.

the sim_lsmplugin executable file is what the libStorageMgmt daemon executes when a client user specifies the sim plugin in the URI. no cap. πŸ”₯

also? this plugin is written in pure Python and is intended to be an example of a python plugin for the library. so if you're writing your own plugin, she's your blueprint bestie. 🫢


🌸 URI 🌸

to use this plugin, you set your URI to this format:

# All that is required
sim://

# Optional statefile
sim://?statefile=<file path and name>

and the best part?? no password is required for this plugin. we love a low-maintenance queen. 😌

πŸŽ€ URI parameters πŸŽ€

  • statefile β€” use this to point at the specified file where the simulator stores her state data. example URI:
sim://?statefile=/tmp/other_lsm_sim_data

fyi the statefile is a sqlite3 data base file. very demure, very sqlite.


πŸ”₯ FIREWALL RULES πŸ”₯

this plugin requires no network access. she's self-contained, she's cozy, she needs zero firewall holes. ✨


πŸ‘‘ SEE ALSO πŸ‘‘

go read these too, bestie:


πŸ’€ BUGS πŸ’€

found a bug? not me manifesting that. 😭 please report bugs to:

<libstoragemgmt-devel@lists.sourceforge.net>

🌈 AUTHOR 🌈

  • Gris Ge <fge@redhat.com>
  • Tony Asleson <tasleson@redhat.com>

and that's the whole page, periodt. this was sim_lsmplugin version 1.10.3, dated June 2015 β€” yeah she's an older icon but she still ate. mwah, go build something cute with her. πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from