<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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 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:Consolas;
panose-1:2 11 6 9 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:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:Consolas;}
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.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle22
{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:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:90467845;
mso-list-type:hybrid;
mso-list-template-ids:-1716335220 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-text:"%1\)";
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
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="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Austin,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="color:#1F497D"><span style="mso-list:Ignore">1)<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="color:#1F497D">When we move to Stein, the ‘neutron providernet-create’, which was an stx extension. will no longer be supported. As noted in the Story, the host to physical network bindings will no longer be in
neutron and thus must now be modelled in sysinv so that the datanetworks (providernetworks) can be mapped to host data interfaces. Furthermore, references to datanetworks in the platform horizon is being updated to reference sysinv rather than neutron; as
neutron is being containerized. <o:p></o:p></span></p>
<p class="MsoListParagraph"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="color:#1F497D"><span style="mso-list:Ignore">2)<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="color:#1F497D">The commit referenced is:<o:p></o:p></span></p>
<p class="MsoListParagraph"><a href="http://stash.wrs.com/projects/CGCS/repos/github.com.openstack.neutron/commits/021ae1ac80ca7cbde9903c83b540ca775b05a94f"><span style="font-size:9.0pt;font-family:"Arial","sans-serif"">http://stash.wrs.com/projects/CGCS/repos/github.com.openstack.neutron/commits/021ae1ac80ca7cbde9903c83b540ca775b05a94f</span></a><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">John<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""> Sun, Austin [mailto:austin.sun@intel.com]
<br>
<b>Sent:</b> Monday, January 28, 2019 4:09 AM<br>
<b>To:</b> Kung, John; starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> RE: [Starlingx-discuss] [stx-config]: Data Interface Configuration Required for Data Networks (aka Provider Networks)<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Hi John:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style="color:#1F497D">Thanks your sharing and heads-up for this change . I have some questions:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style="color:#1F497D">1) when I tried this one, it seems ‘neutron providernet-create’ is still needed before ‘system datanetwork-add’ ,
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style="color:#1F497D"> what’s benefit for introducing “system datanetwork-add” command ?
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style="color:#1F497D">2) in <a href="https://storyboard.openstack.org/#!/story/2004455">
<span style="color:#1F497D;text-decoration:none">https://storyboard.openstack.org/#!/story/2004455</span></a> story , there mentioned
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style="color:#1F497D"> The related stx-neutron feature commit is the following:<br>
021ae1ac80ca7cbde9903c83b540ca775b05a94f<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span style="color:#1F497D"> But I cannot find this commit in code base.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Helvetica","sans-serif";color:#333333;background:#F7F6F4"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks.<br>
BR<br>
Austin Sun. <o:p></o:p></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"></a><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Kung, John [mailto:John.Kung@windriver.com] <br>
<b>Sent:</b> Saturday, January 26, 2019 2:54 AM<br>
<b>To:</b> starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> [Starlingx-discuss] [stx-config]: Data Interface Configuration Required for Data Networks (aka Provider Networks)<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-CA">Please note that an additional configuration step is required for the configuration of data interfaces with the introduction of<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><a href="https://storyboard.openstack.org/#!/story/2004455">https://storyboard.openstack.org/#!/story/2004455</a> “Move neutron provider network modelling to system configuration”<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Notably, the following system command Is required prior<span style="color:#1F497D"> to</span> sysinv referencing the datanetwork (formerly known as ‘ providernetwork’):
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span lang="EN-CA" style="font-size:14.0pt">system datanetwork-add
<o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span lang="EN-CA"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">In the following example, The datanetwork-add needs to be done prior to assigning the datanetwork (PHYSNET0) to the interface:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:7.5pt;margin-left:.5in;line-height:15.0pt;background:whitesmoke;word-break:break-all">
<span style="font-size:10.0pt;font-family:Consolas;color:#333333"># configure the datanetworks in sysinv, prior to referencing it in the system host-if-modify/host-if-add command<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:7.5pt;margin-left:.5in;line-height:15.0pt;background:whitesmoke;word-break:break-all">
<b><span style="font-size:10.0pt;font-family:Consolas;color:#333333">system datanetwork-add</span></b><span style="font-size:10.0pt;font-family:Consolas;color:#333333"> ${PHYSNET0} vlan<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:7.5pt;margin-left:.5in;line-height:15.0pt;background:whitesmoke;word-break:break-all">
<b><span style="font-size:10.0pt;font-family:Consolas;color:#333333">system host-if-modify</span></b><span style="font-size:10.0pt;font-family:Consolas;color:#333333"> -m 1500 -n data0 -d ${PHYSNET0} -c data ${COMPUTE} ${DATA0IFUUID}<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:7.5pt;margin-left:.5in;line-height:15.0pt;background:whitesmoke;word-break:break-all">
<b><span lang="EN-CA" style="font-size:10.0pt;font-family:Consolas;color:#333333">Notes</span></b><span lang="EN-CA" style="font-size:10.0pt;font-family:Consolas;color:#333333">:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:7.5pt;margin-left:1.0in;text-indent:-.25in;line-height:15.0pt;background:whitesmoke;word-break:break-all">
<span lang="EN-CA" style="font-size:10.0pt;font-family:Symbol;color:#333333">·</span><span lang="EN-CA" style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#333333">
</span><span lang="EN-CA" style="font-size:10.0pt;font-family:Consolas;color:#333333">The system host-if-modify ‘-p’ flag will still work but is being deprecated in favor of ‘-d’ for datanetwork<o:p></o:p></span></p>
<p class="MsoListParagraph" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:7.5pt;margin-left:1.0in;text-indent:-.25in;line-height:15.0pt;background:whitesmoke;word-break:break-all">
<span lang="EN-CA" style="font-size:10.0pt;font-family:Symbol;color:#333333">·</span><span lang="EN-CA" style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#333333">
</span><span lang="EN-CA" style="font-size:10.0pt;font-family:Consolas;color:#333333">If the datanetwork-add step is skipped, the following Client exception will be raised: “DataNetwork physnet0 could not be found.”)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">John<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-CA">Details</span></b><span lang="EN-CA">:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA">This is in preparation for upstream neutron which is not planned to support providernetwork host interface-physical data network binding.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA">Note also Horizon stx-gui Data Networks panels are under development and now refers to provisioning of data networks in sysinv; and not providernetworks in neutron.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA" style="font-family:"Courier New"">See summary of other datanetwork commands in the story reference and associated Gerrit reviews.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New"">[wrsroot@controller-0 ~(keystone_admin)]$ system help datanetwork-add<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New"">usage: system datanetwork-add [-d <description>] [-m <mtu>] [-p <port_num>]<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""> [-g <multicast_group>] [-t <ttl>] [-M <mode>]<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""> <datanetwork_name> <network_type><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New"">Add a datanetwork.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New"">Positional arguments:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""> <datanetwork_name> Name of the datanetwork [REQUIRED]<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""> <network_type> Type of the datanetwork [REQUIRED]<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New"">Optional arguments:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""> -d <description>, --description <description><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""> User description of the datanetwork<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""> -m <mtu>, --mtu <mtu><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""> MTU of the datanetwork<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""> -p <port_num>, --port_num <port_num><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""> port_num of the datanetwork<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""> -g <multicast_group>, --multicast_group <multicast_group><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""> multicast_group of the datanetwork<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""> -t <ttl>, --ttl <ttl><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""> time-to-live of the datanetwork<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""> -M <mode>, --mode <mode><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""> mode of the datanetwork<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:1.0in"><span lang="EN-CA" style="font-family:"Courier New""><o:p> </o:p></span></p>
</div>
</body>
</html>