Move the "switch on host protection" logic from the repair control
segment into an abstract method in Host. This will allow code other
than the repair control file to make use of the protection level
logic.

Risk: Medium
Visibility: Moves some code from the canned control segments into the
Host class itself.

Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3745 592f7852-d20e-0410-864c-8624ca9c26a4
2 files changed