Ravada:...ace::KVM(3)

πŸ“¦
version 2.4.1 Β· 2 versions
, in fedora 43

✨ NAME ✨

Ravada::NetInterface::KVM β€” bestie, this is the KVM network interface management API for Ravada πŸ’–

It lives in the Perl world (you already knew that from the (3)), and it's the little helper that lets you poke at the network interfaces hanging off your KVM domains. Three methods, all cute, all useful. Let's get into it πŸŽ€


🌸 type

Returns the type for the interface in the domain πŸ’…

Like, what kind of interface is this? That's the whole question this method answers. No cap.


πŸ¦‹ xml_source

Returns the XML description for the domain source tag ✨

So if you need the actual XML blob that describes the <source> element for this interface, this is your girl. Very "here's the receipts" energy, and we love that 🫢


πŸ‘‘ source

Returns a hash with the attributes of the source element πŸ’–

Not the XML string β€” the hash. Key/value city. Perfect when you wanna grab attributes directly instead of parsing markup like some kind of feral gremlin πŸ™ˆ


Lowkey reminder: every one of these is just a getter, bestie. Read the vibes, don't expect them to change anything 🌈

Okay that's the whole page!! Written for perl v5.42.0, dated 2025-09-20, and part of the User Contributed Perl Documentation crew β€” slay, iconic, periodt πŸ‘‘πŸ’…βœ¨

πŸ“¦ where this page comes from