<page xmlns="http://bali.us.oracle.com/cabo/baja" 
      xmlns:baja="http://bali.us.oracle.com/cabo/baja" 
      xmlns:marlin="http://bali.us.oracle.com/cabo/marlin"
      xmlns:html="http://www.w3.org/TR/REC-html40"
      xmlns:data="http://bali.us.oracle.com/cabo/marlin">

 <!-- Title bar -->
 <baja:head xmlns="http://bali.us.oracle.com/cabo/marlin"
            xmlns:html="http://www.w3.org/TR/REC-html40">
  <dataScope>
   <contents>
    <html:title> 
     <text data:text="FILER_PERFORMANCE_PAGE_TITLE@filerPageTitles"/>
    </html:title> 
   <html:noScript> "JavaScript is not supported by your browser. Oracle requires JavaScript support in order to completely render this page." </html:noScript>
   </contents>
   <provider>
    <data name="filerPageTitles">
     <method class="oracle.sysman.eml.target.filer.FilerCurDetailDataObject"
             method="getFilerPageTitles"/>
    </data>
   </provider>
  </dataScope>
 </baja:head>

 <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin">
  <dataScope>
   <contents>
    <pageLayout>
     <mediumAdvertisement>
      <include baja:node="../../oemBanner" />
     </mediumAdvertisement>

     <globalButtons>
      <include baja:node="../../globalButtonBar" />
     </globalButtons>

     <tabs>
      <include baja:node="../../globalTabs" />
     </tabs>

     <pageHeader>
      <include baja:node="../../globalHeader" />
     </pageHeader>

     <location>
      <include baja:node="../../breadCrumbs"/>
     </location>

     <copyright>
      <include baja:node="../../copyright"/>
     </copyright>

     <contents>
      <html:meta http-equiv="Refresh" content="-1" 
                 data:content="refreshRate@filerDetails"
                 data:rendered="showRefreshTag@filerDetails"/>

      <link name="TOP"/>

      <header data:text="header@filerDetails">
       <contents>
        <subTabBar orientation="top"
                   data:selectedIndex="selectedTab@folderInfo">
         <contents>
          <link data:text="HOME@mntrResourceBundle"
                data:destination="filerOverviewDest@folderInfo"/>
          <link data:text="FILER_PERFORMANCE@filerResourceBundle"  
                data:destination="filerPerformanceDest@folderInfo"/>
          <link data:text="FILER_VOLUMES@filerResourceBundle"  
              data:destination="filerVolumeDest@folderInfo"/>
          <link data:text="FILER_QTREES@filerResourceBundle"  
                data:destination="filerQtreeDest@folderInfo"/>
         </contents>
        </subTabBar>


        <!--  >>>>>>>>>> DROPDOWN REFRESH OPTION  >>>>>>>>>>>>>> -->
        <form name="filerPerformanceSummary">
         <contents>
          <tableLayout width="100%" rendered="true" id="timestamp_target">
           <contents>
            <rowLayout hAlign="right">
             <contents>
              <cellFormat>
               <contents>
                <switcher data:childName="showtime@filerDetails">
                 <case name="true">
                  <flowLayout>
                   <contents>
                    <switcher data:childName="realtime@filerDetails">
                     <case name="true">
                      <styledText styleClass="OraTipText" 
                                  vAlign="middle" 
                                  data:text="PAGE_REFRESHED@mntrResourceBundle" />
                     </case>
                     <case name="false">
                      <styledText styleClass="OraTipText" 
                                  vAlign="middle" 
                                  data:text="LATEST_DATA_COLLECTED_FROM_TARGET@mntrResourceBundle" />
                     </case>
                    </switcher>
                    <spacer  width="5"/>
                    <styledText styleClass="OraTipLabel" data:text="timestamp@filerDetails"/>
                   </contents>
                  </flowLayout>
                 </case>
                </switcher>
               </contents>
              </cellFormat>
             </contents>
            </rowLayout>
            <rowLayout hAlign="right">
             <contents>
              <cellFormat>
               <contents>
                <styledText styleClass="OraPromptText" 
                            data:text="VIEW_DATA@mntrResourceBundle" />
                <spacer width="5"/>
		 <choice name="refChoice" 
                        columns="5" 
                        marlin:selectedIndex="refreshSelection@filerDetails">
		  <primaryClientAction>
			<firePartialAction event="refToOpt" targets="stackLayout_target timestamp_target"/>
		  </primaryClientAction>
                
                 <contents marlin:childData="refOption@refreshChoices">
                  <option marlin:text="name" 
                          marlin:selected="selected" 
                          marlin:value="value"/>
                 </contents>
                </choice>

                <formValue name="event" value="refToOpt" />
