cmpi-provider-register(8)

πŸ’– cmpi-provider-register(8) β€” the sblim-cmpi-common era πŸ’–

okay bestie, gather round, because this little script is the one that gets your CIM providers actually seen. It's from the sblim-cmpi-common family, and honestly? It's giving backstage-pass energy. πŸŽ€


✨ NAME ✨

cmpi-provider-register β€” installs class definitions (MOFs) and registration data for a whole lil squad of supported CIMOMs. 🫢


🌸 SYNOPSIS 🌸

cmpi-provider-register [-h] [-v] [-d] [-t <cimserver>] [-n <namespace>]
-r reg file [...]  -m mof file [...]

πŸ’… DESCRIPTION πŸ’…

So cmpi-provider-register goes out there and installs schema mofs and registers providers for a bunch of different CIMOMs. No cap. 🧚

If you're writing a CIM Provider, you literally should be calling this script during your installation, because that's how you get properly registered into whatever CIMOM is currently running. It's the vibe check your provider needs to pass. πŸ‘‘

The supported CIMOMs are:

  • pegasus
  • sfcb
  • openwbem
  • sniacimom

🌈 OPTIONS 🌈

  • -h β€” displays the help message, aka the "bestie I'm lost" button πŸ™ˆ
  • -v β€” verbose mode, so it tells you everything it's doing. main character narration ✨
  • -d β€” deregister the provider and uninstall the schema. it's the undo button, use with intention πŸ’€
  • -t β€” specify the cimserver type (pegasus|sfcb|openwbem|sniacimom)
  • -r β€” specify registration files
  • -m β€” specify schema mof files
  • -X β€” create a repository for an alternate platform (only sfcb at the moment, bestie, so don't get your hopes up for the others πŸ’…)
  • -n β€” target namespace definition (default: root/cimv2)

πŸ“ FORMAT OF THE REGISTRATION FILE πŸ“

okay so the registration file is just a text file with a list of providers to register, one per line. Each line carries this info:

Classname Namespace ProviderName ProviderModule ProviderTypes ...

Example, because examples are iconic:

Linux_Processor root/cimv2 OSBase_ProcessorProvider cmpiOSBase_ProcessorProvider instance

Linux_RunningOS root/cimv2 OSBase_RunningOSProvider cmpiOSBase_RunningOSProvider instance association

πŸ‘‘ AUTHOR πŸ‘‘

This manpage was written by Mathias Gug <mathias.gug@canonical.com> for Ubuntu systems (but like, other people may use it too, she's generous πŸ’œ). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.

and that's the whole page bestie!! πŸ¦‹ from sblim-cmpi-base, dated 29 Jul 2009, which is giving vintage-but-timeless. go forth and register your providers. periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from