<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div dir="ltr" >Hi Team,</div>
<div dir="ltr" > </div>
<div dir="ltr" >I had two approaches to store the Host Network config,We can store it in the global settings object where we are keeping all the host related data.</div>
<div dir="ltr" > </div>
<div dir="ltr" > Or</div>
<div dir="ltr" > </div>
<div dir="ltr" >We can store it in some other file specific for host network config.</div>
<div dir="ltr" > </div>
<div dir="ltr" >if we go with 1st approach where we will keep the info in the global settings object.</div>
<div dir="ltr" > </div>
<div dir="ltr" >1) we can create separate attr for network_config and the value would be string</div>
<div dir="ltr" > </div>
<div dir="ltr" > eg settings file:</div>
<div dir="ltr" > ===========</div>
<div dir="ltr" >
<div>#!/usr/bin/python -u<br>SETTINGS={'host': {'bootflags': {'default': 'default', 'type': 's', 'name': 'boot_flags'}, 'powercap': {'name': 'power_cap', 'min': 0, 'default': 0, 'max': 1000, 'type': 'i', 'unit': 'watts'}, 'sysstate': {'default': '', 'type': 's', 'name': 'system_state'}, 'powerpolicy': {'default': 'RESTORE_LAST_STATE', 'type': 's', 'name': 'power_policy'}, 'restrictedmode': {'default': False, 'type': 'b', 'name': 'restricted_mode'}, <strong>'networkConfig': {default': {ipaddress:x.x.x.x,subnetmask:x.x.x.x,gateway:x.x.x.x,Mac:x:x:x:x:x:x},'name':network_config,'type':'s'}}}</strong></div>
<div> </div>
<div>We have to parse this string in IPMI to get the network config details.</div>
<div> </div>
<div>2) We can use the network object interface to set the host network properties.like setAddress4 and setHwAddress.But in this case also we have to overload these functions as we can take one more parameter named "Target",If target is BMC then do whatever we are doingt it today,Otherwise give the new functionality.</div>
<div> </div>
<div>In this approach we can not store the host related settings in Global settings file as both(network,GlobalSettings) are different object.so for storing this host network info we need to introduce one more file to persist the info.</div>
<div> </div>
<div> </div>
<div>Recommendation:- We can go with first approach as all the host related settings in the global settings object and we can set all the network related attr in one atomic operation.</div>
<div> </div>
<div>Please let me know your thoughts in this.</div>
<div> </div>
<div dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div>Ratan</div>
<div> </div>
<div>----- Original message -----</div>
<blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >From: Adriana Kobylak/Austin/IBM<br>To: Bradley W Bishop/Rochester/IBM@IBMUS, Chris Austen/Austin/IBM@IBMUS, Douglas Griffith/Austin/IBM@IBMUS, Gus Schlachter/Austin/IBM@IBMUS, Hariharasubramanian Ramasubramanian/India/IBM@IBMIN, Rahul Maheshwari3/India/IBM@IBMIN, Ratan K Gupta/India/IBM@IBMIN, Tom Joseph2/India/IBM@IBMIN, Vishwanatha Subbanna/India/IBM@IBMIN, Nan KX Li/China/IBM@IBMCN, Yi TZ Li/China/IBM@IBMCN<br>Cc: Norman James/Austin/IBM@IBMUS, Patrick Williams III/Rochester/IBM@IBMUS<br>Subject: Re: OpenBMC May Sprint<br>Date: Fri, May 6, 2016 1:50 AM<br> <br><font size="2" >Per popular demand during today's call, here are the issues and wish list items that are candidates for the next tag, we'll call it our short Sprint 9.</font><br><font size="2" >For those that are ready to get started, choose one and add a comment to the github issue or RTC with your name on it to know you'll be working on it, or just ping me with your choice.</font><br><br><font size="2" >(As a side note, after "short sprint 9", we'll be transitioning from RTC to using github for story management, so install the firefox/chrome plugin zenhub </font><a href="https://www.zenhub.io/" target="_blank" ><font size="2" >https://www.zenhub.io</font></a><font size="2" > to get ready)</font><br><br><font size="2" >------</font><br><br><font size="2" >Small - Skeleton - System state not updated. </font><a href="https://github.com/openbmc/openbmc/issues/196" target="_blank" ><font size="2" >https://github.com/openbmc/openbmc/issues/196</font></a><br><br><font size="2" >Small/Med - IPMI boot options - Implement network override. </font><a href="https://jazz07.rchland.ibm.com:13443/jazz/web/projects/OpenBMC#action=com.ibm.team.workitem.viewWorkItem&id=151536" target="_blank" ><font size="2" >https://jazz07.rchland.ibm.com:13443/jazz/web/projects/OpenBMC#action=com.ibm.team.workitem.viewWorkItem&id=151536</font></a><br><br><font size="2" >Medium - Bitbake Recipes - PAM authentication. Only turn on PAM without turning off busybox.</font><br><font size="2" >Medium - User management (python) - Switch to useradd that takes arguments, parallel with PAM story. </font><a href="https://github.com/openbmc/phosphor-networkd/issues/9" target="_blank" ><font size="2" >https://github.com/openbmc/phosphor-networkd/issues/9</font></a><br><br><font size="2" >Debug (unknown size):</font><br><a href="https://github.com/openbmc/openbmc/issues/194" target="_blank" ><font size="2" >https://github.com/openbmc/openbmc/issues/194</font></a><br><a href="https://github.com/openbmc/openbmc/issues/206" target="_blank" ><font size="2" >https://github.com/openbmc/openbmc/issues/206</font></a><br><br><font size="2" >Code Cleanup and error path:</font><br><a href="https://github.com/openbmc/phosphor-host-ipmid/issues/75" target="_blank" ><font face="Helvetica" size="3" >https://github.com/openbmc/phosphor-host-ipmid/issues/75</font></a><br><a href="https://github.com/openbmc/phosphor-host-ipmid/issues/76" target="_blank" ><font face="Helvetica" size="3" >https://github.com/openbmc/phosphor-host-ipmid/issues/76</font></a><br><a href="https://github.com/openbmc/skeleton/issues/56" target="_blank" ><font face="Helvetica" size="3" >https://github.com/openbmc/skeleton/issues/56</font></a><br><font face="Helvetica" size="3" ><a href="https://github.com/openbmc/openbmc/issues/202" target="_blank" >https://github.com/openbmc/openbmc/issues/202</a></font><br><br><br><br><br><img alt="Inactive hide details for Adriana Kobylak---05/01/2016 02:29:03 PM---Hi team, We'll be transitioning to SP-Next in the next few" src="/icons/graycol.gif" height="16" width="16" border="0" ><font color="#424282" size="2" >Adriana Kobylak---05/01/2016 02:29:03 PM---Hi team, We'll be transitioning to SP-Next in the next few weeks. The current plan for the next 2 we</font><br><br><font color="#5F5F5F" size="2" >From: </font><font size="2" >Adriana Kobylak/Austin/IBM</font><br><font color="#5F5F5F" size="2" >To: </font><font size="2" >Bradley W Bishop/Rochester/IBM@IBMUS, Chris Austen/Austin/IBM@IBMUS, Douglas Griffith/Austin/IBM@IBMUS, Gus Schlachter/Austin/IBM@IBMUS, Hariharasubramanian Ramasubramanian/India/IBM@IBMIN, Rahul Maheshwari3/India/IBM@IBMIN, Ratan K Gupta/India/IBM@IBMIN, Tom Joseph2/India/IBM@IBMIN, Vishwanatha Subbanna/India/IBM@IBMIN, Nan KX Li/China/IBM@IBMCN, Yi TZ Li/China/IBM@IBMCN</font><br><font color="#5F5F5F" size="2" >Date: </font><font size="2" >05/01/2016 02:29 PM</font><br><font color="#5F5F5F" size="2" >Subject: </font><font size="2" >OpenBMC May Sprint</font>
<hr style="color:#8091A5; " align="left" size="2" width="100%" ><br><br><font size="2" >Hi team,</font><br><br><font size="2" >We'll be transitioning to SP-Next in the next few weeks. The current plan for the next 2 weeks (while Patrick is on vacation):</font>
<ul style="padding-left: 18pt; margin-left: 0px" type="disc" > <li><font size="2" >Complete the GA2 items you've been working on. As availability permits, pick a GA3 item that can be contained in a week. Objective is to close all GA2 items and complete as many GA3 items as possible by May 15th, at which point we'll conclude features targeted for Rackspace and tag that build as v1.0. </font></li></ul><br><font size="2" >Beginning May 15th the whole team will start with SP-Next development, some of you like Brad and Tom are already started, some new members will join us as well. At that time we'll split our current meeting into daily scrums with separate twice a week tech talks.</font><br><br><font size="2" >I'll be at at a workshop monday-tuesday may 2-3, so we'll resume scrum on thursday. See you then.</font></blockquote>
<div dir="ltr" > </div></div></div>
<div dir="ltr" > </div></div></div><BR>