Power policy: Determine old or new location.

The Power Policy value is moving from its old location:

/org/openbmc/settings/host0/attr/power_policy

To a new location:

/xyz/openbmc_project/control/host0/power_restore_policy/attr/PowerRestorePolicy

This change allows power policy keywords to figure out whether the new
location is legitimate.  If so, it will read/write the value using the
new location.

Change-Id: I0cba136219ad22e47ff2c58a6d0b6dacec4e7451
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
4 files changed