<!--
                <spacer width="10"/>
                <submitButton data:text="REFRESH@commonResourceBundle" 
                              name="event" 
                              value="refToOpt" />
-->
                </contents>
               </cellFormat>
              </contents>
             </rowLayout>
            </contents>
           </tableLayout> 
          </contents>
         </form>

         <stackLayout id="stackLayout_target"> 
          <contents>
           <switcher name="false" data:childName="error@filerDetails">
            <case name="true">
             <messageBox data:message="errMsg@filerDetails"
                         messageType="error"
                         longDescURL="unimpl"
                         data:text="ERR_OCCUR@mntrResourceBundle">
             </messageBox>
            </case>
           </switcher>
           <rowLayout vAlign="top" width="100%">
            <contents>
             <cellFormat vAlign="top">
              <contents>
               <spacer height="10"/>
                <header data:text="FILER_CPU_UTILIZATION_TITLE@filerResourceBundle" vAlign="top">
                 <contents>
                  <stackLayout>
                   <contents>
                    <image data:source="filerCpuPercentChart@filerDetails"
                           data:shortDesc="FILER_CPU_UTILIZATION@filerResourceBundle"
                           data:destination="filerCpuPercentUrl@filerDetails"/> 
                    <spacer height="5"/>
                    <rowLayout hAlign="left" vAlign="top">
                     <contents>
                      <spacer width="55"/>
                      <tableLayout cellSpacing="8" 
                                   data:rendered="realtime@filerDetails">
                       <contents>
                        <rowLayout>
                         <contents>
                          <cellFormat hAlign="left">
                           <contents>
                            <styledText data:text="FILER_NUMBER_OF_CPUS@filerResourceBundle"
                                        wrappingDisabled="true"
                                        styleClass="OraPromptText"/>
                           </contents>
                          </cellFormat>
                          <cellFormat hAlign="center">
                           <contents>
                           </contents>
                          </cellFormat>
                          <cellFormat hAlign="right"> 
                           <contents>
                            <styledText data:text="filerNumberOfCPUs@filerDetails"
                                        styleClass="OraDataText"/>
                           </contents>
                          </cellFormat>
                         </contents>
                        </rowLayout>
               				  <rowLayout>
                         <contents>
                          <cellFormat hAlign="left">
                           <contents>
                            <styledText data:text="FILER_CPU_UTILIZATION_PERCENT@filerResourceBundle"
                                        wrappingDisabled="true"
                                        styleClass="OraPromptText"/>
                           </contents>
                          </cellFormat>
			                    <cellFormat hAlign="center">
                           <contents>
                            <image data:source="filerCpuPercentSevKey@filerDetails"
			             			 			     data:shortDesc="cpuStatusContextHelp@filerDetails"
                                   data:destination="filerCpuPercentSevDestKey@filerDetails"/>
                           </contents>
                          </cellFormat>
                          <cellFormat hAlign="right"> 
                           <contents>
                            <link data:text="PctBusy@filerDetails"
                                  data:destination="filerCpuPercentUrl@filerDetails"/>
                           </contents>
                          </cellFormat>
                         </contents>
                        </rowLayout>
                       </contents>
                      </tableLayout>
                     </contents>
                    </rowLayout>
                   </contents>
                  </stackLayout>
                 </contents>
                </header>
               </contents>
              </cellFormat>

              <cellFormat vAlign="top">
               <contents>
                <header data:text="FILER_NFS_CALLS@filerResourceBundle" vAlign="top">
                 <contents>
                  <stackLayout>
                   <contents>
                    <image data:source="filerNfsCallsRateChart@filerDetails"
                           data:shortDesc="FILER_NFS_CALLS@filerResourceBundle"
                           data:destination="filerNfsCallsRateUrl@filerDetails"/> 
                    <spacer height="5"/>
                    <rowLayout hAlign="left" vAlign="top">
                     <contents>
                      <spacer width="55"/>
                      <tableLayout cellSpacing="8" 
                                   data:rendered="realtime@filerDetails">
                       <contents>
                        <rowLayout>
                         <contents>
                          <cellFormat hAlign="left">
                           <contents>
                            <styledText data:text="FILER_NFS_TOTAL_CALLS@filerResourceBundle"
                                        wrappingDisabled="true"
                                        styleClass="OraPromptText"/>
                           </contents>
                          </cellFormat>
                          <cellFormat hAlign="center">
                           <contents>
                           </contents>
                          </cellFormat>
                          <cellFormat hAlign="right"> 
                           <contents>
                            <link data:text="NfsCallsRate@filerDetails"
                                  data:destination="filerNfsCallsRateUrl@filerDetails"/>
                           </contents>
                          </cellFormat>
                         </contents>
                        </rowLayout>
  
                        <rowLayout>
                         <contents>
                          <cellFormat hAlign="left">
                           <contents>
                            <styledText data:text="FILER_NFS_TOTAL_BAD_CALLS@filerResourceBundle"
                                        wrappingDisabled="true"
                                        styleClass="OraPromptText"/>
                           </contents>
                          </cellFormat>
                          <cellFormat hAlign="center">
                           <contents>
                            <image data:source="filerNfsBadCallsRateSevKey@filerDetails"
                                   data:shortDesc="nfsBadCallsStatusContextHelp@filerDetails"
                                   data:destination="filerNfsBadCallsRateSevDestKey@filerDetails"/>
                           </contents>
                          </cellFormat>
                          <cellFormat hAlign="right"> 
                           <contents>
                            <link data:text="NfsServPercentBadCalls@filerDetails"
                                  data:destination="filerNfsBadCallsRateUrl@filerDetails"/>
                           </contents>
                          </cellFormat>
                         </contents>
                        </rowLayout>
                       </contents>
                      </tableLayout>
                     </contents>
                    </rowLayout>
                   </contents>
                  </stackLayout>
                 </contents>
                </header>
               </contents>
              </cellFormat>

              <cellFormat vAlign="top">
               <contents>
                <switcher data:childName="checkCIFSEnabled@filerDetails">
                 <case name="true">
                  <header data:text="FILER_CIFS_CALLS@filerResourceBundle" vAlign="top">
                   <contents>
                    <stackLayout>
                     <contents>
                      <image data:source="filerCallsRateChart@filerDetails"
                             data:shortDesc="FILER_CIFS_CALLS@filerResourceBundle"
                             data:destination="filerCifsCallsRateUrl@filerDetails"/> 
                      <spacer height="5"/>
                      <rowLayout hAlign="left" vAlign="top">
                       <contents>
                        <spacer width="55"/>
                        <tableLayout cellSpacing="8" 
                                     data:rendered="realtime@filerDetails">
                         <contents>
                          <rowLayout>
                           <contents>
                            <cellFormat hAlign="left">
                             <contents>
                              <styledText data:text="FILER_CIFS_TOTAL_CALLS@filerResourceBundle"
                                          wrappingDisabled="true"
                                          styleClass="OraPromptText"/>
                             </contents>
                            </cellFormat>
                            <cellFormat hAlign="center">
                             <contents>
                             </contents>
                            </cellFormat>
                            <cellFormat hAlign="right"> 
                             <contents>
                              <link data:text="CifsCallsRate@filerDetails"
                                    data:destination="filerCifsCallsRateUrl@filerDetails"/>
                             </contents>
                            </cellFormat>
                           </contents>
                          </rowLayout>
     
                          <rowLayout>
                           <contents>
                            <cellFormat hAlign="left">
                             <contents>
                              <styledText data:text="FILER_CIFS_TOTAL_BAD_CALLS@filerResourceBundle"
                                        wrappingDisabled="true"
                                        styleClass="OraPromptText"/>
                              </contents>
                             </cellFormat>
                             <cellFormat hAlign="center">
                              <contents>
                               <image data:source="filerCifsBadCallsRateSevKey@filerDetails"
	    			                          data:shortDesc="cifsBadCallsStatusContextHelp@filerDetails"
                                      data:destination="filerCifsBadCallsRateSevDestKey@filerDetails"/>
                              </contents>
                             </cellFormat>
                             <cellFormat hAlign="right"> 
                              <contents>
                               <link data:text="CifsPercentBadCalls@filerDetails"
                                     data:destination="filerCifsBadCallsRateUrl@filerDetails"/>
                              </contents>
                             </cellFormat>
                            </contents>
                           </rowLayout>
                          </contents>
                         </tableLayout>
                        </contents>
                       </rowLayout>
                      </contents>
                     </stackLayout>
                    </contents>
                   </header>
    		          </case>
                 </switcher>	
                </contents>
               </cellFormat>
              </contents>
             </rowLayout>

             <spacer height="5"/>
             <switcher data:childName="typeMetaVer@filerDetails" defaultCase="default">
              <case name="1.0">
               <header data:text="FILER_NETWORK_DETAILS@filerResourceBundle" 
                       data:rendered="realtime@filerDetails"><contents>
                <tableLayout width="100%"><contents>
                 <rowLayout><contents>
                  <cellFormat><contents>
                   <styledText styleClass="OraInstructionText"
                               data:text="FILER_NETWORK_IO_INSTRUCTION@filerResourceBundle"/>
                  </contents></cellFormat>
                 </contents></rowLayout>
                </contents></tableLayout> 

                <stackLayout><contents>
                 <spacer width="8"/>
                 <switcher data:childName="node@filerNetworkDetails">
                  <case name="okNode">
     
                   <table data:tableData="row@filerNetworkDetails"
                          width="100%"
                          partialRenderMode="self"
                          showAll="yes"
                          id="network_io"
                          data:value="value@filerNetworkDetails"
                          data:blockSize="blockSize@filerNetworkDetails"
                          data:minValue="1"
                          data:maxValue="maxValue@filerNetworkDetails"
                          data:columnHeaderData="column@filerNetworkDetails"
                          data:columnFormats="colformat@columnData"
                          data:alternateText="FILER_NETWORK_IO_TITLE@filerResourceBundle"
                          data:summary="FILER_NETWORK_IO_TITLE@filerResourceBundle">

                    <tableFormat tableBanding="rowBanding"/>
    
                    <columnHeaderStamp>
                     <sortableHeader data:text="text"
                                     data:sortable="sortable"/>
                    </columnHeaderStamp>

                    <contents>
                     <image data:source="filerNetworkStatus"
                            data:shortDesc="statusContextHelp"/>
                     <styledText data:text="networkIndex"/>
                     <styledText data:text="filerNetworkName"/>
                     <styledText data:text="filerNetworkType"/>
                     <styledText data:text="filerNetworkIpAddress"/>
                     <styledText data:text="filerNetworkBandwidth"/>
                     <styledText data:text="filerNetworkRecd"
                                 data:destination="filerNetworkRecdRateDest"/>
                     <styledText data:text="filerNetworkSent"
                                 data:destination="filerNetworkSentRateDest"/>

                    </contents>
                   </table>
                  </case>
                  <case name="errNode">
                   <messageBox data:message="errMsg@filerNetworkDetails"
                               messageType="error"
                               longDescURL="unimpl"
                               data:text="ERR_OCCUR@mntrResourceBundle">
                   </messageBox>
                  </case>
                 </switcher>              

                 <spacer height="5"/>
                </contents></stackLayout>
               </contents></header>
              </case>
              <case name="default">
               <rowLayout vAlign="top" width="100%"><contents>
                <cellFormat vAlign="top"><contents>
                 <header data:text="FILER_DISK_IO_HEADER@filerResourceBundle" vAlign="top"><contents>
                  <stackLayout><contents>
                   <image data:source="filerTotalDiskIOChart@filerDetails"
                          data:shortDesc="FILER_DISK_IO_GRAPH_TEXT@filerResourceBundle"
                          data:destination="filerTotalDiskIORateUrl@filerDetails"/> 
                   <spacer height="5"/>
                   <rowLayout hAlign="left" vAlign="top"><contents>
                    <spacer width="30"/>
                    <tableLayout cellSpacing="8" 
                                 data:rendered="realtime@filerDetails">
                     <contents>
                      <rowLayout><contents>
                       <cellFormat hAlign="left"><contents>
                        <styledText data:text="FILER_TOTAL_DISK_READ_RATE@filerResourceBundle"
                                    wrappingDisabled="true"
                                    styleClass="OraPromptText"/>
                       </contents></cellFormat>
                       <cellFormat hAlign="center"><contents>
                       </contents></cellFormat>
                       <cellFormat hAlign="right"><contents>
                        <link data:text="TotalDiskReadRate@filerDetails"
                              data:destination="filerTotalDiskReadRateUrl@filerDetails"/>
                       </contents></cellFormat>
                      </contents></rowLayout>
                      <rowLayout><contents>
                       <cellFormat hAlign="left"><contents>
                        <styledText data:text="FILER_TOTAL_DISK_WRITTEN_RATE@filerResourceBundle"
                                    wrappingDisabled="true"
                                    styleClass="OraPromptText"/>
                       </contents></cellFormat>
                       <cellFormat hAlign="center"><contents>
                       </contents></cellFormat>
                       <cellFormat hAlign="right"><contents>
                        <link data:text="TotalDiskWrittenRate@filerDetails"
                              data:destination="filerTotalDiskWrittenRateUrl@filerDetails"/>
                       </contents></cellFormat>
                      </contents></rowLayout>
                     </contents></tableLayout>
                    </contents></rowLayout>
                   </contents></stackLayout>
                  </contents></header>
                 </contents></cellFormat>

                 <cellFormat vAlign="top"><contents>
                  <header data:text="FILER_NETWORK_IO_HEADER@filerResourceBundle" vAlign="top"><contents>
                   <stackLayout><contents>
                    <image data:source="filerTotalNetworkIOChart@filerDetails"
                           data:shortDesc="FILER_NETWORK_IO_GRAPH_TEXT@filerResourceBundle"
                           data:destination="filerTotalNetworkIORateUrl@filerDetails"/> 
                    <spacer height="5"/>
                    <rowLayout hAlign="left" vAlign="top"><contents>
                     <spacer width="30"/>
                     <tableLayout cellSpacing="8" 
                                  data:rendered="realtime@filerDetails">
                      <contents>
                       <rowLayout><contents>
                        <cellFormat hAlign="left"><contents>
                         <styledText data:text="FILER_TOTAL_NETWORK_IO_RECD_RATE_COL@filerResourceBundle"
                                     wrappingDisabled="true"
                                     styleClass="OraPromptText"/>
                        </contents></cellFormat>
                        <cellFormat hAlign="center"><contents>
                        </contents></cellFormat>
                        <cellFormat hAlign="right"><contents>
                         <link data:text="TotalNetworkRecdRate@filerDetails"
                               data:destination="filerTotalNetworkRecdRateUrl@filerDetails"/>
                        </contents></cellFormat>
                       </contents></rowLayout>
                       <rowLayout><contents>
                        <cellFormat hAlign="left"><contents>
                         <styledText data:text="FILER_TOTAL_NETWORK_IO_SENT_RATE_COL@filerResourceBundle"
                                     wrappingDisabled="true"
                                     styleClass="OraPromptText"/>
                        </contents></cellFormat>
                        <cellFormat hAlign="center"><contents>
                        </contents></cellFormat>
                        <cellFormat hAlign="right"><contents>
                         <link data:text="TotalNetworkSentRate@filerDetails"
                               data:destination="filerTotalNetworkSentRateUrl@filerDetails"/>
                        </contents></cellFormat>
                       </contents></rowLayout>
                       <rowLayout><contents>
                        <cellFormat hAlign="center"><contents>
                         <styledText data:text="FILER_ADDITIONAL_METRICS@filerResourceBundle"
                                     wrappingDisabled="true"
                                     styleClass="OraPromptText"/>
                         <spacer width="10"/>
                         <link data:text="FILER_NETWORK_DETAILS@filerResourceBundle"
                               data:destination="filerNetworkDetailsUrl@filerDetails"/>
                        </contents></cellFormat>
                       </contents></rowLayout>
                      </contents></tableLayout>
                     </contents></rowLayout>
                    </contents></stackLayout>
                   </contents></header>
                  </contents></cellFormat>
                 </contents></rowLayout>
                </case>
               </switcher>
             </contents></stackLayout>

        <spacer width="5"/>
        <spacer height="20"/>

    	  <subTabBar orientation="top"
                   data:selectedIndex="selectedTab@folderInfo">
         <contents>
          <link data:text="HOME@mntrResourceBundle"
                data:destination="filerOverviewDest@folderInfo"/>
          <link data:text="FILER_PERFORMANCE@filerResourceBundle"  
                data:destination="filerPerformanceDest@folderInfo"/>
          <link data:text="FILER_VOLUMES@filerResourceBundle"  
	              data:destination="filerVolumeDest@folderInfo"/>
          <link data:text="FILER_QTREES@filerResourceBundle"  
                data:destination="filerQtreeDest@folderInfo"/>
         </contents>
        </subTabBar>

    	  <spacer height="10"/>

        <header data:text="RELATED_LINKS@filerResourceBundle">
          <contents>
            <tableLayout cellSpacing="2" width="100%">
	      <contents>	         
	        <rowLayout>
	          <contents>
	            <bulletedList rows="2">
		      <contents data:childData="relatedLinks@filerRelateInfo">
		        <link data:text="text"
		              data:destination="destination"
			      data:targetFrame="propNewWin"/>		     
		      </contents>		     
	            </bulletedList>
	          </contents>
	        </rowLayout>	         
	      </contents>
            </tableLayout>
          </contents>
        </header>
       </contents>
      </header>
     </contents>
    </pageLayout>
   </contents>

   <provider>
    <data name="mntrResourceBundle">
     <bundle class="oracle.sysman.resources.MntrResourceBundle"/>
    </data>
 
    <data name="sdkUIMsgBundle">
     <bundle class="oracle.sysman.emSDK.eml.SDKUIMsg"/>
    </data>
 
    <data name="commonResourceBundle">
     <bundle class="oracle.sysman.resources.CommonResourceBundle"/>
    </data>
    <data name="filerResourceBundle">
     <bundle class="oracle.sysman.eml.rsc.target.filer.FilerResourceBundle"/>
    </data>
 
    <data name="filerDetails">
     <method class="oracle.sysman.eml.target.filer.FilerSummaryDataObject"
             method="getFilerPerformanceSummary"/>
    </data>
 
    <data name="filerNetworkDetails">
     <method class="oracle.sysman.eml.target.filer.FilerSummaryDataObject"
             method="getFilerNetworkDetails"/>
    </data>
 
    <data name="refreshChoices">
     <inline>
      <refOption data:name="VIEWDATA_REALTIME_30SEC@sdkUIMsgBundle" value="auto"/>
      <refOption data:name="VIEWDATA_REALTIME_MANUAL@sdkUIMsgBundle" value="manual"/>
      <refOption data:name="LAST_DAY@mntrResourceBundle" value="byDay"/>
      <refOption data:name="LAST_WEEK@mntrResourceBundle" value="byWeek"/>
      <refOption data:name="LAST_MONTH@mntrResourceBundle" value="byMonth"/>
     </inline>
    </data>
 
    <data name="folderInfo">
     <method class="oracle.sysman.eml.target.filer.FilerOverviewDataObject"
             method="getFoldersInfo"/>
    </data>
 
 	 <data name="filerRelateInfo">
     <method class="oracle.sysman.eml.target.filer.FilerOverviewDataObject"
             method="getFilerRelateInfo"/>
    </data>
 
   </provider>
  </dataScope>
 </baja:content>

 <handlers>
  <!-- Used for dropdown refresh option -->
  <event name="refToOpt">
   <method class="oracle.sysman.eml.target.filer.FilerSummaryDataObject"
           method="doSummaryRefresh"/>
   </event>

   <event name="doLoad">
    <method class="oracle.sysman.eml.target.filer.FilerCurDetailDataObject" 
            method="doLoad"/>
   </event>
 </handlers>

</page>
