<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">于 2014年03月21日 18:31, Gouzongmei 写道:<br>
    </div>
    <blockquote
cite="mid:9C68F34C9BE05144BF869F8143852E544D604053@szxema506-mbx.china.huawei.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@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;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Calibri","sans-serif";}
h4
        {mso-style-priority:9;
        mso-style-link:"\6807\9898 4 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:SimSun;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML \9884\8BBE\683C\5F0F Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.4Char
        {mso-style-name:"\6807\9898 4 Char";
        mso-style-priority:9;
        mso-style-link:"\6807\9898 4";
        font-family:SimSun;
        font-weight:bold;}
span.mw-headline
        {mso-style-name:mw-headline;}
span.HTMLChar
        {mso-style-name:"HTML \9884\8BBE\683C\5F0F Char";
        mso-style-priority:99;
        mso-style-link:"HTML \9884\8BBE\683C\5F0F";
        font-family:SimSun;}
.MsoChpDefault
        {mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.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]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">Hi,
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">I
            have a problem when reading the wiki below, which is based
            on the latest SRIOV design.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><a
              moz-do-not-send="true"
href="https://wiki.openstack.org/wiki/PCI_passthrough_SRIOV_support#API_interface">https://wiki.openstack.org/wiki/PCI_passthrough_SRIOV_support#API_interface</a><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">My problem is about </span><span
            style="font-size:11.0pt;color:#333333" lang="EN-US">the “<i>PCI
              SRIOV with tagged flavor”</i> part.</span><span
            lang="EN-US"><o:p></o:p></span></p>
        <h4
style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;line-height:15.0pt;background:white"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#333333;font-weight:normal"
            lang="EN-US">In “pci_information =  { { 'device_id': "8086",
            'vendor_id': "000[1-2]" }, { 'e.physical_network': 'X' } }”
            , I’m confused what is the “e.physical_network”, if it means
            a network resource, why we need to filter the assignable
            nics by a network resource?</span></h4>
      </div>
    </blockquote>
    this it for the Neutron SRIOV, a physical netowrk is a attribute
    added to a pci device. if you want allocated a nic from pci, you
    must ensure we get a PCI device which does connect to the correct
    physical network as same as Neutron defined. <br>
    <blockquote
cite="mid:9C68F34C9BE05144BF869F8143852E544D604053@szxema506-mbx.china.huawei.com"
      type="cite">
      <div class="WordSection1">
        <h4
style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;line-height:15.0pt;background:white"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#333333;font-weight:normal"
            lang="EN-US"><o:p></o:p></span></h4>
        <h4
style="mso-margin-top-alt:7.5pt;margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;line-height:15.0pt;background:white"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#333333;font-weight:normal"
            lang="EN-US">Can you please tell me more about the
            “physical_network” here, thanks a lot.
            <o:p></o:p></span></h4>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;color:#333333" lang="EN-US">In<b> “</b>{'e.physical_netowrk':'X',
            'count': 1 }<b>”</b>, I think the “count” means the count of
            virtual nics a SRIOV nic can support, is that right?</span><b><span
              style="font-size:11.0pt" lang="EN-US"><o:p></o:p></span></b></p>
      </div>
    </blockquote>
    yes.<br>
    <blockquote
cite="mid:9C68F34C9BE05144BF869F8143852E544D604053@szxema506-mbx.china.huawei.com"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">In
            the last step while booting a vm with a virtual nic, the
            command is “nova boot  mytest  --flavor m1.tiny 
            --image=cirros-0.3.1-x86_64-uec  --nic  net-id=network_X 
            pci_flavor= '1:phyX_NIC;'”.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">I
            noticed that, “pci_flavor” is prompted while there already
            has the m1.tiny flavor, will the “pci_flavor” be separated
            from the normal flavor in the next step?</span></p>
      </div>
    </blockquote>
    yes. but not mean the pci_flavor is separated from normal flavor, 
    the flavor is the original alias with api support. we rename to
    pci_flavor because it's just for pci and the flaovr things much more
    OS style.<br>
    <br>
    hope help you.<br>
    <br>
    Yongli He<br>
    <blockquote
cite="mid:9C68F34C9BE05144BF869F8143852E544D604053@szxema506-mbx.china.huawei.com"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">Thanks
             <o:p></o:p></span></p>
      </div>
    </blockquote>
    <br>
  </body>
</html>