Pick up Control Host interface
This commit enables pimgen.py to pick up
com/ibm interface(s).
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
Change-Id: I578de811c512e6df5082893f83a8986dabcbb9d0
diff --git a/pimgen.py b/pimgen.py
index 0bc39ca..afe29ec 100755
--- a/pimgen.py
+++ b/pimgen.py
@@ -602,7 +602,11 @@
for y in yaml_files:
# parse only phosphor dbus related interface files
- if not y.startswith("xyz"):
+ if not (
+ y.startswith("xyz")
+ or y.startswith("com/ibm/ipzvpd")
+ or y.startswith("com/ibm/Control/Host")
+ ):
continue
with open(os.path.join(targetdir, y)) as fd:
i = y.replace(".interface.yaml", "").replace(os.sep, ".")