4138: Revamp Node Manager driver proxying in BaseComputeNodeDriver.
authorBrett Smith <brett@curoverse.com>
Fri, 13 Feb 2015 20:24:04 +0000 (15:24 -0500)
committerBrett Smith <brett@curoverse.com>
Tue, 17 Feb 2015 22:49:24 +0000 (17:49 -0500)
commitd32bbed004b76333c3e72e6c1f97dcde88e11edd
tree1f597d2d9f6b608ef28d3bd4e5c1281fce5900c2
parentc51fe8e859262a8c534c2d3265fabe54555ac462
4138: Revamp Node Manager driver proxying in BaseComputeNodeDriver.

Accessing attributes through a super() proxy does not invoke
__getattr__ on base classes, so the old implementation made it
impossible for subclasses to be agnostic about whether a method was
implemented in BaseComputeNodeDriver or the real libcloud driver.
This version makes that possible.  It's also a little nicer because
now the class will report these method names to dir(), hasattr(), etc.
services/nodemanager/arvnodeman/computenode/driver/__init__.py