[ns] Finding current node instance in C++

2007-05-05 Thread ovsbharath
Hi We use the function "name()" to get the current agent instance in C++ of NS. How can i get the node to which this agent is attached in C++. I would be obliged if you can tell me the C++ file wherein i can find all these functions. Thanking you Bharadwaj

[ns] Connect agents dynamically

2007-05-23 Thread ovsbharath
Hi, I need to connect agents dynamically for my purpose, so i have changed the agent.cc code as suggested by the comments in it. /* This function is a placeholder in case applications want to dynamically * connect to agents (presently, must be done at configuration time). */ void Agent::connect

Re: [ns] Connect agents dynamically

2007-05-24 Thread ovsbharath
Thank you Timo for your reply. Some more querries... The agent.h file defines the argument to connect as nsaddr_t and not ns_addr_t. (My ns version is ns-2.30) And i need to dynamically connect src agent to dst agent, and not agent to node (which is what i think i was doing). i.e i need to per

[ns] Stitching of interdomain LSPs (label switched paths)

2007-06-13 Thread ovsbharath
Hi, For my purpose i need to stitch interdomain LSPs, explained below. I have 3 Autonomous systems say A B and C. I need to setup an LSP through A-B-C. So within each AS i know the topology info so i use that to setup a LSP within A, within B, and within C. Now i need to stich/join these LSPs, i.