-
-
Save mgagne/078859de7bd8e3e8e93e64f9cf756ad0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AgileServerDriver(driver.IronicDriver): | |
def _node_resource(self, node): | |
resource_dict = super(AgileServerDriver, self)._node_resource(node) | |
resource_dict['stats'].update({ | |
k: node.properties[k] for k in node.properties | |
if k in CONF.agile_server.inheritable_host_properties}) | |
return resource_dict |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment