test-ptop.xml 1.78 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ptop SYSTEM "ptop.dtd">
<ptop testbed="emulab">
    <node name="pc1">
        <node_type name="pc">
            <limit slots="1" />
        </node_type>
        <node_type name="delay">
            <limit slots="2" />
        </node_type>
        <node_type name="delayinfo">
            <limit slots="2" />
	    <static/>
        </node_type>
        <node_feature name="feature1">
            <feature_weight weight="1.0" />
        </node_feature>
        <node_feature type="local-additive" name="feature2">
            <feature_weight weight="0.5" />
	    <violatable />
        </node_feature>
        <node_option>
            <option_name name="trivial_bw" />
            <option_value value="400" />
        </node_option>
    </node>
    <node name="pc2">
        <node_type name="pc">
            <limit slots="1" />
        </node_type>
        <node_type name="delay">
            <limit slots="2" />
        </node_type>
        <node_type name="delayinfo">
            <limit slots="2" />
	    <static/>
        </node_type>
        <node_feature name="feature1">
            <feature_weight weight="1.0" />
        </node_feature>
        <node_feature name="features2" type="local-additive">
            <feature_weight weight="0.5" />
    	    <violatable/>
        </node_feature>
        <node_option>
            <option_name name="trivial_bw" />
            <option_value value="400" />
        </node_option>
    </node>
    <link name="link1">
        <endpoint node="pc1" interface="eth0" />
        <endpoint node="pc2" interface="eth0" />
        <delay_spec>
            <bandwidth value="100Mbps" />
            <delay value="0ms" />
            <loss value="0.00" />
        </delay_spec>
        <link_type type="ethernet" />
    </link>
</ptop>