[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] about MPLS module MNSv2



Hi all,

I have some trouble understanding the example script 
(tcl/ex/mpls/test-constraint-routing.tcl).  The part of the script I don't
understand is below.  The function 'cfg-cbq-for-XXX' configure
each link in the network to use a portion of its capacity for service type
XXX.  For example, the first time configure each link of the network to
use 10% of the link capacity for SBTS (simple best-effort traffic
service).  Then the 'bind-flowid-to-XXX' assign a flow, identifed by its
flow id, to use the service XXX.  For example, flow 100 is assigned to use
SBTS.   What I don't understand is that, modifying the 'bw' of 
'cfg-cbq-for-SBTS' does not affect how much traffic I may send using flow
id 100.  Instead changing the 'bw' of 'cfg-cbq-for-RTS' would.  Could this
be a naming convention mistake? Or did I misunderstood something?


==================
# configure-cbq-for-SBTS {qlim cbq_qtype okborrow bw maxidle extradelay}
$ns cfg-cbq-for-SBTS      10  DropTail    1     0.1   auto       0
$ns cfg-cbq-for-HBTS      10  DropTail    1     0.05  auto       0
$ns cfg-cbq-for-RTS       10  DropTail    0     0.8   auto       0
$ns cfg-cbq-for-STS       10  DropTail    1     0.05  auto       0

$ns bind-flowid-to-SBTS 0
$ns bind-flowid-to-SBTS 100
$ns bind-flowid-to-SBTS 200
$ns bind-flowid-to-SBTS 300
$ns bind-flowid-to-SBTS 400
=================