<!-- Networker docs demo: one rack with a breakout leaf switch, four servers and two PDUs. -->
<Catalog>
  <Switch id="sn4700" model="SN4700" manufacturer="NVIDIA" rackUnits="1" cardWidth="424" cardHeight="84">
    <PortGroup label="links" portCount="32" speed="400G" connector="QSFP-DD" breakout="2"
               portPrefix="swp" portStart="1"
               layout={{ x: 12, y: 4, cols: 16, groupSize: 4, rows: 2 }} />
    <PortGroup label="mgmt" portCount="1" speed="1G" connector="RJ45"
               layout={{ x: 398, y: 24, cols: 1 }} />
    <Inlet label="PSU" count="2" connector="C14" watts="550" side="front" layout={{ x: 300, y: 30, cols: 2 }} />
  </Switch>

  <Nic id="e810-2p" model="E810-CQDA2" manufacturer="Intel"
       portCount="2" speed="100G" connector="QSFP28" />

  <Server id="r760" model="PowerEdge R760" manufacturer="Dell" rackUnits="2" cardWidth="424" cardHeight="168">
    <Nic label="e810" template="e810-2p" portCount="2" speed="100G" connector="QSFP28"
         layout={{ x: 24, y: 20, cols: 2 }} />
    <Nic label="bmc" portCount="1" speed="1G" connector="RJ45" layout={{ x: 200, y: 110, cols: 1 }} />
    <Inlet label="PSU1" model="PWS-1K40" count="1" connector="C14" watts="700" layout={{ x: 330, y: 120, cols: 1 }} />
    <Inlet label="PSU2" model="PWS-1K40" count="1" connector="C14" watts="700" layout={{ x: 380, y: 120, cols: 1 }} />
  </Server>

  <PDU id="pdumh30hv" model="PDUMH30HV" manufacturer="Tripp Lite" rackUnits="2"
       phase="single" voltage="208/230V" amperage="30" deratedAmperage="24"
       capacityKw="5.5" inputConnector="L6-30P" cordLength="12 ft. (3.66 m)" metering="local"
       cardWidth="424" cardHeight="168">
    <Phase label="bank1" outletCount="8" receptacle="C13" breaker="20"
           layout={{ x: 24, y: 16, cols: 8, groupSize: 4 }} />
    <Phase label="bank2" outletCount="8" receptacle="C13" breaker="20"
           layout={{ x: 24, y: 60, cols: 8, groupSize: 4 }} />
  </PDU>

  <Cable id="dac-400g-2x200g-3m" model="400G to 2x200G DAC 3m" manufacturer="FS"
         speed="400G" connector="QSFP-DD" material="copper" mode="passive">
    <Transceiver model="Q2DD-400G-A" manufacturer="FS" connector="QSFP-DD" speed="400G" />
    <Copper model="Q2DD-400G-PC03" manufacturer="FS" length="3m" modulation="4x100Gb/s PAM4" />
    <Transceiver model="Q56-200G-B0" manufacturer="FS" connector="QSFP56" speed="200G" />
    <Transceiver model="Q56-200G-B1" manufacturer="FS" connector="QSFP56" speed="200G" />
  </Cable>
</Catalog>

<Topology view="rack-elevation">
  <Rack label="R1" units="24" />

  <PDU label="pdu-a" template="pdumh30hv" position={{ x: 980, y: 260 }} rackId="R1" rackElevation="23" labels="power" />
  <PDU label="pdu-b" template="pdumh30hv" position={{ x: 980, y: 480 }} rackId="R1" rackElevation="21" labels="power" />
  <Switch label="leaf-01" template="sn4700" position={{ x: 245, y: 40 }} rackId="R1" rackElevation="18" labels="fabric" />
  <Server label="node-01" template="r760" position={{ x: 0, y: 260 }} rackId="R1" rackElevation="1" labels="compute">
    <Bond label="bond0" mode="lacp" ports="e810/p0,e810/p1" />
  </Server>
  <Server label="node-02" template="r760" position={{ x: 490, y: 260 }} rackId="R1" rackElevation="3" labels="compute">
    <Bond label="bond0" mode="lacp" ports="e810/p0,e810/p1" />
  </Server>
  <Server label="node-03" template="r760" position={{ x: 0, y: 480 }} rackId="R1" rackElevation="5" labels="compute" />
  <Server label="node-04" template="r760" position={{ x: 490, y: 480 }} rackId="R1" rackElevation="7" labels="compute" />

  <Cable from="leaf-01/links/swp1:0" to="node-01/e810/p0" template="dac-400g-2x200g-3m" negotiatedSpeed="100G" link="up" />
  <Cable from="leaf-01/links/swp1:1" to="node-01/e810/p1" template="dac-400g-2x200g-3m" negotiatedSpeed="100G" link="up" />
  <Cable from="leaf-01/links/swp2:0" to="node-02/e810/p0" template="dac-400g-2x200g-3m" negotiatedSpeed="100G" link="up" />
  <Cable from="leaf-01/links/swp2:1" to="node-02/e810/p1" template="dac-400g-2x200g-3m" negotiatedSpeed="100G" link="up" />
  <Cable from="leaf-01/links/swp3:0" to="node-03/e810/p0" template="dac-400g-2x200g-3m" negotiatedSpeed="100G" />
  <Cable from="leaf-01/links/swp3:1" to="node-03/e810/p1" template="dac-400g-2x200g-3m" link="down" />
  <Cable from="leaf-01/links/swp4:0" to="node-04/e810/p0" template="dac-400g-2x200g-3m" />

  <PowerCable from="pdu-a/bank1/p0" to="node-01/PSU1/p0" length="1 m" labels="feed-a" />
  <PowerCable from="pdu-b/bank1/p0" to="node-01/PSU2/p0" length="1 m" labels="feed-b" />
  <PowerCable from="pdu-a/bank1/p1" to="node-02/PSU1/p0" length="1 m" labels="feed-a" />
  <PowerCable from="pdu-b/bank1/p1" to="node-02/PSU2/p0" length="1 m" labels="feed-b" />
  <PowerCable from="pdu-a/bank1/p2" to="node-03/PSU1/p0" length="1 m" labels="feed-a" />
  <PowerCable from="pdu-b/bank1/p2" to="node-03/PSU2/p0" length="1 m" labels="feed-b" />
  <PowerCable from="pdu-a/bank1/p3" to="node-04/PSU1/p0" length="1 m" labels="feed-a" />
  <PowerCable from="pdu-a/bank2/p0" to="leaf-01/PSU/p0" length="2 m" labels="feed-a" />
  <PowerCable from="pdu-b/bank2/p0" to="leaf-01/PSU/p1" length="2 m" labels="feed-b" />
</Topology>
