Code update compatibility check

The aim here is to seamlessly make code update available for both
old interface and new (i.e. "org" and "xyz").

The logic is based on if the old org power control path exists.
If it does exist, continue to use the old keywords, else switch to
new xyz keywords.

Resolves openbmc/openbmc-test-automation#306

Change-Id: I05829f61538e26bbc4b3724d2e6f64fd5b670832
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
2 files changed