<html><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><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:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
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;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hello, <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I was planning on adding multiple physical functions using the built in SR-IOV features offered by libvirt to a create a bigger pool of virtual functions using the  <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><forward mode='hostdev' managed='yes'> heading<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>(I want to be able to use more virtual machines then there are virtual functions available on an ethernet port).<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>As soon as I try to define multiple physical functions in a pool, I get this error:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>error: Failed to define network from biggernetwork.xml<o:p></o:p></p><p class=MsoNormal>error: XML error: Only one <pf> element is allowed in <forward> of network bigger network<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> when using this command: <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>sudo virsh net-define biggernetwork.xml<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>on the following XML document:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><network><o:p></o:p></p><p class=MsoNormal>   <name>bigger network</name><o:p></o:p></p><p class=MsoNormal>   <forward mode='hostdev' managed='yes'><o:p></o:p></p><p class=MsoNormal>    <pf dev='eth5'/><o:p></o:p></p><p class=MsoNormal>    <pf dev='eth7'/><o:p></o:p></p><p class=MsoNormal>   </forward><o:p></o:p></p><p class=MsoNormal> </network><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>It seems that you are not able to add multiple physical functions to this network to create a pool of more virtual functions.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Is there anyway that you can do this using that I am missing? I seem to be looking at the documentation and there seems to be nothing related to this. I think this would be extremely useful and would make automate adding virtual functions to virtual machines much easier to manage.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks in advance,<o:p></o:p></p><p class=MsoNormal>Faris<o:p></o:p></p></div><br /><br /><span style="font-family:Arial; Font-size:8.0pt"> <hr /> Notice: This e-mail together with any attachments may contain information of Ribbon Communications Inc. that is confidential and/or proprietary for the sole use of the intended recipient.  Any review, disclosure, reliance or distribution by others or forwarding without express permission is strictly prohibited.  If you are not the intended recipient, please notify the sender immediately and then delete all copies, including any attachments.<hr /> </span></body></html>