storage: add SetConnection to iscsi-direct backend
The code to set the connection and connect using libiscsi will always be the same. Add function to avoid code duplication. Signed-off-by: NClementine Hayat <clem@lse.epita.fr> Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
Showing
想要评论请 注册 或 登录