<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB">Hi All,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">We are planning to support multiple Virtual media redirection support simultaneously.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">The below is the proposed design.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span lang="EN-GB" style="font-size:12.0pt">Existing Virtual media implementation:<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">WebUI is having single browse slot. It is used to redirect any kind of media, which can be either
<b>CD</b> or <b>HDD</b> media instance.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">It is mapped with <b>“/vm/0/0”</b> API endpoint, and media endpoint is hardcoded to
<b>0</b>(Zero).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Virtual media is using <b>“/dev/nbd0”</b> device, and Dump offload is using
<b>“/dev/nbd1”</b> device. It is parsing from the jsnbd configuration file.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><u><span lang="EN-GB" style="font-size:12.0pt">Enhancement: Multiple simultaneous media redirections feature in single WebUI session.<o:p></o:p></span></u></b></p>
<p class="MsoNormal"><b><span lang="EN-GB"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-GB">WebUI will have two different browse slots to select the file, (i.e., )
<b>Virtual media device – HDD</b> and <b>Virtual media device – CD</b>. Both slots will support media redirection concurrently.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Virtual media device – HDD slot is mapped through
<b>“/vm/0/0”</b> API endpoint and media endpoint is <b>0</b>(zero) which is used for initiating the proxy handler, which is present in
<b>bmcweb</b> package.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">HDD slot will use <b>“/dev/nbd0”</b> device for
<b>HDD </b>media instance redirection.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Virtual media device – CD slot is mapped through
<b>“/vm/0/1”</b> API endpoint and media endpoint is <b>1</b>(one) which is used for initiating the proxy handler, which is present in
<b>bmcweb</b> package.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">CD slot will use <b>“/dev/nbd1”</b> device for
<b>CD</b> media instance redirection.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Dump offload will use “/dev/nbd2” device. It is also parsing the nbd device from jsnbd configuration file.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Configuration file looks like,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><img width="504" height="385" style="width:5.25in;height:4.0083in" id="Picture_x0020_1" src="cid:image001.jpg@01D80639.FCBD3330"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-GB">This is an extension with what the community has implemented and I hope, it does not have any regression or conflict with others who are using virtual media and nbd devices.<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-GB">Please help to review the proposed implementation, so that, I can go ahead with implementing the enhancement.
<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Dinesh E<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
-The information contained in this message may be confidential and proprietary to American Megatrends (AMI). This communication is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message
 is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. Please promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and then delete or destroy all copies of the transmission.
</body>
</html>