Reviewed: https://review.openstack.org/326635 Committed: https://git.openstack.org/cgit/openstack/os-win/commit/?id=111db692aee566ba63041f993d6e16237ed9abde Submitter: Jenkins Branch: master
commit 111db692aee566ba63041f993d6e16237ed9abde Author: Lucian Petrut <email address hidden> Date: Tue Jun 7 19:06:11 2016 +0300
Add method for checking whether a share is local
Mounting loopback highly available shares is not supported.
The Hyper-V Nova driver needs a way to check whether a share is local and use the local path in that case.
This change adds a method that attempts to resolve the share server address and compare the IPs with the local IPs.
In case of a share exposed by a Scale-Out server, we'll use the Distributed Node Name of the share, which points to all the nodes of the cluster.
ddt is added as a requirement.
Change-Id: I04ac0b514ccac9c910728da205f0f0f11b43509a Partial-Bug: #1580122
Reviewed: https:/ /review. openstack. org/326635 /git.openstack. org/cgit/ openstack/ os-win/ commit/ ?id=111db692aee 566ba63041f993d 6e16237ed9abde
Committed: https:/
Submitter: Jenkins
Branch: master
commit 111db692aee566b a63041f993d6e16 237ed9abde
Author: Lucian Petrut <email address hidden>
Date: Tue Jun 7 19:06:11 2016 +0300
Add method for checking whether a share is local
Mounting loopback highly available shares is not supported.
The Hyper-V Nova driver needs a way to check whether a share is
local and use the local path in that case.
This change adds a method that attempts to resolve the share server
address and compare the IPs with the local IPs.
In case of a share exposed by a Scale-Out server, we'll use the
Distributed Node Name of the share, which points to all the nodes
of the cluster.
ddt is added as a requirement.
Change-Id: I04ac0b514ccac9 c910728da205f0f 0f11b43509a
Partial-Bug: #1580122