[Libvirt-cim] [PATCH 1 of 2] Replace large if-else statement in RAFP