Reviewed: https://review.openstack.org/389359 Committed: https://git.openstack.org/cgit/openstack/python-dracclient/commit/?id=af0894134fb210090120b3c62cbdde4a8d080939 Submitter: Jenkins Branch: master
commit af0894134fb210090120b3c62cbdde4a8d080939 Author: Anish Bhatt <email address hidden> Date: Thu Sep 29 14:49:34 2016 -0700
Don't assume FQDD naming
Splitting on fixed number of colons breaks in this case :
Disk.Bay.0:Enclosure.Internal.0-1:RAID.Integrated.1-1 Disk.Bay.1:Enclosure.Internal.0-1:RAID.Integrated.1-1 Disk.Bay.2:Enclosure.Internal.0-1:RAID.Integrated.1-1 Disk.Bay.3:Enclosure.Internal.0-1:RAID.Integrated.1-1 Disk.Direct.4:RAID.Integrated.1-1 Disk.Direct.5:RAID.Integrated.1-1
Split from right instead, doesn't fail
Partial-Bug: #1586545
Change-Id: Ib4ca517388c48ade321451cb8af07abb731e5940
Reviewed: https:/ /review. openstack. org/389359 /git.openstack. org/cgit/ openstack/ python- dracclient/ commit/ ?id=af0894134fb 210090120b3c62c bdde4a8d080939
Committed: https:/
Submitter: Jenkins
Branch: master
commit af0894134fb2100 90120b3c62cbdde 4a8d080939
Author: Anish Bhatt <email address hidden>
Date: Thu Sep 29 14:49:34 2016 -0700
Don't assume FQDD naming
Splitting on fixed number of colons breaks in this case :
Disk. Bay.0:Enclosure .Internal. 0-1:RAID. Integrated. 1-1 Bay.1:Enclosure .Internal. 0-1:RAID. Integrated. 1-1 Bay.2:Enclosure .Internal. 0-1:RAID. Integrated. 1-1 Bay.3:Enclosure .Internal. 0-1:RAID. Integrated. 1-1 Direct. 4:RAID. Integrated. 1-1 Direct. 5:RAID. Integrated. 1-1
Disk.
Disk.
Disk.
Disk.
Disk.
Split from right instead, doesn't fail
Partial-Bug: #1586545
Change-Id: Ib4ca517388c48a de321451cb8af07 abb731e5940