Comment 1 for bug 1359617

Revision history for this message
Daniel Berrange (berrange) wrote :

It seems the problem here is that we're overloading the 'connect' method to serve two jobs - do the host OS integration/setup tasks, and return the XML config. I wonder if this is a sign we need to change volume.py to be more like vif.py

By that I mean, when connecting VIFs we have separate 'plug' and 'get_config' methods - the former does the host OS setup and must only be called once and the latter is idempotent for getting XML config.