]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
RPC client lazy initialization
authorIvan Kolodyazhny <e0ne@e0ne.info>
Wed, 6 Aug 2014 10:58:43 +0000 (13:58 +0300)
committerIvan Kolodyazhny <e0ne@e0ne.info>
Wed, 6 Aug 2014 19:45:36 +0000 (22:45 +0300)
commitd02f79b2043869d98c7ccdcc650206a3b2ed13e6
treee47a807f29834554f4f7cc37c946f30702faae22
parent07534bef77704e03f73e34adea594f06c09adcda
RPC client lazy initialization

All *Command classes are instantiating for each cinder-manage command
execution. RPC client should be initialized for VolumeCommands usage.
Some custom RPC clients (oslo.messaging backends) could init RPC
connection after client initialization so it is no need to create RPC
client for every cinder-manage command invoke.

Related-Bug: #1348787
Change-Id: I7b3388dded6eeec972d9949538e1608c3a538734
bin/cinder-manage