<?xml version='1.0'?>
<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
<platform version="3">

<config id="General">
  <prop id="rngstream/seed" value="12345;12345;12345;12345;12345;12345"></prop>
</config>

<random_law_type id="Core2010" type="discrete_explicite" value="1:0.1;2:0.4;23=0.00001"/>
<random_law_type id="Core2012" type="discrete_explicite" value="1:0.01;2:0.8;23=0.00001"/>

<random_law_type id="CustomBandwidth" type="uniform" min="1000" max="10000"/>
<random_law_type id="CustomLatency" type="uniform" min="0.0001" max="0.0002"/>
<random_law_type id="CustomAvail" type="uniform" min="0" max="1"/>

<random_law_type id="expo01" type="exponential" rate="0.1"/>
<random_law_type id="wei01" type="weibull" shape="1" scale=".4"/>

<random_state_trace_type id="mystate" availa="expo01" unavail="wei01"/>
<random_availability_trace_type id="mypow_avail" duration="expo01" value="CustomAvail"/>
<random_availability_trace_type id="mybw" duration="expo01" value="CustomBandwidth"/>
<random_availability_trace_type id="mylat" duration="expo01" value="CustomLatency"/>

<random_law_type id="CustomPower" type="uniform" min="10000" max="400000"/>
<random_law_type id="CustomBWval" type="uniform" min="1000" max="10000"/>

<!--  tentative de description de variables linéairement corrélées. À revoir et confirmer... -->
<random_law_type id="white" type="Gaussion" mean="1000" max="10000"/>
<random_core_and_power_type 
id_core="foo" 
id_power="Core2010" 
mode="linear" base="NBcore" linear_a="0.5" linear_b="1000" noise="white"/>

<AS  id="AS0"  routing="Full">
  <!-- Horizontal streams -->
  <host id="foo" power="123.121kf" state_trace="mystate" availability_trace="mypow_avail"/> 
  <link id="bar" bandwidth=""   bandwidth_trace="mybw" latency_trace="mylat"/>
  <cluster  id="bob_cluster"
        prefix="bob"
        suffix=".hamburger.edu"
        radical="0-1"
        power="100kf"
        bw=""
        lat="50us"
        bb_bw="2.25GBps"
        bb_lat="500us"
        bw_trace="mybw"
        availability_trace="mywpow_avail"
        state_trace="mystate"
        />
        
  <!-- Vertical stream ? -->
  <peer_set id="peer_home"
        prefix="home"
        suffix=".edu"
        radical="1-10000"
        power="CustomPower"
        bw_in_trace="mybw"
        bw_out="CustomBWval"
        lat="50us"
        />
   <peer_set 
     />
</AS>	
</platform>
