<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=utf-8">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:12.0pt;
        font-family:"Times New Roman","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;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.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:1615936730;
        mso-list-template-ids:1745228938;}
@list l0:level1 lfo3
        {mso-level-start-at:2;}
@list l0:level1 lfo4
        {mso-level-start-at:2;}
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="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Hi, Sachi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Please see my inlined replies.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Also, please refer to this link when you try to integrate OpenStack GBP and ODL GBP:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><a href="https://wiki.openstack.org/wiki/GroupBasedPolicy/InstallODLIntegrationDevstack">https://wiki.openstack.org/wiki/GroupBasedPolicy/InstallODLIntegrationDevstack</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Yapeng<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<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""> Sachi Gupta [mailto:sachi.gupta@tcs.com]
<br>
<b>Sent:</b> Tuesday, January 13, 2015 4:02 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions); groupbasedpolicy-dev@lists.opendaylight.org; Yapeng Wu<br>
<b>Cc:</b> burns@noironetworks.com<br>
<b>Subject:</b> Re: [openstack-dev] [Policy][Group-based-policy] ODL Policy Driver Specs<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hi,</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">While working on the integration of Openstack With ODL GBP, I have the below queries:</span>
<o:p></o:p></p>
<ol start="1" type="1">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo2">
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Endpoint-group Create: When I create a new policy-target-group from Openstack say "gbp target-policy-group-create group1", it internally creates a l2.policy which includes the creation of the network
 and subnet. Meaning creation of EPG will create Network and subnet implicitly in Openstack and also the corresponding EPG, subnet, l3-context, l2-flood-domain, l2-bridge-domain will be created in the ODL GBP.
<b>So during the above EPG creation, neutron network and subnet call will come to the neutron northbound of ODL or only to ODL GBP??</b></span>
<o:p></o:p></li></ol>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">[Yapeng] First, when creating policy-target-group, you need to give “provided-policy-rule-sets” or
 “consumed-policy-rule-sets” parameter. Currently we don’t support policy-target-group update. Second, neutron network and subnet call won’t go to ODL.<o:p></o:p></span></p>
<ol start="2" type="1">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo3">
<o:p> </o:p></li></ol>
<ol start="2" type="1">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo4">
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">In ODL, there is no Endpoint create API, instead there is an API to register the endpoints<b>. So what is the sync between the OS and ODL for Endpoint create and register.?</b></span><o:p></o:p></li></ol>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D">[Yapeng] The current working scheme is as follow: ODL GBP has new APIs for openstack-endpoint register and unregister supports.[1][2] When Openstack GBP creates
 policy-target, a neutron port will be created by implicit driver, openstack-endpoint register API will be invoked and the OVS tap-port-id will be passed as parameter to ODL GBP. Later when VM is booted, the OVS tap-port-id will be populated on openvswitch,
 this will trigger ODL to update ovs flow tables.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D">[1]</span>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"><a href="https://git.opendaylight.org/gerrit/#/c/13554/">https://git.opendaylight.org/gerrit/#/c/13554/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D">[2]
<a href="https://git.opendaylight.org/gerrit/#/c/13896/">https://git.opendaylight.org/gerrit/#/c/13896/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
<br>
Thanks & Regards<br>
Sachi Gupta<br>
</span><br>
<br>
<br>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F">From:        </span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">Yapeng Wu <Yapeng.Wu@huawei.com></span>
<br>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F">To:        </span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">"OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org></span>
<br>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F">Date:        </span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">01/12/2015 09:01 PM</span>
<br>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F">Subject:        </span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">Re: [openstack-dev] [Policy][Group-based-policy] ODL        Policy        Driver        Specs</span>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" noshade="" style="color:#A0A0A0" align="center">
</div>
<p class="MsoNormal"><br>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080">Hello, Sachi,</span>
<br>
<span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080"> </span>
<br>
<span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080">They both works. “End point group” has been renamed to “policy target group”. It is recommended to use “gbp policy-target-group-create”.</span>
<br>
<span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080"> </span>
<br>
<span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080">Yapeng</span>
<br>
<span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080"> </span>
<br>
<span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#004080"> </span>
<br>
<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""> Sachi Gupta [</span><a href="mailto:sachi.gupta@tcs.com"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">mailto:sachi.gupta@tcs.com</span></a><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">]
<b><br>
Sent:</b> Monday, January 12, 2015 7:03 AM<b><br>
To:</b> OpenStack Development Mailing List (not for usage questions)<b><br>
Subject:</b> Re: [openstack-dev] [Policy][Group-based-policy] ODL Policy Driver Specs</span>
<br>
  <br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hi,</span> <br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
