The nova.version Module

package_string()
product_string()
vendor_string()
version_string_with_package()