<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)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:179896586;
        mso-list-type:hybrid;
        mso-list-template-ids:569246274 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1
        {mso-list-id:1357347427;
        mso-list-type:hybrid;
        mso-list-template-ids:-199302684 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l1:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l1:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l2
        {mso-list-id:1572546620;
        mso-list-type:hybrid;
        mso-list-template-ids:1953759260 67698709 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l2:level1
        {mso-level-number-format:alpha-upper;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:.75in;
        text-indent:-.25in;}
@list l2:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:1.25in;
        text-indent:-.25in;}
@list l2:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:1.75in;
        text-indent:-9.0pt;}
@list l2:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:2.25in;
        text-indent:-.25in;}
@list l2:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:2.75in;
        text-indent:-.25in;}
@list l2:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:3.25in;
        text-indent:-9.0pt;}
@list l2:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:3.75in;
        text-indent:-.25in;}
@list l2:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:4.25in;
        text-indent:-.25in;}
@list l2:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:4.75in;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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"><span style="color:#0070C0"> Hello OVS,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"> I am Pete Hummon, a development engineer who is trying to develop an IPFIX collector; this collector would monitor IPFX exports from our OVS bridges. I’ve encountered what I think may be a bug in the
</span><span style="font-family:"Courier New"">ovs-vsctl – set bridge myBridge ipfix</span><span style="color:#0070C0"> command.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"> I will try to provide lots of detail. To keep this email organized, I’ll divide my information up into mini-sections:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<ul style="margin-top:0in" type="disc">
<li class="MsoListParagraph" style="color:#0070C0;margin-left:0in;mso-list:l1 level1 lfo2">
<b><i>My OVS Bridge<o:p></o:p></i></b></li><li class="MsoListParagraph" style="color:#0070C0;margin-left:0in;mso-list:l1 level1 lfo2">
<b><i>My Traffic Test<o:p></o:p></i></b></li><li class="MsoListParagraph" style="color:#0070C0;margin-left:0in;mso-list:l1 level1 lfo2">
<b><i>Analyzing The Test :: Bug 1 :: Cache Active Timeout Not Working Properly?<o:p></o:p></i></b></li><li class="MsoListParagraph" style="color:#0070C0;margin-left:0in;mso-list:l1 level1 lfo2">
<b><i>Analyzing The Test :: Bug 2 :: Byte Totals Multiplied By N?<o:p></o:p></i></b></li><li class="MsoListParagraph" style="color:#0070C0;margin-left:0in;mso-list:l1 level1 lfo2">
<b><i>Additional Environmental Information<o:p></o:p></i></b></li></ul>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0">Before I launch into my observations, let me say that I’d be happy to answer follow-up questions and/or demonstrate this behavior on my local machine. Thank you for your consideration.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"> -Pete Hummon<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:18.0pt;color:#0070C0">My OVS Bridge<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><span style="color:#0070C0"> I have set up a single OVS bridge in my Ubuntu server. I’ve then connected to VMs to that OVS bridge, plus added a connection to the outside network:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">root@upce-superl1:~# ovs-vsctl show<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">527530c2-6f42-498f-92a6-67dc43d931bc<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> Bridge "PDH_bridge2"<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> Port "vm1_pdh"<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> Interface "vm1_pdh"<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> type: dpdkvhostuser<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> Port "vm2_pdh"<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> Interface "vm2_pdh"<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> type: dpdkvhostuser<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> Port "eth2"<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> Interface "eth2"<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> ovs_version: "2.9.3"<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">root@upce-superl1:~#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0">The bridge has an IP address and can ping an external IPFIX collector from the across the network. I enable IPFIX exporting on my OVS switch:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">root@upce-superl1:~#
<span style="background:yellow;mso-highlight:yellow">ovs-vsctl -- set bridge PDH_bridge2 ipfix=@i -- --id=@i create IPFIX targets=\"168.161.114.10:4739\" cache_active_timeout=60 obs_domain_id=11111 obs_point_id=22222 sampling=1024 other_config:enable-input-sampling=false</span><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">912d5e89-1065-4eec-83d7-6e568c3a117b<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">root@upce-superl1:~#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0">A few important parameters to highlight here:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none">
<tbody>
<tr>
<td width="305" style="width:229.1pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">cache_active_timeout=60</span><span style="color:#0070C0"><o:p></o:p></span></p>
</td>
<td width="1068" valign="top" style="width:801.0pt;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="color:#0070C0">I’ve set the active timeout to 60 seconds, meaning if a flow stays active for less than 60 seconds, it should be aggregated and reported in a single data record. When a flow runs longer than 60 seconds, the
switch should export what it has in a single data record, then consider all subsequent packets in the flow as the start of a new flow. And so on.<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width="305" style="width:229.1pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">sampling=1024</span><span style="color:#0070C0"><o:p></o:p></span></p>
</td>
<td width="1068" valign="top" style="width:801.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="color:#0070C0">The switch should sample 1 out of every 1024 packets<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width="305" style="width:229.1pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">other_config:enable-input-sampling=false</span><span style="color:#0070C0"><o:p></o:p></span></p>
</td>
<td width="1068" valign="top" style="width:801.0pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="color:#0070C0">I’m not entirely sure what this does, but playing with it suggests that this means I am only sampling packets that are egressing an interfacing, i.e., ignoring packets ingressing an interface. I turned this
on because I assume it means I am not doublesampling a flow, meaning sampling the flow once when it enters the switch and then again when it exits. But I am not sure.<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0">IPFIX is running just fine:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">root@upce-superl1:~# ovs-vsctl list ipfix<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">_uuid : 912d5e89-1065-4eec-83d7-6e568c3a117b<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">cache_active_timeout: 60<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">cache_max_flows : []<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">external_ids : {}<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">obs_domain_id : 11111<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">obs_point_id : 22222<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">other_config : {enable-input-sampling="false"}<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">sampling : 1024<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">targets : ["168.161.114.10:4739"]<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">root@upce-superl1:~#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:18.0pt;color:#0070C0">My Traffic Test<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><span style="color:#0070C0">So now I run a simple test. I set up iPerf3 as a traffic generator on both my attached VMs, and then I send ten seconds’ worth of traffic from one VM to another:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><b><i><span style="font-size:16.0pt;color:#0070C0">CLIENT VM (168.161.114.15)<o:p></o:p></span></i></b></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">larry@pdhvnf1:~$<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">larry@pdhvnf1:~$
<span style="background:yellow;mso-highlight:yellow">iperf3 -c 168.161.114.16 -t 10</span><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">Connecting to host 168.161.114.16, port 5201<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 4] local 168.161.114.15 port 46196 connected to 168.161.114.16 port 5201<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ ID] Interval Transfer Bandwidth Retr Cwnd<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 4] 0.00-1.00 sec 361 MBytes 3.02 Gbits/sec 1318 195 KBytes<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 4] 1.00-2.01 sec 465 MBytes 3.84 Gbits/sec 2071 321 KBytes<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 4] 2.01-3.00 sec 517 MBytes 4.40 Gbits/sec 1141 276 KBytes<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 4] 3.00-4.00 sec 555 MBytes 4.65 Gbits/sec 474 383 KBytes<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 4] 4.00-5.00 sec 550 MBytes 4.60 Gbits/sec 1283 506 KBytes<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 4] 5.00-6.00 sec 418 MBytes 3.51 Gbits/sec 1855 257 KBytes<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 4] 6.00-7.00 sec 479 MBytes 4.02 Gbits/sec 1689 279 KBytes<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 4] 7.00-8.00 sec 426 MBytes 3.57 Gbits/sec 2010 201 KBytes<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 4] 8.00-9.00 sec 520 MBytes 4.36 Gbits/sec 1438 287 KBytes<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 4] 9.00-10.00 sec 435 MBytes 3.65 Gbits/sec 2153 250 KBytes<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">- - - - - - - - - - - - - - - - - - - - - - - - -<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ ID] Interval Transfer Bandwidth Retr<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 4] 0.00-10.00 sec 4.61 GBytes 3.96 Gbits/sec 15432 sender<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 4] 0.00-10.00 sec 4.61 GBytes 3.96 Gbits/sec receiver<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">iperf Done.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">larry@pdhvnf1:~$<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><b><i><span style="font-size:16.0pt;color:#0070C0">SERVER VM (168.161.114.16)<o:p></o:p></span></i></b></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">larry@pdhvnf2:~$<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">larry@pdhvnf2:~$
<span style="background:yellow;mso-highlight:yellow">iperf3 -s</span><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">-----------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">Server listening on 5201<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">-----------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">Accepted connection from 168.161.114.15, port 46194<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 5] local 168.161.114.16 port 5201 connected to 168.161.114.15 port 46196<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ ID] Interval Transfer Bandwidth<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 5] 0.00-1.00 sec 347 MBytes 2.91 Gbits/sec<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 5] 1.00-2.00 sec 465 MBytes 3.90 Gbits/sec<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 5] 2.00-3.00 sec 521 MBytes 4.37 Gbits/sec<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 5] 3.00-4.00 sec 541 MBytes 4.54 Gbits/sec<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 5] 4.00-5.00 sec 547 MBytes 4.59 Gbits/sec<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 5] 5.00-6.00 sec 423 MBytes 3.55 Gbits/sec<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 5] 6.00-7.00 sec 487 MBytes 4.09 Gbits/sec<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 5] 7.00-8.00 sec 425 MBytes 3.56 Gbits/sec<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 5] 8.00-9.00 sec 521 MBytes 4.37 Gbits/sec<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 5] 9.00-10.00 sec 422 MBytes 3.54 Gbits/sec<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 5] 10.00-10.25 sec 25.8 MBytes 864 Mbits/sec<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">- - - - - - - - - - - - - - - - - - - - - - - - -<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ ID] Interval Transfer Bandwidth Retr<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 5] 0.00-10.25 sec 4.61 GBytes 3.87 Gbits/sec 15432 sender<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">[ 5] 0.00-10.25 sec 4.61 GBytes 3.87 Gbits/sec receiver<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">-----------------------------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:18.0pt;color:#0070C0">Analyzing The Test :: Bug 1 :: Cache Active Timeout Not Working Properly?<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><span style="color:#0070C0">Okay; with only one client, one host, communicating on a single TCP port (5201), all running within ten seconds, should all be seen as one flow. But when I look at what my collector receives, I see 186 records.
Of those, 173 records are my test traffic. (My collector exports to a MySQL database, but I’ve verified this manually with WireShark dumps):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">mysql><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">mysql>
<span style="background:yellow;mso-highlight:yellow">select timestamp, 1_octetDeltaCount, 8_sourceIPv4Address, 12_destinationIPv4Address, 4_protocolIdentifier, 7_sourceTransportPort, 11_destinationTransportPort /
<o:p></o:p></span></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New";background:yellow;mso-highlight:yellow"> from testable /
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New";background:yellow;mso-highlight:yellow"> where 8_sourceIPv4Address = '168.161.114.15' and 12_destinationIPv4Address = '168.161.114.16';</span><span style="font-size:9.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">+------------+-------------------+---------------------+---------------------------+----------------------+-----------------------+-----------------------------+<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">| timestamp | 1_octetDeltaCount | 8_sourceIPv4Address | 12_destinationIPv4Address | 4_protocolIdentifier | 7_sourceTransportPort | 11_destinationTransportPort
|<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">+------------+-------------------+---------------------+---------------------------+----------------------+-----------------------+-----------------------------+<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">| 1558714850 | 1536000 | 168.161.114.15 | 168.161.114.16 | 6 | 46196 | 5201
|<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">| 1558714850 | 1536000 | 168.161.114.15 | 168.161.114.16 | 6 | 46196 | 5201
|<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">| 1558714850 | 1536000 | 168.161.114.15 | 168.161.114.16 | 6 | 46196 | 5201
|<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">...etc...<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">| 1558714852 | 1536000 | 168.161.114.15 | 168.161.114.16 | 6 | 46196 | 5201
|<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">+------------+-------------------+---------------------+---------------------------+----------------------+-----------------------+-----------------------------+<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">173 rows in set (0.01 sec)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">mysql></span><span style="color:#0070C0"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0">So I’m receiving 173 flow records. But I think I think I should be receiving only one, because I set
</span><span style="font-size:9.0pt;font-family:"Courier New";background:yellow;mso-highlight:yellow">cache_active_timeout=60</span><span style="color:#0070C0"> in my
</span><span style="font-size:9.0pt;font-family:"Courier New";background:yellow;mso-highlight:yellow">ovs-vsctl -- set bridge</span><span style="color:#0070C0"> command. I wonder if this is a bug?
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:18.0pt;color:#0070C0">Analyzing The Test :: Bug 2 :: Byte Totals Multiplied By N?<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><span style="color:#0070C0">Something odd jumps out at me when I compare the IPFIX Flow Data with what I see in Wireshark. Here’s a single IPFIX data record, captured by Wireshark; it is what the OVS bridge is exporting to the collector:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">Cisco NetFlow/IPFIX<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> Version: 10<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> Length: 316<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> Timestamp: May 24, 2019 16:20:50.000000000 UTC<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> ExportTime: 1558714850<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> FlowSequence: 464<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> Observation Domain Id: 11111<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> Set 1 [id=280] (1 flows)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> ...etc...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> Flow 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> Observation Point Id: 22222<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> Direction: Ingress (0)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> ...etc...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> SrcAddr: 168.161.114.15<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> DstAddr: 168.161.114.16<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> SrcPort: 46196 (46196)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> DstPort: 5201 (5201)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> [Duration: 0.000000000 seconds (delta milliseconds)]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> StartTime: May 24, 2019 16:20:49.840000000 UTC<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> EndTime: May 24, 2019 16:20:49.840000000 UTC<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> ...etc...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> Dropped Octets: 1536000<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> Dropped Total Octets: 665531392<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">
<span style="background:yellow;mso-highlight:yellow">Octets: 1536000</span><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""> ...etc...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0">So this flow record reports that this flow carried a payload of 1,536,000 bytes. Note that in the above MySQL report, every flow was reported to carry 1,536,000 octets.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"> That struck me as odd, so I did another Wireshark capture, this time on the test host. Here’s what my iPerf3 traffic generator is sending in one packet:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">Frame 21: 1514 bytes on wire (12112 bits), 1514 bytes captured (12112 bits) on interface 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> ...etc...<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">Ethernet II, Src: RealtekU_62:32:cc (52:54:00:62:32:cc), Dst: RealtekU_38:43:f3 (52:54:00:38:43:f3)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> ...etc...<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">Internet Protocol Version 4, Src: 168.161.114.15, Dst: 168.161.114.16<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> ...etc...<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">
<span style="background:lime;mso-highlight:lime">Total Length: 1500</span><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> ...etc...<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> Source:
<span style="background:yellow;mso-highlight:yellow">168.161.114.15</span><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> Destination:
<span style="background:yellow;mso-highlight:yellow">168.161.114.16</span><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">Transmission Control Protocol, Src Port: 46388,
<span style="background:yellow;mso-highlight:yellow">Dst Port: 5201</span>, Seq: 38, Ack: 1, Len: 1448<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> Source Port: 46388<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> Destination Port:
<span style="background:yellow;mso-highlight:yellow">5201</span><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> ...etc...<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> TCP payload (1448 bytes)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">Data (1448 bytes)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> ...etc...<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> [Length: 1448]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0">So it appears that iPerf3 likes to transfer test traffic in 1,500 byte frames. And I can’t help but notice that:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">1536000 / 1500 = 1024<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0">And of course, I’m sampling with a rate of N = 1024.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"> So its not really a bug, but I’m wondering if this is what is going on:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<ol style="margin-top:0in" start="1" type="A">
<li class="MsoListParagraph" style="color:#0070C0;margin-left:.25in;mso-list:l2 level1 lfo3">
A flow of packets enter the OVS switch<o:p></o:p></li><li class="MsoListParagraph" style="color:#0070C0;margin-left:.25in;mso-list:l2 level1 lfo3">
The first 1024 packets of my test traffic are identified as part of one flow; one of those packets is randomly sampled for IPFIX<o:p></o:p></li><li class="MsoListParagraph" style="color:#0070C0;margin-left:.25in;mso-list:l2 level1 lfo3">
The IPFIX process within the OVS Switch notes the packet payload – 1,500 bytes – and records that for IPFIX’s “octetDeltaCount” statistic, which is defined to be the number of octets within flow.<o:p></o:p></li><li class="MsoListParagraph" style="color:#0070C0;margin-left:.25in;mso-list:l2 level1 lfo3">
However, because I am sampling at N = 1024, OVS then does a quick multiplication ( 1500 bytes X 1024 = 1536000 octets ) and records that number as “octetDeltaCount”<o:p></o:p></li><li class="MsoListParagraph" style="color:#0070C0;margin-left:.25in;mso-list:l2 level1 lfo3">
After sampling the one packet, OVS exports the data record, i.e. does not aggregate the statistics over a 60 second timeframe.<o:p></o:p></li></ol>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0">Step D is what concerns me. If OVS is automatically compensating for the N Sampling, that’s fine, but I need to understand that behavior. A lot of IPFIX collectors will learn about the N Sampling and will do
additional calculations on the reports; this of course distorts the final data.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:18.0pt;color:#0070C0">Additional Environmental Information<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><span style="color:#0070C0"> I am running OVS ver 2.9.3:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">root@upce-superl1:~#
<span style="background:yellow;mso-highlight:yellow">ovs-vsctl -V</span><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">ovs-vsctl (Open vSwitch) 2.9.3<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">DB Schema 7.15.1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">root@upce-superl1:~#
<span style="background:yellow;mso-highlight:yellow">ovs-vswitchd --version</span><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">ovs-vswitchd (Open vSwitch) 2.9.3<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">DPDK 17.11.3<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">root@upce-superl1:~#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0">This version was not acquired from GitHub, and I’m not aware of any patches applied. My host system is Ubuntu:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">root@upce-superl1:~#
<span style="background:yellow;mso-highlight:yellow">more /proc/version</span><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">Linux version 4.4.0-64-generic (buildd@lgw01-56) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">root@upce-superl1:~#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0">My <b><i>/etc/openvswitch/conf.db</i></b> database file is below. Here’s some more requested outputs:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">root@upce-superl1:~#
<span style="background:yellow;mso-highlight:yellow">ovs-dpctl show</span><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">system@ovs-system:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> lookups: hit:0 missed:0 lost:0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> flows: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> masks: hit:0 total:0 hit/pkt:0.00<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> port 0: ovs-system (internal)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> port 1: pdh_sql_net (internal)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> port 2: f69586c6e2e3 (internal)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">root@upce-superl1:~#<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">root@upce-superl1:~#
<span style="background:yellow;mso-highlight:yellow">ovs-ofctl show PDH_bridge2</span><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">OFPT_FEATURES_REPLY (xid=0x2): dpid:00003a6e7faafb4b<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">n_tables:254, n_buffers:0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_dst<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">8(eth1): addr:da:22:1d:fa:69:15<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> config: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> state: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> current: 10GB-FD COPPER<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> speed: 10000 Mbps now, 0 Mbps max<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">9(eth2): addr:a2:31:68:b0:97:55<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> config: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> state: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> current: 10GB-FD COPPER<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> speed: 10000 Mbps now, 0 Mbps max<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">12(eth5): addr:00:00:00:00:00:00<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> config: PORT_DOWN<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> state: LINK_DOWN<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> speed: 0 Mbps now, 0 Mbps max<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">13(vm1_pdh): addr:00:00:00:00:00:00<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> config: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> state: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> speed: 0 Mbps now, 0 Mbps max<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">14(vm2_pdh): addr:00:00:00:00:00:00<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> config: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> state: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> speed: 0 Mbps now, 0 Mbps max<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">15(solar_eth0): addr:00:00:00:00:00:00<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> config: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> state: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> speed: 0 Mbps now, 0 Mbps max<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">150(eth3): addr:ee:b9:8e:21:6e:65<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> config: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> state: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> current: 10GB-FD COPPER<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> speed: 10000 Mbps now, 0 Mbps max<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">LOCAL(PDH_bridge2): addr:3a:6e:7f:aa:fb:4b<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> config: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> state: 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> current: 10MB-FD COPPER<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New""> speed: 10 Mbps now, 0 Mbps max<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:9.0pt;font-family:"Courier New"">root@upce-superl1:~#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:12.0pt;color:#0070C0">/etc/openvswitch/conf.db<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 12805 600d75cac9a8ecc7f1b3d0194813fc9534f5e6b5<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"cksum":"2211824403 22535","name":"Open_vSwitch","version":"7.12.1","tables":{"Controller":{"columns":{"is_connected":{"ephemeral":true,"type":"boolean"},"connection_mode":{"type":{"min":0,"key":{"type":"string","enum":["set",["in-band","out-of-band"]]}}},"local_gateway":{"type":{"min":0,"key":"string"}},"enable_async_messages":{"type":{"min":0,"key":"boolean"}},"other_config":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"status":{"ephemeral":true,"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"external_ids":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"local_netmask":{"type":{"min":0,"key":"string"}},"controller_burst_limit":{"type":{"min":0,"key":{"minInteger":25,"type":"integer"}}},"local_ip":{"type":{"min":0,"key":"string"}},"controller_rate_limit":{"type":{"min":0,"key":{"minInteger":100,"type":"integer"}}},"target":{"type":"string"},"role":{"ephemeral":true,"type":{"min":0,"key":{"type":"string","enum":["set",["master","other","slave"]]}}},"inactivity_probe":{"type":{"min":0,"key":"integer"}},"max_backoff":{"type":{"min":0,"key":{"minInteger":1000,"type":"integer"}}}}},"Bridge":{"indexes":[["name"]],"columns":{"name":{"mutable":false,"type":"string"},"flood_vlans":{"type":{"max":4096,"min":0,"key":{"minInteger":0,"maxInteger":4095,"type":"integer"}}},"auto_attach":{"type":{"min":0,"key":{"type":"uuid","refTable":"AutoAttach"}}},"ports":{"type":{"max":"unlimited","min":0,"key":{"type":"uuid","refTable":"Port"}}},"stp_enable":{"type":"boolean"},"fail_mode":{"type":{"min":0,"key":{"type":"string","enum":["set",["secure","standalone"]]}}},"rstp_enable":{"type":"boolean"},"rstp_status":{"ephemeral":true,"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"flow_tables":{"type":{"max":"unlimited","min":0,"key":{"minInteger":0,"maxInteger":254,"type":"integer"},"value":{"type":"uuid","refTable":"Flow_Table"}}},"netflow":{"type":{"min":0,"key":{"type":"uuid","refTable":"NetFlow"}}},"datapath_type":{"type":"string"},"controller":{"type":{"max":"unlimited","min":0,"key":{"type":"uuid","refTable":"Controller"}}},"status":{"ephemeral":true,"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"ipfix":{"type":{"min":0,"key":{"type":"uuid","refTable":"IPFIX"}}},"external_ids":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"other_config":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"datapath_id":{"ephemeral":true,"type":{"min":0,"key":"string"}},"mirrors":{"type":{"max":"unlimited","min":0,"key":{"type":"uuid","refTable":"Mirror"}}},"mcast_snooping_enable":{"type":"boolean"},"datapath_version":{"type":"string"},"sflow":{"type":{"min":0,"key":{"type":"uuid","refTable":"sFlow"}}},"protocols":{"type":{"max":"unlimited","min":0,"key":{"type":"string","enum":["set",["OpenFlow10","OpenFlow11","OpenFlow12","OpenFlow13","OpenFlow14","OpenFlow15"]]}}}}},"Queue":{"isRoot":true,"columns":{"other_config":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"external_ids":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"dscp":{"type":{"min":0,"key":{"minInteger":0,"maxInteger":63,"type":"integer"}}}}},"Open_vSwitch":{"maxRows":1,"isRoot":true,"columns":{"bridges":{"type":{"max":"unlimited","min":0,"key":{"type":"uuid","refTable":"Bridge"}}},"manager_options":{"type":{"max":"unlimited","min":0,"key":{"type":"uuid","refTable":"Manager"}}},"statistics":{"ephemeral":true,"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"ovs_version":{"type":{"min":0,"key":"string"}},"other_config":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"external_ids":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"cur_cfg":{"type":"integer"},"next_cfg":{"type":"integer"},"ssl":{"type":{"min":0,"key":{"type":"uuid","refTable":"SSL"}}},"iface_types":{"type":{"max":"unlimited","min":0,"key":"string"}},"datapath_types":{"type":{"max":"unlimited","min":0,"key":"string"}},"system_type":{"type":{"min":0,"key":"string"}},"system_version":{"type":{"min":0,"key":"string"}},"db_version":{"type":{"min":0,"key":"string"}}}},"NetFlow":{"columns":{"active_timeout":{"type":{"key":{"minInteger":-1,"type":"integer"}}},"engine_type":{"type":{"min":0,"key":{"minInteger":0,"maxInteger":255,"type":"integer"}}},"engine_id":{"type":{"min":0,"key":{"minInteger":0,"maxInteger":255,"type":"integer"}}},"add_id_to_interface":{"type":"boolean"},"external_ids":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"targets":{"type":{"max":"unlimited","key":"string"}}}},"IPFIX":{"columns":{"cache_active_timeout":{"type":{"min":0,"key":{"minInteger":0,"maxInteger":4200,"type":"integer"}}},"obs_point_id":{"type":{"min":0,"key":{"minInteger":0,"maxInteger":4294967295,"type":"integer"}}},"other_config":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"external_ids":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"sampling":{"type":{"min":0,"key":{"minInteger":1,"maxInteger":4294967295,"type":"integer"}}},"targets":{"type":{"max":"unlimited","min":0,"key":"string"}},"cache_max_flows":{"type":{"min":0,"key":{"minInteger":0,"maxInteger":4294967295,"type":"integer"}}},"obs_domain_id":{"type":{"min":0,"key":{"minInteger":0,"maxInteger":4294967295,"type":"integer"}}}}},"QoS":{"isRoot":true,"columns":{"queues":{"type":{"max":"unlimited","min":0,"key":{"minInteger":0,"maxInteger":4294967295,"type":"integer"},"value":{"type":"uuid","refTable":"Queue"}}},"external_ids":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"other_config":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"type":{"type":"string"}}},"Port":{"indexes":[["name"]],"columns":{"statistics":{"ephemeral":true,"type":{"max":"unlimited","min":0,"key":"string","value":"integer"}},"bond_downdelay":{"type":"integer"},"name":{"mutable":false,"type":"string"},"mac":{"type":{"min":0,"key":"string"}},"fake_bridge":{"type":"boolean"},"trunks":{"type":{"max":4096,"min":0,"key":{"minInteger":0,"maxInteger":4095,"type":"integer"}}},"rstp_status":{"ephemeral":true,"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"tag":{"type":{"min":0,"key":{"minInteger":0,"maxInteger":4095,"type":"integer"}}},"bond_updelay":{"type":"integer"},"bond_active_slave":{"type":{"min":0,"key":"string"}},"external_ids":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"other_config":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"status":{"ephemeral":true,"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"qos":{"type":{"min":0,"key":{"type":"uuid","refTable":"QoS"}}},"bond_mode":{"type":{"min":0,"key":{"type":"string","enum":["set",["active-backup","balance-slb","balance-tcp"]]}}},"rstp_statistics":{"ephemeral":true,"type":{"max":"unlimited","min":0,"key":"string","value":"integer"}},"vlan_mode":{"type":{"min":0,"key":{"type":"string","enum":["set",["access","native-tagged","native-untagged","trunk"]]}}},"interfaces":{"type":{"max":"unlimited","key":{"type":"uuid","refTable":"Interface"}}},"bond_fake_iface":{"type":"boolean"},"lacp":{"type":{"min":0,"key":{"type":"string","enum":["set",["active","off","passive"]]}}}}},"sFlow":{"columns":{"agent":{"type":{"min":0,"key":"string"}},"header":{"type":{"min":0,"key":"integer"}},"polling":{"type":{"min":0,"key":"integer"}},"external_ids":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"sampling":{"type":{"min":0,"key":"integer"}},"targets":{"type":{"max":"unlimited","key":"string"}}}},"SSL":{"maxRows":1,"columns":{"bootstrap_ca_cert":{"type":"boolean"},"private_key":{"type":"string"},"certificate":{"type":"string"},"external_ids":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"ca_cert":{"type":"string"}}},"Flow_Sample_Collector_Set":{"isRoot":true,"indexes":[["id","bridge"]],"columns":{"id":{"type":{"key":{"minInteger":0,"maxInteger":4294967295,"type":"integer"}}},"external_ids":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"ipfix":{"type":{"min":0,"key":{"type":"uuid","refTable":"IPFIX"}}},"bridge":{"type":{"key":{"type":"uuid","refTable":"Bridge"}}}}},"Mirror":{"columns":{"name":{"type":"string"},"select_all":{"type":"boolean"},"output_vlan":{"type":{"min":0,"key":{"minInteger":1,"maxInteger":4095,"type":"integer"}}},"statistics":{"ephemeral":true,"type":{"max":"unlimited","min":0,"key":"string","value":"integer"}},"select_dst_port":{"type":{"max":"unlimited","min":0,"key":{"refType":"weak","type":"uuid","refTable":"Port"}}},"select_src_port":{"type":{"max":"unlimited","min":0,"key":{"refType":"weak","type":"uuid","refTable":"Port"}}},"external_ids":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"output_port":{"type":{"min":0,"key":{"refType":"weak","type":"uuid","refTable":"Port"}}},"select_vlan":{"type":{"max":4096,"min":0,"key":{"minInteger":0,"maxInteger":4095,"type":"integer"}}}}},"Flow_Table":{"columns":{"name":{"type":{"min":0,"key":"string"}},"prefixes":{"type":{"max":3,"min":0,"key":"string"}},"groups":{"type":{"max":"unlimited","min":0,"key":"string"}},"external_ids":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"overflow_policy":{"type":{"min":0,"key":{"type":"string","enum":["set",["evict","refuse"]]}}},"flow_limit":{"type":{"min":0,"key":{"minInteger":0,"type":"integer"}}}}},"Interface":{"indexes":[["name"]],"columns":{"statistics":{"ephemeral":true,"type":{"max":"unlimited","min":0,"key":"string","value":"integer"}},"mac":{"type":{"min":0,"key":"string"}},"options":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"bfd_status":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"cfm_health":{"ephemeral":true,"type":{"min":0,"key":{"minInteger":0,"maxInteger":100,"type":"integer"}}},"ofport":{"type":{"min":0,"key":"integer"}},"admin_state":{"ephemeral":true,"type":{"min":0,"key":{"type":"string","enum":["set",["down","up"]]}}},"error":{"type":{"min":0,"key":"string"}},"cfm_fault_status":{"ephemeral":true,"type":{"max":"unlimited","min":0,"key":"string"}},"lacp_current":{"ephemeral":true,"type":{"min":0,"key":"boolean"}},"mtu":{"ephemeral":true,"type":{"min":0,"key":"integer"}},"ofport_request":{"type":{"min":0,"key":{"minInteger":1,"maxInteger":65279,"type":"integer"}}},"external_ids":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"status":{"ephemeral":true,"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"link_state":{"ephemeral":true,"type":{"min":0,"key":{"type":"string","enum":["set",["down","up"]]}}},"cfm_remote_opstate":{"ephemeral":true,"type":{"min":0,"key":{"type":"string","enum":["set",["down","up"]]}}},"cfm_fault":{"ephemeral":true,"type":{"min":0,"key":"boolean"}},"link_speed":{"ephemeral":true,"type":{"min":0,"key":"integer"}},"duplex":{"ephemeral":true,"type":{"min":0,"key":{"type":"string","enum":["set",["full","half"]]}}},"ingress_policing_rate":{"type":{"key":{"minInteger":0,"type":"integer"}}},"name":{"mutable":false,"type":"string"},"cfm_flap_count":{"type":{"min":0,"key":"integer"}},"ifindex":{"ephemeral":true,"type":{"min":0,"key":{"minInteger":0,"maxInteger":4294967295,"type":"integer"}}},"type":{"type":"string"},"mac_in_use":{"ephemeral":true,"type":{"min":0,"key":"string"}},"link_resets":{"ephemeral":true,"type":{"min":0,"key":"integer"}},"lldp":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"other_config":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"cfm_remote_mpids":{"ephemeral":true,"type":{"max":"unlimited","min":0,"key":"integer"}},"bfd":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"cfm_mpid":{"type":{"min":0,"key":"integer"}},"ingress_policing_burst":{"type":{"key":{"minInteger":0,"type":"integer"}}}}},"AutoAttach":{"columns":{"mappings":{"type":{"max":"unlimited","min":0,"key":{"minInteger":0,"maxInteger":16777215,"type":"integer"},"value":{"minInteger":0,"maxInteger":4095,"type":"integer"}}},"system_name":{"type":"string"},"system_description":{"type":"string"}}},"Manager":{"indexes":[["target"]],"columns":{"is_connected":{"ephemeral":true,"type":"boolean"},"connection_mode":{"type":{"min":0,"key":{"type":"string","enum":["set",["in-band","out-of-band"]]}}},"other_config":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"external_ids":{"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"status":{"ephemeral":true,"type":{"max":"unlimited","min":0,"key":"string","value":"string"}},"target":{"type":"string"},"inactivity_probe":{"type":{"min":0,"key":"integer"}},"max_backoff":{"type":{"min":0,"key":{"minInteger":1000,"type":"integer"}}}}}}}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 196 a9ae963e4eee3f3ecbe40da47af9d4a6ca23d896<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"_date":1488654763350,"Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"db_version":"7.12.1"}},"_comment":"ovs-vsctl: ovs-vsctl --no-wait -- init -- set Open_vSwitch . db-version=7.12.1"}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 461 77719c6c947f4f16412bcb80078596e16a2e8ff8<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"_date":1488654763368,"Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"ovs_version":"2.5.0","external_ids":["map",[["system-id","dc1e7067-2d46-474b-93ce-9de741c5eedb"]]],"system_type":"Ubuntu","system_version":"16.04-xenial"}},"_comment":"ovs-vsctl:
ovs-vsctl --no-wait set Open_vSwitch . ovs-version=2.5.0 \"external-ids:system-id=\\\"dc1e7067-2d46-474b-93ce-9de741c5eedb\\\"\" \"system-type=\\\"Ubuntu\\\"\" \"system-version=\\\"16.04-xenial\\\"\""}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 233 edb7aa2b166fb3b12ed8db439fac313f97042f1c<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"_date":1488654763419,"Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"datapath_types":["set",["netdev","system"]],"iface_types":["set",["geneve","gre","internal","ipsec_gre","lisp","patch","stt","system","tap","vxlan"]]}}}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 176 78c012506c9b591b4764021a5d3ba24889ce73ab<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"_date":1529425965482,"Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"iface_types":["set",["geneve","gre","internal","lisp","patch","stt","system","tap","vxlan"]]}}}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 328 f1eefdc95f07aa23c128ad34558357d569c6aa6a<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"_date":1529501413049,"Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"ovs_version":"2.5.4"}},"_comment":"ovs-vsctl: ovs-vsctl --no-wait set Open_vSwitch . ovs-version=2.5.4
\"external-ids:system-id=\\\"dc1e7067-2d46-474b-93ce-9de741c5eedb\\\"\" \"system-type=\\\"Ubuntu\\\"\" \"system-version=\\\"16.04-xenial\\\"\""}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 188 6274ebfc08cb524ae2b74ef5e197ae8a3cf02d0f<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"_date":1529501413053,"Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"iface_types":["set",["geneve","gre","internal","ipsec_gre","lisp","patch","stt","system","tap","vxlan"]]}}}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 219 677b8f5da717073c362c0ab032cb0fc78a5030cc<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"_date":1529501576221,"Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"other_config":["map",[["dpdk-init","true"]]]}},"_comment":"ovs-vsctl: ovs-vsctl--no-wait set Open_vSwitch
. other_config:dpdk-init=true"}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 516 692c16c38d9db20cb82abb1c7469075a8ed69818<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"_date":1529502134532,"Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"external_ids":["map",[["ovn-encap-ip","10.10.57.109"],["ovn-encap-type","stt"],["ovn-nb","tcp:10.10.57.109:6641"],["ovn-remote","tcp:10.10.57.109:6642"],["system-id","dc1e7067-2d46-474b-93ce-9de741c5eedb"]]],"next_cfg":1}},"_comment":"ovs-vsctl:
ovs-vsctl set Open_vSwitch . external_ids:ovn-remote=tcp:10.10.57.109:6642 external_ids:ovn-nb=tcp:10.10.57.109:6641 external_ids:ovn-encap-ip=10.10.57.109 external_ids:ovn-encap-type=stt"}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 94 9b5cd6148126ecc76076093cfbbf3afb0f99899e<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"_date":1529502134533,"Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"cur_cfg":1}}}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 805 d9383117385767ac28552801ad682001d8a64c44<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"Interface":{"f94694db-c742-462e-93a4-53795634ee97":{"name":"br-int","type":"internal"}},"Port":{"fb40987c-b293-4d9b-a964-3c89d177c9d5":{"name":"br-int","interfaces":["uuid","f94694db-c742-462e-93a4-53795634ee97"]}},"_date":1529502467585,"Bridge":{"e5a2a755-1d41-4704-aef2-b01c7845d0f4":{"name":"br-int","ports":["uuid","fb40987c-b293-4d9b-a964-3c89d177c9d5"],"fail_mode":"secure","external_ids":["map",[["bridge-id","br-int"]]],"other_config":["map",[["disable-in-band","true"]]]}},"_comment":"ovs-vsctl:
ovs-vsctl --timeout=5 -vconsole:off -- --may-exist add-br br-int -- set bridge br-int external_ids:bridge-id=br-int other-config:disable-in-band=true fail-mode=secure","Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"bridges":["uuid","e5a2a755-1d41-4704-aef2-b01c7845d0f4"],"next_cfg":2}}}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 164 62bdb6d379761ba62169b6b8cbf680ee8720dcf7<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"Interface":{"f94694db-c742-462e-93a4-53795634ee97":{"ofport":65534}},"_date":1529502467718,"Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"cur_cfg":2}}}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 107 ee8170cafbeb8096be5ddbfea05cb18b91d6940c<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"Bridge":{"e5a2a755-1d41-4704-aef2-b01c7845d0f4":{"datapath_version":"<unknown>"}},"_date":1529502467718}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 438 242ea85c677b166cf8e097c03be9c9da86491147<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"_date":1529502467726,"Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"external_ids":["map",[["ovn-bridge","br-int"],["ovn-encap-ip","10.10.57.109"],["ovn-encap-type","stt"],["ovn-nb","tcp:10.10.57.109:6641"],["ovn-remote","tcp:10.10.57.109:6642"],["system-id","dc1e7067-2d46-474b-93ce-9de741c5eedb"]]],"next_cfg":3}},"_comment":"ovs-vsctl:
ovs-vsctl --timeout=5 -vconsole:off set open_vswitch . external_ids:ovn-bridge=br-int"}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 94 0ae0f3e78797dbfdc7613e31c17d87b3555733fc<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"_date":1529502467743,"Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"cur_cfg":3}}}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 587 0bfc385320cd1dfb8f9b81417b0d6c3e3f1cc999<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"Port":{"276bf31c-bf45-43e1-b02a-63fb92fdd969":{"name":"br1","interfaces":["uuid","ff037320-8336-4042-a441-84275d9be67e"]}},"Interface":{"ff037320-8336-4042-a441-84275d9be67e":{"name":"br1","type":"internal"}},"_date":1529508073030,"Bridge":{"54d3fa9f-7328-4044-9633-927705b71728":{"name":"br1","ports":["uuid","276bf31c-bf45-43e1-b02a-63fb92fdd969"]}},"_comment":"ovs-vsctl:
ovs-vsctl add-br br1","Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"bridges":["set",[["uuid","54d3fa9f-7328-4044-9633-927705b71728"],["uuid","e5a2a755-1d41-4704-aef2-b01c7845d0f4"]]],"next_cfg":4}}}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 164 ba8a9352eee41b8219ea2ca8edb1b7a1eac1fd9d<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"Interface":{"ff037320-8336-4042-a441-84275d9be67e":{"ofport":65534}},"_date":1529508073092,"Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"cur_cfg":4}}}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 107 b6e39ddb6a4bcce4eb1dbea4daf811089e7959c3<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"Bridge":{"54d3fa9f-7328-4044-9633-927705b71728":{"datapath_version":"<unknown>"}},"_date":1529508073092}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 511 ff2bac70174cdd96b10e715354e3d668e0dc8210<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"_date":1529508662734,"Bridge":{"54d3fa9f-7328-4044-9633-927705b71728":{"ipfix":["uuid","6c6a0c3a-8fc6-4775-b156-191f20e9e375"]}},"_comment":"ovs-vsctl: ovs-vsctl -- set bridge br1
ipfix=@i -- --id=@i create IPFIX \"targets=\\\"172.17.0.2:4739\\\"\" obs_domain_id=11111 obs_point_id=22222 sampling=64","Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"next_cfg":5}},"IPFIX":{"6c6a0c3a-8fc6-4775-b156-191f20e9e375":{"obs_point_id":22222,"obs_domain_id":11111,"targets":"172.17.0.2:4739","sampling":64}}}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 94 a3d637093fc5eb2de27a68518b0929f6ce3c227f<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"_date":1529508662736,"Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"cur_cfg":5}}}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 277 e35f729266fd9c0ff4f9d7d78728d4f17ec4794b<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"_date":1529509190694,"Bridge":{"54d3fa9f-7328-4044-9633-927705b71728":{"ipfix":["set",[]]}},"_comment":"ovs-vsctl: ovs-vsctl clear bridge br1 ipfix","IPFIX":{"6c6a0c3a-8fc6-4775-b156-191f20e9e375":null},"Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"next_cfg":6}}}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 94 a23acff4f06d3fbd51083de5b767ea2d017329ac<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"_date":1529509190695,"Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"cur_cfg":6}}}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 490 9280e9088adde1a1ff8d1a99dd4313040ec60fe4<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"_date":1529514016743,"Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"external_ids":["map",[["ovn-bridge","br-int"],["ovn-encap-ip","localhost"],["ovn-encap-type","stt"],["ovn-nb","tcp:localhost:6641"],["ovn-remote","tcp:localhost:6642"],["system-id","dc1e7067-2d46-474b-93ce-9de741c5eedb"]]],"next_cfg":7}},"_comment":"ovs-vsctl:
ovs-vsctl set Open_vSwitch . external_ids:ovn-remote=tcp:localhost:6642 external_ids:ovn-nb=tcp:localhost:6641 external_ids:ovn-encap-ip=localhost"}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">OVSDB JSON 94 9b165819a77c4a7330e0f57480da65ea92c96a73<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New"">{"_date":1529514016744,"Open_vSwitch":{"fe9a80c6-2318-41b4-a052-701fe955b827":{"cur_cfg":7}}}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#0070C0"><o:p> </o:p></span></p>
</div>
</body>
</html>