f2462f0f | 19-Jan-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
elog-gen.py : implement error inheritance
If an error inherits another error (via the error YAML interface), have the child error inherit parent's metadata. Only single inheritance is supported as o
elog-gen.py : implement error inheritance
If an error inherits another error (via the error YAML interface), have the child error inherit parent's metadata. Only single inheritance is supported as of now.
Change-Id: I9ff295f4db04a9c5389f66e04f5d28287f9628a9 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
5d1aace6 | 18-Jan-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
elog-gen.py : order inherited errors
The elog-gen.py script should process errors such that the generated code has definitions for parent errors before their child errors are defined.
Change-Id: I0
elog-gen.py : order inherited errors
The elog-gen.py script should process errors such that the generated code has definitions for parent errors before their child errors are defined.
Change-Id: I035292731346bdba969f549c7e4033066814890f Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
cbd12c8f | 17-Jan-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
elog-gen.py : check error inheritance
Check if errors that are being inherited from have their interfaces defined. Throw an error if not.
Change-Id: I13c6b844ef46eef7fead7a5f8ae1d8b56d914ecf Signed
elog-gen.py : check error inheritance
Check if errors that are being inherited from have their interfaces defined. Throw an error if not.
Change-Id: I13c6b844ef46eef7fead7a5f8ae1d8b56d914ecf Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
82b7de7e | 17-Jan-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
elog-gen.py : get inherited-from error
Openbmc error interfaces can inherit other error interfaces, thereby allowing to combine metadata across errors. The current implementation would support singl
elog-gen.py : get inherited-from error
Openbmc error interfaces can inherit other error interfaces, thereby allowing to combine metadata across errors. The current implementation would support single inheritance only.
This first commit related to error inheritance implementation lets elog-gen.py figure out an error's parent.
Change-Id: Ia5c44de755e777e0cb2725afa5988c97283d10f0 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
160d3e0b | 17-Jan-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
elog-gen.py : read multiple error yaml files
This change enables the elog-gen script to look at more than one error yaml file (and corresponding metadata yaml file). The input to the script had to b
elog-gen.py : read multiple error yaml files
This change enables the elog-gen script to look at more than one error yaml file (and corresponding metadata yaml file). The input to the script had to be changed to a yaml directory, containing error yaml files, instead of a single error yaml file.
The reason to support reading multiple error yaml files is that, without this, applications have to all dump their errors in a single big error yaml file. Now it's possible to write application/domain specific error yaml files; they just need to be exported to the same location, from where elog-gen.py can pick them.
Change-Id: I9418bf0e0b54a7b7f7701b337649cb8eb4c54913 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
9916119f | 16-Jan-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
Fix types in error-logging YAML to match openbmc standards
Change-Id: If5e2e534740f0675ba9294905ae531e015aed85a Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> |
d310378f | 16-Jan-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
Rename <Interface>.logging.yaml to <Interface>.metadata.yaml
This change is just for brevity.
Change-Id: Ie2360b19179837a1dc3675e96a4adcc2114f2bc6 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.c
Rename <Interface>.logging.yaml to <Interface>.metadata.yaml
This change is just for brevity.
Change-Id: Ie2360b19179837a1dc3675e96a4adcc2114f2bc6 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
e8596300 | 21-Nov-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Break elog yaml files into two pieces
This is the final piece to supporting the phosphor-dbus-interfaces design where the errors are defined in one yaml file and their corresponding meta data is def
Break elog yaml files into two pieces
This is the final piece to supporting the phosphor-dbus-interfaces design where the errors are defined in one yaml file and their corresponding meta data is defined within another file.
Change-Id: Idd2e18c1fd82fccb1298a2570a484deb382954f8 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
f1f2cfa9 | 21-Nov-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Base error log namespaces on yaml file path
This is another step in the direction of getting us to support the error yaml file as it will be defined in the phosphor-dbus-interfaces repo.
Change-Id:
Base error log namespaces on yaml file path
This is another step in the direction of getting us to support the error yaml file as it will be defined in the phosphor-dbus-interfaces repo.
Change-Id: Ib437bea920f511bdbf541c3e2653bbf35a83fe92 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
33ff62a2 | 21-Nov-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Move the phosphor logging example yaml into sub directory
The real yaml will be defined in the phosphor-dbus-interfaces repo. This one will be an example one and used for testing. Future commits wi
Move the phosphor logging example yaml into sub directory
The real yaml will be defined in the phosphor-dbus-interfaces repo. This one will be an example one and used for testing. Future commits will refactor it to separate the error def from the meta data.
Change-Id: Id05f935cbc24fb030e2ba378423ef3261bf5f7fb Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
5e81bfb4 | 21-Nov-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Address new yaml format changes introduced by sdbusplus commit 7d7fda5
Patrick's commit for exceptions had a few tweaks to the yaml file format. This commit updates elog_gen.py to support them.
Ch
Address new yaml format changes introduced by sdbusplus commit 7d7fda5
Patrick's commit for exceptions had a few tweaks to the yaml file format. This commit updates elog_gen.py to support them.
Change-Id: I59261ab0fddefde67304cbb394c74b9c9c5e496f Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
efb31c45 | 15-Nov-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Move header generation tool and templates to sub-directories
This is being done to prep for exporting the tools and templates to be used by other repos
Change-Id: Ia93166ade2a0361eca86cde123875b95a
Move header generation tool and templates to sub-directories
This is being done to prep for exporting the tools and templates to be used by other repos
Change-Id: Ia93166ade2a0361eca86cde123875b95a44a1ef3 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|