2 Commits

Author SHA1 Message Date
Lin Tan
ddaa2d37b8 Follow-up patch of 0607226fc4b4bc3c9e1738dc3f78ed99e5d4f13d
A follow-up patch of 0607226fc4b4bc3c9e1738dc3f78ed99e5d4f13d
to correct typos.

Change-Id: I3258cd8c972501a70d0b0f7f74184a15215d6f51
2016-04-19 11:29:32 +08:00
Lin Tan
0607226fc4 Adopt Ironic's own context
Adopt Ironic's own context in Ironic and add tests.

Refactor ensure_thread_contain_context to Ironic's own context class,
this will be more generical and not bind to TaskManager anymore.

Explicitly call ensure_thread_contain_context() in Inspector driver for
inspect hardware action.

Change-Id: Ic2bb16a2deb02054b4fca795d431c965e30a246f
Closes-Bug: #1560264
2016-04-01 14:51:39 +08:00