<div dir="ltr"><div><div class="gmail_extra"><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="line-height:normal">On Tue, Sep 6, 2016 at 8:11 AM, Galyna Zholtkevych </span><span dir="ltr" style="line-height:normal"><<a href="mailto:gzholtkevych@mirantis.com" target="_blank">gzholtkevych@mirantis.com</a>></span><span style="line-height:normal"> wrote:</span><br></p><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">Dear all,</span></p><br><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">Ironic community needs a help to decide on the specification</span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">of the openstack client command that provide the same functionality as</span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">'ironic driver-raid-logical-disk-<wbr>properties' . </span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">Some propositions violate openstack client conventions for a user.</span></p><br><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">For now the available propositions are:</span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">    </span><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">* openstack baremetal driver raid-logical-disk-properties show</span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">    </span><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">* openstack baremetal driver show --raid-logical-disk-properties</span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">    </span><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">* openstack baremetal driver raid logical disk properties show</span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">    </span><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">* openstack baremetal driver show raid-logical-disk-properties</span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">    </span><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">* openstack baremetal driver show raid logical-disk-properties</span></p><br><br><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;background-color:transparent">Reference to the appropriate discussion:</span><a style="text-decoration:none" href="https://bugs.launchpad.net/python-ironicclient/+bug/1619052" target="_blank"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:none;vertical-align:baseline;background-color:transparent"> </span><span style="font-size:14.6667px;font-family:arial;color:rgb(17,85,204);font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;text-decoration:underline;vertical-align:baseline;background-color:transparent">https://bugs.launchpad.net/<wbr>python-ironicclient/+bug/<wbr>1619052</span></a></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt" dir="ltr"><br></p></div></blockquote></div><br></div></div><div class="gmail_extra">Hi Galyna,<div><br></div><div>Thanks for asking. These two won't work because 'openstack baremetal driver show' exists as a command, and the code won't be able to interpret these as different commands:</div><div><div class="gmail_extra"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent">   </span><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent">* openstack baremetal driver show raid-logical-disk-properties</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent">   </span><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent">* openstack baremetal driver show raid logical-disk-properties</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent"><br></span></p><p style="margin-top:0pt;margin-bottom:0pt"><font color="#000000" face="arial"><span style="font-size:14.6667px;line-height:20.24px">I think the OSC way is to use English so of these two, probably the second one is the right way:</span></font></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="line-height:normal;font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent">    </span><span style="line-height:normal;font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent">* openstack baremetal driver raid-logical-disk-properties show</span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent">    </span><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent">* openstack baremetal driver raid logical disk properties show</span><br></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent"><br></span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent">My preference is:</span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent">    </span><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent">* openstack baremetal driver show --raid-logical-disk-properties</span><br></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent"><br></span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent">because we already have 'openstack baremetal driver show' as a command, and other than wanting to see a description of the logical disk properties, the only other command related to the disk properties is 'openstack baremetal node set --target-raid-config'.</span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent"><br></span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent">The problem, though, is that this only shows the disk properties, nothing else about the driver. The information is different, so that trying to use this command to show the driver information AND the disk property descriptions, doesn't make sense either.</span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent"><br></span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent">If we thought that we might have some 'openstack baremetal driver raid <something-else>' command in the future, then 'openstack baremetal driver raid logical disk properties show' might make more sense. (Now I'm leaning towards this one.)</span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent"><br></span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent">Do we really want a way for the user to get this information? Another choice is not to provide any command for this. (Just kidding.)</span></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><br></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6667px;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;background-color:transparent">--ruby</span></p></div></div></div></div>