Fixing main as the plugin was still being retrieved with get_manager. That method is now get_plugin
res = client.attach_resource(nid, pid, data)
except Exception, e:
LOG.error("Failed to plug iface \"%s\" to port \"%s\": %s" % (vid,
- pid, output))
+ pid, e))
return
LOG.debug(res)
print "Plugged interface \"%s\" to port:%s on network:%s" % (vid, pid, nid)
commands[cmd]["api_func"](client, *args)
else:
quantum = QuantumManager()
- manager = quantum.get_manager()
+ manager = quantum.get_plugin()
commands[cmd]["func"](manager, *args)
sys.exit(0)