<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:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@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-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:1087077671;
        mso-list-type:hybrid;
        mso-list-template-ids:492462492 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;
        margin-left:1.0in;
        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;
        margin-left:1.5in;
        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;
        margin-left:2.0in;
        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;
        margin-left:2.5in;
        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;
        margin-left:3.0in;
        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;
        margin-left:3.5in;
        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;
        margin-left:4.0in;
        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;
        margin-left:4.5in;
        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;
        margin-left:5.0in;
        text-indent:-.25in;
        font-family:Wingdings;}
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">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"><span style="color:#1F497D"><o:p> </o:p></span></a></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 sysinv to 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;mso-list:l0 level1 lfo2;background:whitesmoke;word-break:break-all">
<![if !supportLists]><span lang="EN-CA" style="font-size:10.0pt;font-family:Symbol;color:#333333"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]><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;mso-list:l0 level1 lfo2;background:whitesmoke;word-break:break-all">
<![if !supportLists]><span lang="EN-CA" style="font-size:10.0pt;font-family:Symbol;color:#333333"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><![endif]><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>