Can anyone explain the difference between gbp group-create and gbp policy-target-group-create??</span>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
<br>
I think both these are working same.</span> <span style="font-size:10.0pt;font-family:"Arial","sans-serif"">
<br>
<br>
Thanks & Regards<br>
Sachi Gupta</span><br>
<br>
<br>
<br>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F"><br>
From:        </span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">Sumit Naiksatam <sumitnaiksatam@gmail.com></span>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F"><br>
To:        </span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">"OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org></span>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F"><br>
Date:        </span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">11/26/2014 01:35 PM</span>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F"><br>
Subject:        </span><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">Re: [openstack-dev] [Policy][Group-based-policy] ODL Policy Driver        Specs</span>
<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" noshade="" style="color:#A0A0A0" align="center">
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<br>
<span style="font-size:10.0pt"><br>
Hi, This GBP spec is currently being worked on:</span><u><span style="color:blue"><br>
</span></u><a href="https://review.openstack.org/#/c/134285/"><span style="font-size:10.0pt">https://review.openstack.org/#/c/134285/</span></a><span style="font-size:10.0pt"><br>
<br>
It will be helpful if you can add "[Policy][Group-based-policy]" in<br>
the subject of your emails, so that the email gets characterized<br>
correctly.<br>
<br>
Thanks,<br>
~Sumit.<br>
<br>
On Tue, Nov 25, 2014 at 4:27 AM, Sachi Gupta <sachi.gupta@tcs.com> wrote:<br>
> Hey All,<br>
><br>
> I need to understand the interaction between the Openstack GBP and the<br>
> Opendaylight GBP project which will be done by ODL Policy driver.<br>
><br>
> Can someone provide me with specs of ODL Policy driver for making my<br>
> understanding on call flow.<br>
><br>
><br>
> Thanks & Regards<br>
> Sachi Gupta<br>
><br>
> =====-----=====-----=====<br>
> Notice: The information contained in this e-mail<br>
> message and/or attachments to it may contain<br>
> confidential or privileged information. If you are<br>
> not the intended recipient, any dissemination, use,<br>
> review, distribution, printing or copying of the<br>
> information contained in this e-mail message<br>
> and/or attachments to it are strictly prohibited. If<br>
> you have received this communication in error,<br>
> please notify us by reply e-mail or telephone and<br>
> immediately and permanently delete the message<br>
> and any attachments. Thank you<br>
><br>
><br>
> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> OpenStack-dev@lists.openstack.org<br>
> </span><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><span style="font-size:10.0pt">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</span></a><span style="font-size:10.0pt"><br>
><br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
OpenStack-dev@lists.openstack.org</span><u><span style="color:blue"><br>
</span></u><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><span style="font-size:10.0pt">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</span></a><tt><span style="font-size:10.0pt">__________________________________________________________________________</span></tt><span style="font-size:10.0pt;font-family:"Courier New""><br>
<tt>OpenStack Development Mailing List (not for usage questions)</tt><br>
<tt>Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</tt><br>
</span><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><tt><span style="font-size:10.0pt">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</span></tt></a><o:p></o:p></p>
</div>
</body>
</html>