<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:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
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;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have been trying to enable the networking SFC mechanism in OpenStack. I have successfully created port pairs, port pair groups, port chain and a flow classifier. However, I am unable to get the service chain working. The architecture
 of the set up I have deployed is attached. I have used the queens version of OpenStack.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The steps that I followed are as below.<o:p></o:p></p>
<p class="MsoNormal">•             Create port<o:p></o:p></p>
<p class="MsoNormal">    neutron port-create --name <p1-p6> sfc-Network<o:p></o:p></p>
<p class="MsoNormal">•             Create VMs and attach the interfaces with them accordingly<o:p></o:p></p>
<p class="MsoNormal">       VM1 – P1 & P2; VM2 – P3 & P4; VM3 – P5 & P6 <o:p></o:p></p>
<p class="MsoNormal">•             Create port pairs<o:p></o:p></p>
<p class="MsoNormal">    neutron port-pair-create pp1 -- ingress p1 -- egress p2<o:p></o:p></p>
<p class="MsoNormal">    neutron port-pair-create pp2 -- ingress p3 -- egress p4<o:p></o:p></p>
<p class="MsoNormal">    neutron port-pair-create pp3 -- ingress p5 -- egress p6<o:p></o:p></p>
<p class="MsoNormal">•             Create port pair groups <o:p></o:p></p>
<p class="MsoNormal">    neutron port-pair-group-create -- port-pair pp1 ppg1<o:p></o:p></p>
<p class="MsoNormal">    neutron port-pair-group-create -- port-pair pp2 ppg2<o:p></o:p></p>
<p class="MsoNormal">    neutron port-pair-group-create -- port-pair pp3 ppg3<o:p></o:p></p>
<p class="MsoNormal">•             Create flow classifier<o:p></o:p></p>
<p class="MsoNormal">    neutron flow-classifier-create --source-ip-prefix <ip of p1> --destination-ip-prefix <ip of p6> --logical-source-port p1 fc1<o:p></o:p></p>
<p class="MsoNormal">•             Create port chain <o:p></o:p></p>
<p class="MsoNormal">    neutron port-chain-create --port-pair-group ppg1 --port-pair-group ppg2 --port-pair-group ppg3 --flow-classifier fc1 pc1<o:p></o:p></p>
<p class="MsoNormal">I am testing this architecture by sending a ping request from VM1 to VM3. Therefore, the destination port is P6. If SFC is working correctly, I should be able to see the packets go through the VM2 to VM3 when I do a tcpdump in VM2. As I
 am new to OpenStack and SFC, I am not certain if this is logically correct. <o:p>
</o:p></p>
<p class="MsoNormal">I would like to pose two questions. <o:p></o:p></p>
<p class="MsoNormal">1)            All the VMs are on the same network,  is it logically correct to expect the ping packets to be routed from VM1 > VM2 > VM3 in the SFC scenario? Because all the ports are on the same network, I get a ping response but it is
 not via VM2 even though the port chain is created through VM2. <o:p></o:p></p>
<p class="MsoNormal">2)            If not, how do I make sure that the packets are routed through VM2 which is the second port pair in the port pair chain. Could it be something to do with the OpenVSwitch configuration?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any help would be highly appreciated. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Kalyani Rajkumar<o:p></o:p></p>
<p class="MsoNormal">High Performance Networks Group, University of Bristol<o:p></o:p></p>
</div>
</body>
</html>