| /openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | cve_check.py | 15 from oe.cve_check import Version 17 result = Version("100") > Version("99") 19 result = Version("2.3.1") > Version("2.2.3") 21 result = Version("2021-01-21") > Version("2020-12-25") 23 result = Version("1.2-20200910") < Version("1.2-20200920") 26 result = Version("1.0") >= Version("1.0beta") 28 result = Version("1.0-rc2") > Version("1.0-rc1") 30 result = Version("1.0.alpha1") < Version("1.0") 32 result = Version("1.0_dev") <= Version("1.0") 36 result = Version("1.0p2") == Version("1.0p1") [all …]
|
| /openbmc/openbmc/poky/meta/recipes-kernel/linux/ |
| H A D | generate-cve-exclusions.py | 16 from packaging.version import Version 27 return Version(s) 37 next_version = Version(str(base_version) + ".5000") 45 v = Version(version["version"]) 46 if v == Version('0'): 50 first_affected = Version(f"{v.major}.{v.minor}") 67 v = Version(version["version"]) 69 less_than = Version(version["lessThan"]) 93 …parser.add_argument("version", type=Version, help="Kernel version number to generate data for, suc… 98 base_version = Version(f"{version.major}.{version.minor}")
|
| /openbmc/openbmc/poky/meta/files/common-licenses/ |
| H A D | Artistic-2.0 | 38 Version, or a Modified Version. 48 "Standard Version" refers to the Package if it has not been 52 "Modified Version" means the Package, if it has been changed, and 57 the Standard Version of the Package, in its current version or as 70 (1) You are permitted to use the Standard Version and create and use 72 you do not Distribute the Modified Version. 75 Permissions for Redistribution of the Standard Version 78 Standard Version of this Package in any medium without restriction, 86 Package will still be considered the Standard Version, and as such 92 (4) You may Distribute your Modified Version as Source (either gratis [all …]
|
| /openbmc/phosphor-bmc-code-mgmt/bmc/ |
| H A D | msl_verify.hpp | 10 struct Version struct 30 void parse(const std::string& versionStr, Version& version); 39 int compare(const Version& a, const Version& b);
|
| H A D | update_manager.cpp | 27 using Version = phosphor::software::manager::Version; typedef 43 bool verifyImagePurpose(Version::VersionPurpose purpose, in verifyImagePurpose() 46 if (purpose == Version::VersionPurpose::Host) in verifyImagePurpose() 90 auto version = Version::getValue(manifestPath.string(), "version"); in processImage() 101 std::string currMachine = Version::getBMCMachine(OS_RELEASE_FILE); in processImage() 116 Version::getValue(manifestPath.string(), "MachineName"); in processImage() 140 auto purposeString = Version::getValue(manifestPath.string(), "purpose"); in processImage() 150 sdbusplus::message::convert_from_string<Version::VersionPurpose>( in processImage() 158 auto purpose = convertedPurpose.value_or(Version::VersionPurpose::Unknown); in processImage() 172 Version::getValue(manifestPath.string(), "ExtendedVersion"); in processImage() [all …]
|
| H A D | version.hpp | 26 sdbusplus::server::xyz::openbmc_project::software::Version, 32 class Version; 49 Delete(sdbusplus::bus_t& bus, const std::string& path, Version& parent) : in Delete() 61 Version& parent; 69 class Version : public VersionInherit class 83 Version(sdbusplus::bus_t& bus, const std::string& objPath, in Version() function in phosphor::software::manager::Version
|
| H A D | msl_verify.cpp | 16 int minimum_ship_level::compare(const Version& versionToCompare, in compare() 17 const Version& mslVersion) in compare() 53 Version& outVersion) in parse() 83 Version mslVersion = {0, 0, 0}; in verify() 91 Version actualVersion = {0, 0, 0}; in verify()
|
| H A D | image_manager.cpp | 128 auto version = Version::getValue(manifestPath.string(), "version"); in processImage() 138 std::string currMachine = Version::getBMCMachine(OS_RELEASE_FILE); in processImage() 151 Version::getValue(manifestPath.string(), "MachineName"); in processImage() 174 auto purposeString = Version::getValue(manifestPath.string(), "purpose"); in processImage() 184 sdbusplus::message::convert_from_string<Version::VersionPurpose>( in processImage() 193 auto purpose = convertedPurpose.value_or(Version::VersionPurpose::Unknown); in processImage() 197 Version::getValue(manifestPath.string(), "ExtendedVersion"); in processImage() 201 Version::getRepeatedValues(manifestPath.string(), "CompatibleName"); in processImage() 205 auto id = Version::getId(version + salt); in processImage() 226 auto versionPtr = std::make_unique<Version>( in processImage()
|
| H A D | version.cpp | 30 std::string Version::getValue(const std::string& manifestFilePath, in getValue() 46 std::vector<std::string> Version::getRepeatedValues( in getRepeatedValues() 104 std::string Version::getId(const std::string& version) in getId() 129 std::string Version::getBMCMachine(const std::string& releaseFilePath) in getBMCMachine() 156 std::string Version::getBMCExtendedVersion(const std::string& releaseFilePath) in getBMCExtendedVersion() 180 std::string Version::getBMCVersion(const std::string& releaseFilePath) in getBMCVersion()
|
| /openbmc/openpower-pnor-code-mgmt/ |
| H A D | msl_verify.hpp | 38 struct Version struct in openpower::software::image::MinimumShipLevel 60 void parse(const std::string& versionStr, Version& version); 69 int compare(const Version& a, const Version& b);
|
| H A D | version.hpp | 25 sdbusplus::xyz::openbmc_project::Software::server::Version, 33 class Version; 49 Delete(sdbusplus::bus_t& bus, const std::string& path, Version& parent) : in Delete() 63 Version& parent; 71 class Version : public VersionInherit class 85 Version(sdbusplus::bus_t& bus, const std::string& objPath, in Version() function in openpower::software::updater::Version 99 std::bind(std::mem_fn(&Version::updateDeleteInterface), this, in Version()
|
| H A D | msl_verify.cpp | 23 int MinimumShipLevel::compare(const Version& a, const Version& b) in compare() 55 void MinimumShipLevel::parse(const std::string& versionStr, Version& version) in parse() 166 Version actualVersion = {0, 0, 0}; in verify() 168 Version actualRev = {0, 0, actualVersion.rev}; in verify() 178 Version minVersion = {0, 0, 0}; in verify() 180 Version minRev = {0, 0, minVersion.rev}; in verify()
|
| /openbmc/phosphor-psu-code-mgmt/test/ |
| H A D | test_version.cpp | 8 using phosphor::software::updater::Version; 59 auto ret = Version::getValues("NotExist.file", {""}); in TEST_F() 67 auto ret = Version::getValues(manifestFilePath.string(), in TEST_F() 83 auto ret = Version::getExtVersionInfo(extVersion); in TEST_F() 87 ret = Version::getExtVersionInfo(extVersion); in TEST_F() 97 auto ret = Version::getValues(manifestFilePath.string(), in TEST_F()
|
| /openbmc/phosphor-psu-code-mgmt/src/ |
| H A D | version.hpp | 19 sdbusplus::xyz::openbmc_project::Software::server::Version>; 25 class Version; 41 Delete(sdbusplus::bus_t& bus, const std::string& path, Version& version) : in Delete() 55 Version& version; 63 class Version : public VersionInherit class 75 Version(sdbusplus::bus_t& bus, const std::string& objPath, in Version() function in phosphor::software::updater::Version
|
| H A D | version.cpp | 27 std::map<std::string, std::string> Version::getValues( in getValues() 62 std::string Version::getValue(const std::string& filePath, in getValue() 66 auto values = Version::getValues(filePath, {key}); in getValue() 75 std::map<std::string, std::string> Version::getExtVersionInfo( in getExtVersionInfo()
|
| /openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Software/Version/ |
| H A D | meson.build | 3 sdbusplus_current_path = 'xyz/openbmc_project/Software/Version' 8 '../../../../../yaml/xyz/openbmc_project/Software/Version.errors.yaml', 9 '../../../../../yaml/xyz/openbmc_project/Software/Version.interface.yaml', 31 'xyz/openbmc_project/Software/Version',
|
| /openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
| H A D | configure-nic-mctp-endpoint | 41 …nbmc_project/software/chassis/nic$slot" xyz.openbmc_project.Software.Version Version "s" "$version" 58 …nbmc_project/software/chassis/nic$slot" xyz.openbmc_project.Software.Version Version "s" "$version"
|
| /openbmc/openbmc/poky/meta/conf/machine/include/arm/ |
| H A D | feature-arm-neon.inc | 10 TUNEVALID[vfpv3d16] = "Enable Vector Floating Point Version 3 with 16 registers (vfpv3-d16) unit." 13 TUNEVALID[vfpv3] = "Enable Vector Floating Point Version 3 with 32 registers (vfpv3) unit." 16 TUNEVALID[vfpv4] = "Enable Vector Floating Point Version 4 (vfpv4) unit." 20 TUNEVALID[vfpv4d16] = "Enable Vector Floating Point Version 4 with 16 registers (vfpv4-d16) unit." 23 TUNEVALID[vfpv5spd16] = "Enable Vector Floating Point Version 5, Single Precision. with 16 register…
|
| /openbmc/openbmc/meta-openembedded/meta-oe/licenses/ |
| H A D | UFL | 2 UBUNTU FONT LICENCE Version 1.0 21 "Original Version" refers to the collection of Font Software components 24 "Modified Version" refers to any derivative made by adding to, deleting, 26 Original Version, by changing formats or by porting the Font Software to 34 Software comparing the Original Version with the Modified Version. 59 (a) The Original Version must retain its name, unmodified. 61 avoid use of the name of the Original Version or similar names entirely. 63 renamed to both (i) retain the name of the Original Version and (ii) add 64 additional naming elements to distinguish the Modified Version from the 65 Original Version. The name of such Modified Versions must be the name of [all …]
|
| /openbmc/openbmc-test-automation/oem/nuvoton/ |
| H A D | test_redfish_mcu_fw_update.robot | 66 Redfish Verify MCU Version 75 ${tar_version}= Get Version Tar ${image_file_path} 77 ${image_info}= Get Software Inventory State By Version ${tar_version} 80 …_version}= Redfish.Get Attribute /redfish/v1/UpdateService/FirmwareInventory/${image_id} Version 104 ${image_version}= Get Version Tar ${image_file_path} 105 ${image_info}= Get Software Inventory State By Version ${image_version} 109 Redfish Verify MCU Version ${image_file_path}
|
| H A D | test_ipmi_flash.robot | 33 Verify BIOS Version ${IMAGE_HOST_FILE_PATH_0} 39 Verify BIOS Version ${IMAGE_HOST_FILE_PATH_1} 65 Verify BMC Version ${IMAGE_BMC_FILE_PATH_0} 68 Verify BMC Version ${IMAGE_BMC_FILE_PATH_1} 141 Verify BIOS Version 142 [Documentation] Verify BIOS Version. 148 ${image_version}= Get Version Tar ${image_file_path} 151 ${BIOS_Version}= Get BIOS Version 155 Verify BMC Version 164 ${image_version}= Get Version Tar ${image_file_path} [all …]
|
| /openbmc/phosphor-host-ipmid/oem/example/ |
| H A D | apphandler.cpp | 34 using Version = sdbusplus::server::xyz::openbmc_project::software::Version; typedef 61 ipmi::getAllDbusObjects(*ctx->bus, Version::namespace_path, in getActiveSoftwareVersionInfo() 79 Version::namespace_path); in getActiveSoftwareVersionInfo() 89 auto& versionProps = intfMap.at(Version::interface); in getActiveSoftwareVersionInfo() 94 versionProps.at(Version::property_names::purpose)); in getActiveSoftwareVersionInfo() 98 versionProps.at(Version::property_names::version)); in getActiveSoftwareVersionInfo() 99 if ((Version::convertVersionPurposeFromString(purpose) == in getActiveSoftwareVersionInfo() 100 Version::VersionPurpose::BMC) && in getActiveSoftwareVersionInfo()
|
| /openbmc/openbmc-test-automation/ipmi/ |
| H A D | test_ipmi_systeminfo_parameters.robot | 6 ... 2. System Firmware Version - param 1, 10 ... 6. Present OS Version Number - param 5. 126 Verify System Info System Firmware Version 127 [Documentation] Verify System Firmware Version of System Info Parameter via IPMI, 139 # Set the System Firmware Version of System Info Parameter. 140 Set System Firmware Version ${firmware_version} 141 # Get the response of System Firmware Version, 143 ${fw_version}= Get System Firmware Version 149 Verify Get System Info System Firmware Version With Invalid Data Length 150 …[Documentation] Verify Get System Info Parameter System Firmware Version via IPMI with extra byte… [all …]
|
| /openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Software/ |
| H A D | README.md | 1 # Software Version Management and Image Update 32 all of the properties of `xyz.openbmc_project.Software.Version` and 38 The _ItemUpdater_ is responsible for monitoring for new `Software.Version` 43 `{active_image,software_version}` between the `Software.Version` and 52 `Software.Version` instance (ie. `/xyz/openbmc_project/software/<id>`). This is 61 `xyz.openbmc_project.Software.Version` objects, and appropriate associations for 72 each `Software.Version`. This allows the same software version to be contained 76 `echo <Version.Version> <Compatible.Names> | sha512sum | cut -b 1-8` 87 Early on implementations used the `Software.Version.Purpose` property and a 96 consistent mapping of `Software.Version` instances to the system element the [all …]
|
| /openbmc/openbmc-test-automation/redfish/update_service/ |
| H A D | test_firmware_inventory.robot | 84 Verify BMC Version Matches With FirmwareInventory 89 ${manager_bmc_version}= Get BMC Version 106 # "Version": 2.7.0-dev-19-g9b44ea7 107 IF '${resp_resource.dict["Version"]}' == '${manager_bmc_version.strip('"')}' BREAK 169 Check Redfish Functional Image Version Is Same 172 [Template] Verify Redfish Functional Image Version Is Same 179 Check Redfish Backup Image Version Is Same 183 [Template] Verify Redfish Functional Image Version Is Same 232 Verify Redfish BIOS Version 237 ${pnor_version}= Get PNOR Version [all …]
|