#!/bin/bash

echo "<?xml version='1.0'?>
<BasilResponse protocol='1.0'>
 <ResponseData status='SUCCESS' method='QUERY'>
  <Inventory>
   <NodeArray>
    <Node node_id='6141' name='c3-0c0s0n0' architecture='XT' role='BATCH' state='UP'>
     <SegmentArray>
      <Segment>
       <ProcessorArray>
        <Processor ordinal='0' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='1' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='2' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='3' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='4' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='5' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='6' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='7' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='8' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='9' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='10' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='11' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
       </ProcessorArray>
       <MemoryArray>
        <Memory type='OS' page_size_kb='4' page_count='8388608'>
         <MemoryAllocation reservation_id='2287' page_count='8386560'/>
        </Memory>
       </MemoryArray>
       <LabelArray>
        <Label name='MOAB:FEATURE=regmem' type='SOFT' disposition='ATTRACT'/>
       </LabelArray>
      </Segment>
      <Segment>
       <ProcessorArray>
        <Processor ordinal='0' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='1' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='2' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='3' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='4' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='5' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='6' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='7' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='8' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='9' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='10' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
        <Processor ordinal='11' architecture='x86_64' clock_mhz='2100'>
         <ProcessorAllocation reservation_id='2287'/>
        </Processor>
       </ProcessorArray>
       <MemoryArray>
        <Memory type='OS' page_size_kb='4' page_count='8388608'>
         <MemoryAllocation reservation_id='2287' page_count='8386560'/>
        </Memory>
       </MemoryArray>
       <LabelArray>
        <Label name='MOAB:FEATURE=regmem' type='SOFT' disposition='ATTRACT'/>
       </LabelArray>
      </Segment>
     </SegmentArray>
    </Node>
   </NodeArray>
  </Inventory>
 </ResponseData>
</BasilResponse>"

