@@ -23,9 +23,9 @@ methods:
23
23
Value to be updated for the keyword.
24
24
errors :
25
25
- xyz.openbmc_project.Common.Error.InvalidArgument
26
- - com.ibm.VPD.Error.PathNotFound
27
- - com.ibm.VPD.Error.RecordNotFound
28
- - com.ibm.VPD.Error.KeywordNotFound
26
+ - com.ibm.VPD.VPD. Error.PathNotFound
27
+ - com.ibm.VPD.VPD. Error.RecordNotFound
28
+ - com.ibm.VPD.VPD. Error.KeywordNotFound
29
29
30
30
- name : GetFRUsByUnexpandedLocationCode
31
31
description : >
@@ -49,8 +49,8 @@ methods:
49
49
code.
50
50
errors :
51
51
- xyz.openbmc_project.Common.Error.InvalidArgument
52
- - com.ibm.VPD.Error.LocationNotFound
53
- - com.ibm.VPD.Error.NodeNotFound
52
+ - com.ibm.VPD.VPD. Error.LocationNotFound
53
+ - com.ibm.VPD.VPD. Error.NodeNotFound
54
54
55
55
- name : GetFRUsByExpandedLocationCode
56
56
description : >
@@ -69,8 +69,8 @@ methods:
69
69
code.
70
70
errors :
71
71
- xyz.openbmc_project.Common.Error.InvalidArgument
72
- - com.ibm.VPD.Error.LocationNotFound
73
- - com.ibm.VPD.Error.NodeNotFound
72
+ - com.ibm.VPD.VPD. Error.LocationNotFound
73
+ - com.ibm.VPD.VPD. Error.NodeNotFound
74
74
75
75
- name : GetExpandedLocationCode
76
76
description : >
@@ -94,45 +94,12 @@ methods:
94
94
Location code in expanded format.
95
95
errors :
96
96
- xyz.openbmc_project.Common.Error.InvalidArgument
97
- - com.ibm.VPD.Error.LocationNotFound
98
- - com.ibm.VPD.Error.NodeNotFound
97
+ - com.ibm.VPD.VPD. Error.LocationNotFound
98
+ - com.ibm.VPD.VPD. Error.NodeNotFound
99
99
100
100
- name : PerformVPDRecollection
101
101
description : >
102
102
An api to check for FRUs replaced and if required, perform
103
103
recollection of VPD data for them.
104
104
errors :
105
105
- xyz.openbmc_project.Common.Error.InvalidArgument
106
-
107
- - name : deleteFRUVPD
108
- description : >
109
- An api to delete VPD of a given FRU and set its Present property as
110
- false on DBus. This api is to be called before requesting VPD parser
111
- to collect VPD of any given FRU in case of concurrent maintenance.
112
- parameters :
113
- - name : inventoryPath
114
- type : object_path
115
- description : >
116
- Dbus path of the FRU whose VPD needs to be removed.
117
- errors :
118
- - xyz.openbmc_project.Common.Error.InvalidArgument
119
-
120
- - name : CollectFRUVPD
121
- description : >
122
- An api to collect VPD of a given FRU by launching the parser exe
123
- asynchronously. It can be used to collect VPD of any given FRU in case
124
- of concurrent maintenance. As a pre-requisite for this api,
125
- deleteFRUVPD api needs to be called for that particular FRU. As this
126
- api makes async call to the parser, caller needs to register for
127
- Present property change signal for that FRU on DBus to ensure
128
- successful execution of VPD parser for that FRU. The caller is also
129
- suggested to have a timer of around two mins at their end and in case
130
- the present property is not set to true in that timeline, can mark the
131
- call as failed.
132
- parameters :
133
- - name : inventoryPath
134
- type : object_path
135
- description : >
136
- Dbus path of the FRU whose VPD needs to be collected.
137
- errors :
138
- - xyz.openbmc_project.Common.Error.InvalidArgument
0 commit comments