Hi,
Can somebody help me here? I am truing to simulate pre-congestion
notification with ns-2, but I'm new in ns-2 and I can't understand how to do
it... Making the topology is the easy part, but I can't understand how to
implement the metering and marking algorithms into ingress, egress ans
interior nodes. At first I think that i have to create my own Agent, but as
far as i understand the Agent is used for end points (the source of the
traffic and the destination for traffic), how to put some algorithms into
interior nodes?
For example - my topology is n0--n1--n2--n3--n4
n0 and n4 are end point, respectively source and destination
n1 is ingress node for pcn domain
n3 is egress node for pcn domain
n2 is interior node for pcn domain
and some traffic from n0 to n4
Now i'm need to do is to implement metering and marking algorithms into node
n2, classification algorithm into node n1 (classification in mean of to
prepared packets for pcn-domain, mark them as pcn-traffic) and algorithm
that takes decisions if the flow has to be terminated or not, or to tell the
ingress node to stop new flows. But how to do that!?
I have a big request for everybody who understand what i mean. My request is
- can somebody tell my how to put this functions into nodes, but like he is
explaining it to a dummy, top to bottom - what kind of c++ files i need to
have, where to put them, how to use them in otcl topology.
Or somebody have done implementation of pcn in ns-2 please, please I bеg you
share the code with me
I know that my post sound a little bit stupid but i'm desperate... I have
little knowledges about c++, but ns-2 is to hard for me.
Thank you in advance!
p.s. apology if i have made some grammar mistakes i don't use my English too
offend
Best Regards,
Alexander Astardjiev
--
View this message in context:
http://old.nabble.com/Pre-congeston-Notification-in-ns-2-tp31669695p31669695.html
Sent from the ns-users mailing list archive at Nabble.com.