1# compare_vpd
2
3## Description
4Compares a VPD (Vital Product Data) keyword value to an expected value.
5
6The following keywords are currently supported:
7* CCIN
8* Manufacturer
9* Model
10* PartNumber
11
12## Properties
13| Name | Required | Type | Description |
14| :--- | :------: | :--- | :---------- |
15| fru | yes | string | Field-Replaceable Unit (FRU) that contains the VPD.  Specify the D-Bus inventory path of the FRU. |
16| keyword | yes | string | VPD keyword.  Specify one of the following: "CCIN", "Manufacturer", "Model", "PartNumber". |
17| value | yes | string | Expected value. |
18
19## Return Value
20Returns true if the keyword value equals the expected value, otherwise returns
21false.
22
23## Example
24```
25{
26  "comments": [ "Check if disk backplane has CCIN value 2D35" ],
27  "compare_vpd": {
28    "fru": "/system/chassis/disk_backplane",
29    "keyword": "CCIN",
30    "value": "2D35"
31  }
32}
33```
34