<html>
<head>
<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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 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:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
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;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:70.85pt 70.85pt 56.7pt 70.85pt;}
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="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Navdeep,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Please see inline.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Cathy<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Navdeep Uniyal [mailto:Navdeep.Uniyal@neclab.eu]
<br>
<b>Sent:</b> Tuesday, October 11, 2016 5:42 AM<br>
<b>To:</b> openstack-dev@lists.openstack.org<br>
<b>Subject:</b> [openstack-dev] [networking-sfc][devstack][mitaka]<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have been trying out networking-sfc to create service function chain in Openstack. I could create all the port pairs, port-pair-groups, flow classifier and the chain but I could not see the packets on the desired hops.
<o:p></o:p></p>
<p class="MsoNormal">I am trying to create a simple sfc with 3 VMs(vm1 to vm3) in the setup. I just want to check how it works. In my setup, vm1 is the Traffic generator(iperf) and vm3 is the traffic receiver(iperf server). Now, the  2 vms (vm2 and 3) are in
 the same network with vm1 and I want to move the iperf traffic from vm1->vm2->vm3. In order to achieve this, I have created 2 port pairs of vm2  and vm3 and both pairs are in separate port pair groups (PG1 and PG2), also created a Flow classifier FC1 and finally
 chain with PG1, PG2 and FC1.  Now my question is, is my setup correct in order to achieve the sfc result as I stated above? Do I need to include the vm1 in the port pair group?
<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Cathy> You only need to include VM2 in a port pair group. Traffic source and traffic destination do not need to be included in the chain’s port pair group, instead their IP addresses should be included in the
 flow classifier so that the system knows which flow needs to go through the chain. Here is a link to thw wiki.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><a href="https://wiki.openstack.org/wiki/Neutron/ServiceInsertionAndChaining">https://wiki.openstack.org/wiki/Neutron/ServiceInsertionAndChaining</a>            <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Cathy<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal">Below is the flow classifier:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">+----------------------------+--------------------------------------+<o:p></o:p></p>
<p class="MsoNormal">| Field                                                  | Value                                |<o:p></o:p></p>
<p class="MsoNormal">+----------------------------+--------------------------------------+<o:p></o:p></p>
<p class="MsoNormal">| description                                      |                                      |<o:p></o:p></p>
<p class="MsoNormal">| destination_ip_prefix               |                                      |<o:p></o:p></p>
<p class="MsoNormal">| destination_port_range_max |                                      |<o:p></o:p></p>
<p class="MsoNormal">| destination_port_range_min |                                      |<o:p></o:p></p>
<p class="MsoNormal">| ethertype                                        | IPv4                                 |<o:p></o:p></p>
<p class="MsoNormal">| id                                                         | e5000ade-50ad-41ed-a159-b89c4blp97ec |<o:p></o:p></p>
<p class="MsoNormal">| l7_parameters                                  | {}                                   |<o:p></o:p></p>
<p class="MsoNormal">| logical_destination_port           |                                      |<o:p></o:p></p>
<p class="MsoNormal">| logical_source_port                   | 63cdf664-dd67-455c-8345-f01ef58c23e5 |<o:p></o:p></p>
<p class="MsoNormal">| name                                                | FC1                                  |<o:p></o:p></p>
<p class="MsoNormal">| project_id                                       | 6b90cd3356144681b44274d4881c5fc7     |<o:p></o:p></p>
<p class="MsoNormal">| protocol                                          | tcp                                  |<o:p></o:p></p>
<p class="MsoNormal">| source_ip_prefix                          | 10.0.0.18/32                         |<o:p></o:p></p>
<p class="MsoNormal">| source_port_range_max      |                                      |<o:p></o:p></p>
<p class="MsoNormal">| source_port_range_min      |                                      |<o:p></o:p></p>
<p class="MsoNormal">| tenant_id                                         | 6b90cd3310104681b44274d4881c5fc7     |<o:p></o:p></p>
<p class="MsoNormal">+----------------------------+--------------------------------------+<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is there any wiki with some example case explained with testing scenario?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best Regards,<o:p></o:p></p>
<p class="MsoNormal"><b>Navdeep Uniyal<o:p></o:p></b></p>
<p class="MsoNormal"><b>Email: </b><a href="mailto:navdeep.uniyal@neclab.eu">navdeep.uniyal@neclab.eu</a><o:p></o:p></p>
<p class="MsoNormal">---------------------------------------------<o:p></o:p></p>
<p class="MsoNormal">Software Engineer<o:p></o:p></p>
<p class="MsoNormal">NEC Europe Ltd. <o:p></o:p></p>
<p class="MsoNormal"><span lang="DE" style="font-size:10.0pt">NEC Laboratories Europe
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE" style="font-size:10.0pt">Kurfürstenanlage 36, D-69115 Heidelberg,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="DE" style="font-size:9.0pt"><br>
</span><span style="font-size:9.0pt">NEC Europe Ltd | Registered Office: Athene, Odyssey Business Park, West End  Road, London, HA4 6QE, GB | Registered in England 2832014</span><o:p></o:p></p>
</div>
</body>
</html>