Commit 2fd95aee authored by Chad Barb's avatar Chad Barb

NOT TESTED; NOT READY FOR PRIME TIME.

Archived here for backup/review purposes.

Initial version; unifies tbswapout and tbswapin into one
script.

Should be just like tbswapin/out except:
tbswapin  foo bar => tbswap in  foo bar
tbswapout foo bar => tbswap out foo bar

The main win here is that doSwapin() is a function, as is doSwapout().
If doSwapin() fails, actual doSwapout() code can be called.

Also includes retry framework
(functionalizing doSwapin and doSwapout makes retrying much cleaner.)
parent 845f610b
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment