Tony Asleson
2014-09-03 19:24:18 UTC
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libstoragemgmt".
The branch, master has been updated
via cd122dfe8efa74964e694a87660c05b90a7a0b66 (commit)
from 31dd28a86750e5e938529031d39c1a5a9efad7f6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit cd122dfe8efa74964e694a87660c05b90a7a0b66
Author: Gris Ge <***@redhat.com>
Date: Wed Sep 3 18:14:40 2014 +0800
Targetd Plugin: Fix vpd83 of targetd volume
* Target API only expose LVM UUID out. We have to convert it to VPD83 device
id using Linux LIO kernel way:
1. Prefix:
6 001405
- ------
^ ^
| |-- OpenFabric OUI [1]
|
|-- NAA IEEE Registered Extended DESIGNATOR 6h in T10 SPC 4 [2]
2. Extract all [a-f0-9A-F] from UUID out and convert to lower digits.
Example:
UUID: gQTwyb-PoV5-NxWw-gMn1-0u7X-2tGp-8iaV0A
^ ^ ^ ^ ^ ^ ^ ^ ^^
VPD 83 device ID(1h): 6001405b510728a0a000000000000000
^^^^^^^^^^
3. File up to 32 digits with zero.
[1] https://standards.ieee.org/develop/regauth/oui/oui.txt
[2] http://www.t10.org/members/w_spc4.htm
Changes in V2(base on Andy Grover's suggest, many thanks to him):
1. Remove _lio prefix from method name.
2. Add detail explanation into code comments.
3. Remove 'if' check as `'0' * -1` will get a empty string.
Signed-off-by: Gris Ge <***@redhat.com>
-----------------------------------------------------------------------
Summary of changes:
plugin/targetd/targetd.py | 29 ++++++++++++++++++++++++++++-
1 files changed, 28 insertions(+), 1 deletions(-)
hooks/post-receive
generated because a ref change was pushed to the repository containing
the project "libstoragemgmt".
The branch, master has been updated
via cd122dfe8efa74964e694a87660c05b90a7a0b66 (commit)
from 31dd28a86750e5e938529031d39c1a5a9efad7f6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit cd122dfe8efa74964e694a87660c05b90a7a0b66
Author: Gris Ge <***@redhat.com>
Date: Wed Sep 3 18:14:40 2014 +0800
Targetd Plugin: Fix vpd83 of targetd volume
* Target API only expose LVM UUID out. We have to convert it to VPD83 device
id using Linux LIO kernel way:
1. Prefix:
6 001405
- ------
^ ^
| |-- OpenFabric OUI [1]
|
|-- NAA IEEE Registered Extended DESIGNATOR 6h in T10 SPC 4 [2]
2. Extract all [a-f0-9A-F] from UUID out and convert to lower digits.
Example:
UUID: gQTwyb-PoV5-NxWw-gMn1-0u7X-2tGp-8iaV0A
^ ^ ^ ^ ^ ^ ^ ^ ^^
VPD 83 device ID(1h): 6001405b510728a0a000000000000000
^^^^^^^^^^
3. File up to 32 digits with zero.
[1] https://standards.ieee.org/develop/regauth/oui/oui.txt
[2] http://www.t10.org/members/w_spc4.htm
Changes in V2(base on Andy Grover's suggest, many thanks to him):
1. Remove _lio prefix from method name.
2. Add detail explanation into code comments.
3. Remove 'if' check as `'0' * -1` will get a empty string.
Signed-off-by: Gris Ge <***@redhat.com>
-----------------------------------------------------------------------
Summary of changes:
plugin/targetd/targetd.py | 29 ++++++++++++++++++++++++++++-
1 files changed, 28 insertions(+), 1 deletions(-)
hooks/post-receive
--
libstoragemgmt
libstoragemgmt