<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 1/16/2020 5:01 AM, Ratan Gupta
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1fb0c51e-32a2-1168-1d1d-ac044a5f892c@linux.vnet.ibm.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p> </p>
      <p class="western" style="margin-bottom: 0cm; line-height: 100%">
        Hi All,<br>
      </p>
      <tt><br>
      </tt><tt>Further to the previous dump proposal, I have
        incorporated the following changes. </tt>
      <ul>
        <li><tt>Having seprate LogService redfish resource for each type
            of dump.</tt><br>
        </li>
      </ul>
      <ul>
        <li><tt>Enhance the LogService(</tt><tt><font color="#000080"><span
                lang="zxx"><u><a
                    href="https://redfish.dmtf.org/schemas/LogService.v1_1_3.json"
                    moz-do-not-send="true">https://redfish.dmtf.org/schemas/LogService.v1_1_3.json</a></u></span></font></tt><tt>)
            property</tt><br>
        </li>
      </ul>
      <tt>       "LogEntryType": {</tt><tt><br>
      </tt><tt> </tt><tt><br>
      </tt><tt>            "enum": [</tt><tt><br>
      </tt><tt>                      "Event",</tt><tt>  </tt><tt><br>
      </tt><tt>                      "SEL",</tt><tt><br>
      </tt><tt>                      "Oem"</tt><tt><br>
      </tt><tt>                      </tt><tt>“</tt><tt><b>Dump</b></tt><tt>”</tt><tt><br>
      </tt><tt>                ] }</tt><tt><br>
      </tt>
      <ul>
        <li><tt>Enhance the LogService under OEM for further subsystem
            type</tt><br>
        </li>
      </ul>
      <tt>      eg: hostboot dump, hypervisor dump</tt><tt><br>
      </tt><tt> </tt><tt><br>
      </tt><tt>        “OEM”: {</tt><tt><br>
      </tt><tt> </tt><tt><br>
      </tt><tt>              “</tt><tt><b>SystemType</b></tt><tt>”: {
        “enum” : [“HostBoot, Hypervisor, etc”] }</tt><tt><br>
      </tt><tt> </tt><tt><br>
      </tt><tt>                } </tt><tt><br>
      </tt>
      <ul>
        <li><tt>Enhance the Log Service for the following<br>
          </tt><tt> <b>Properties</b></tt><tt>:</tt><br>
        </li>
      </ul>
      <blockquote>
        <ol>
          <li><tt><b>DumpOverridePolicy : </b></tt><tt><b>This can be
                different for all different type of dumps.</b></tt></li>
        </ol>
      </blockquote>
    </blockquote>
    <p><br>
    </p>
    <pre class="data">LogService has a OverWritePolicy property, can we use that?</pre>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:1fb0c51e-32a2-1168-1d1d-ac044a5f892c@linux.vnet.ibm.com">
      <blockquote>
        <ol>
          <li><tt><b><tt><b>MaxDumps: This can be different for all
                    different type of dumps.</b></tt></b></tt><tt>    </tt><tt><br>
            </tt></li>
        </ol>
      </blockquote>
    </blockquote>
    <p><tt>LogService has a </tt><tt>MaxNumberOfRecords can we use that
        and drop this?</tt><br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:1fb0c51e-32a2-1168-1d1d-ac044a5f892c@linux.vnet.ibm.com">
      <blockquote>
        <ol>
          <li><tt> </tt></li>
        </ol>
      </blockquote>
      <p><tt>     <b>Actions:</b></tt><br>
      </p>
      <blockquote>
        <ol>
          <li><tt><b>CreateLog:</b></tt><tt><b> If logservice (</b></tt><tt><b>LogEntryType
              </b></tt><tt><b>is Dump) and the subsystem type is
                “Hypervisor” then create log will create a Host
                hypervisor dump.</b></tt></li>
          <li><tt><b> </b></tt><tt><b>DeleteAll: Delete all the logs
                from this log service, This is a addition on the
                deletion of the single resource(LogEntry).</b></tt><br>
          </li>
        </ol>
      </blockquote>
    </blockquote>
    <p><tt>LogService has a </tt><tt> "ClearLog". Can we use that?</tt><br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:1fb0c51e-32a2-1168-1d1d-ac044a5f892c@linux.vnet.ibm.com">
      <blockquote>
        <ol>
          <li> <br>
          </li>
        </ol>
      </blockquote>
      <ul>
        <li><tt>Enhance the logentry<b>(</b><tt><font color="#000080"><span
                  lang="zxx"><u><a
                      href="https://redfish.dmtf.org/schemas/LogEntry.v1_5_0.json"
                      moz-do-not-send="true"><b>https://redfi</b></a></u></span></font><font
                color="#000080"><span lang="zxx"><u><a
                      href="https://redfish.dmtf.org/schemas/LogEntry.v1_5_0.json"
                      moz-do-not-send="true"><b>sh.dmtf.org/schemas/LogEntry.v1_5_0.json</b></a></u></span></font></tt><tt><b>)</b></tt></tt></li>
      </ul>
      <tt> </tt><tt>       "LogEntryType": {</tt><tt><br>
      </tt><tt>            "enum": [</tt><tt><br>
      </tt><tt>                      "Event",</tt><tt>  </tt><tt><br>
      </tt><tt>                      "SEL",</tt><tt><br>
      </tt><tt>                      "Oem"</tt><tt><br>
      </tt><tt>                      </tt><tt>“</tt><tt><b>Dump</b></tt><tt>”</tt><tt><br>
      </tt><tt>                ] }</tt>
      <ul>
        <li><tt>Map the proposed dump properties with existing log entry
            property</tt></li>
        <ul>
          <li><tt>Proposed Property           Existing LogEntry Property</tt></li>
          <ul>
            <li><tt>ID                          ID</tt></li>
            <li><tt><tt>Timestamp                   Created</tt></tt></li>
            <li><tt><tt><tt>Reason                      LogEntryCode</tt><tt>
                    (Introduce more enums in the LogEntry Code for the
                    dump                         reason)</tt></tt></tt><br>
            </li>
          </ul>
        </ul>
      </ul>
      <ul>
        <li><tt><tt>New Properties to be introduced in the logEntry</tt></tt></li>
        <ul>
          <li><tt><b>Size</b></tt></li>
        </ul>
      </ul>
    </blockquote>
    <p><br>
    </p>
    <p>Redfish size properties typically have the unit in the name.</p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:1fb0c51e-32a2-1168-1d1d-ac044a5f892c@linux.vnet.ibm.com">
      <ul>
        <ul>
          <li><tt><b>NOTE: </b>Dump type is not needed as the
              logservice logentry type will tell that this service is
              for dump and the system type will tell that this service
              is for which subsytem.</tt><br>
          </li>
        </ul>
      </ul>
      <tt><b>NOTE: </b></tt><tt> </tt><tt><br>
      </tt><tt> </tt><tt><br>
      </tt><tt><b>1/ OdataID of log entry redfish resourc</b></tt><tt><b>e</b></tt><tt><b>
          will point to the raw dump file which can be used to offload
          the dump.</b></tt><tt><br>
      </tt><tt> </tt><tt><br>
      </tt><tt><b>2/ CreateLog: </b></tt><tt><b>spawns a task and
          returns the taskID.Client can query the status for the task.</b></tt><tt><br>
      </tt><tt> </tt><tt><br>
      </tt><tt> </tt><tt><br>
      </tt><tt> Please let me know if I have missed something else.I
        would be making the change in the PPT also.</tt><br>
      <p class="western" style="margin-bottom: 0cm; font-weight: normal;
        line-height: 100%"> Regards</p>
      <p class="western" style="margin-bottom: 0cm; font-weight: normal;
        line-height: 100%"> Ratan Gupta</p>
      <p>
        <style type="text/css">p { margin-bottom: 0.25cm; direction: ltr; color: rgb(0, 0, 10); line-height: 120%; text-align: left; }p.western { font-family: "Liberation Serif", serif; font-size: 12pt; }p.cjk { font-family: "Noto Sans CJK SC Regular"; font-size: 12pt; }p.ctl { font-family: "FreeSans"; font-size: 12pt; }a:link { }</style></p>
      <div class="moz-cite-prefix">On 10/01/20 1:37 AM, Gunnar Mills
        wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:62d0d9ee-ab0c-7ec9-403d-dc9487872142@linux.vnet.ibm.com">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        <p>A couple comments. <br>
        </p>
        <div class="moz-cite-prefix">On 1/7/2020 2:08 PM, Bills, Jason M
          wrote:<br>
        </div>
        <blockquote type="cite"
          cite="mid:a281f9ca-9dc7-9e7a-8e87-08a313d43fe9@linux.intel.com">
          <br>
          On 1/7/2020 2:11 AM, Ratan Gupta wrote: <br>
          <br>
          <blockquote type="cite">
            <blockquote type="cite"> <br>
              <blockquote type="cite"> <br>
                On Sat, Dec 14, 2019 at 10:57 AM dhruvaraj S <a
                  class="moz-txt-link-rfc2396E"
                  href="mailto:dhruvaraj@gmail.com"
                  moz-do-not-send="true"><dhruvaraj@gmail.com></a>
                wrote: <br>
                <blockquote type="cite"> <br>
                  On Sat, Dec 14, 2019 at 1:32 AM Bills, Jason M <br>
                  <a class="moz-txt-link-rfc2396E"
                    href="mailto:jason.m.bills@linux.intel.com"
                    moz-do-not-send="true"><jason.m.bills@linux.intel.com></a>
                  wrote: <br>
                  <blockquote type="cite"> <br>
                    I like this as well.  I'm trying to support a CPU
                    crashdump that would <br>
                    fit perfectly with this proposal. <br>
                    <br>
                    A question and some comments below: <br>
                    <br>
                    Will Dump only have the two types: BMC and Host? 
                    Could this be more <br>
                    flexible to allow for multiple different types of
                    dumps from various <br>
                    components? <br>
                  </blockquote>
                  + I think dump types should be flexible to cover
                  different types of <br>
                  host or bmc dumps from different components with
                  varying formats. <br>
                </blockquote>
              </blockquote>
            </blockquote>
            Sure we can enhance the type of dump, it is enum in the
            proposal which can be enhanced. <br>
            What could be other dump type which I can add in the types?
            <br>
          </blockquote>
        </blockquote>
        <p>Slide 15:  Since DumpType is an enum, should reason be as
          well? "Type" is a pretty typical enum in Redfish. E.g.
          BaseModuleType from <a class="moz-txt-link-freetext"
            href="https://redfish.dmtf.org/schemas/Memory.v1_8_0.json"
            moz-do-not-send="true">https://redfish.dmtf.org/schemas/Memory.v1_8_0.json</a><br>
          <br>
          Reason seems similar to the <span class="treeLabel
            objectLabel" aria-labelledby="default" data-level="1">LogEntryCode
            from</span> <a class="moz-txt-link-freetext"
            href="https://redfish.dmtf.org/schemas/LogEntry.v1_5_0.json"
            moz-do-not-send="true">https://redfish.dmtf.org/schemas/LogEntry.v1_5_0.json</a><br>
          <br>
          Slide 15: <br>
          "Size": 108944B<br>
          Redfish size properties typically have the unit in the name.
          E.g. From <a class="moz-txt-link-freetext"
            href="https://redfish.dmtf.org/schemas/Memory.v1_8_0.json"
            moz-do-not-send="true">https://redfish.dmtf.org/schemas/Memory.v1_8_0.json</a>
          CacheSizeMiB or CapacityMiB. <br>
          <br>
          odata.context is getting dropped. See <a
            class="moz-txt-link-freetext"
            href="https://github.com/DMTF/Redfish/issues/2722"
            moz-do-not-send="true">https://github.com/DMTF/Redfish/issues/2722</a>
          or <a class="moz-txt-link-freetext"
href="https://github.com/DMTF/Redfish/commit/ae49f4fb1278fd435f89317c3fa53cac597e3893#diff-e82b4876efbeaa600d3b104a426f7ac5"
            moz-do-not-send="true">https://github.com/DMTF/Redfish/commit/ae49f4fb1278fd435f89317c3fa53cac597e3893#diff-e82b4876efbeaa600d3b104a426f7ac5</a>
          <br>
        </p>
      </blockquote>
    </blockquote>
  </body>
</html>