| View previous topic :: View next topic |
| Author |
Message |
vikas
Joined: 06 Nov 2006 Posts: 34 Location: India
|
|
| Back to top |
|
 |
beduev
Joined: 27 Feb 2007 Posts: 3 Location: Ukraine
|
Posted: Tue Feb 27, 2007 7:50 pm Post subject: |
|
|
It's crash if i enter not valid npe adapter
| Code: |
=>(config-localhost:7200-7200)npe 400
*** Dynagen has crashed ****
Please open a bug report against Dynagen at http://www.ipflow.utc.fr/bts/
Include a description of what you were doing when the error occured, your
network file, any errors output by dynamips, and the following traceback data:
Traceback (most recent call last):
File "dynagen", line 1210, in ?
console.cmdloop()
File "/usr/lib/python2.3/cmd.py", line 133, in cmdloop
stop = self.onecmd(line)
File "/usr/lib/python2.3/cmd.py", line 210, in onecmd
return func(arg)
File "/home/shaman/Work/dynagen/console.py", line 1467, in do_conf
nested_cmd.cmdloop()
File "/usr/lib/python2.3/cmd.py", line 133, in cmdloop
stop = self.onecmd(line)
File "/usr/lib/python2.3/cmd.py", line 210, in onecmd
return func(arg)
File "/home/shaman/Work/dynagen/console.py", line 1019, in do_7200
nested_cmd.cmdloop()
File "/usr/lib/python2.3/cmd.py", line 133, in cmdloop
stop = self.onecmd(line)
File "/usr/lib/python2.3/cmd.py", line 210, in onecmd
return func(arg)
File "/home/shaman/Work/dynagen/console.py", line 512, in do_npe
error ("this NPE type does not exist: " + argument)
NameError: global name 'argument' is not defined
Press ENTER to exit
|
|
|
| Back to top |
|
 |
jumbo
Joined: 18 Sep 2006 Posts: 855 Location: slovakia
|
Posted: Wed Feb 28, 2007 7:23 am Post subject: |
|
|
beduev>
interesting, I will take a look on this. I guess you know that the correct command is npe = npe-400 |
|
| Back to top |
|
 |
beduev
Joined: 27 Feb 2007 Posts: 3 Location: Ukraine
|
Posted: Wed Feb 28, 2007 8:02 am Post subject: |
|
|
Of course, it's just a small bug.
Thanks |
|
| Back to top |
|
 |
jumbo
Joined: 18 Sep 2006 Posts: 855 Location: slovakia
|
Posted: Thu Mar 15, 2007 4:24 pm Post subject: |
|
|
Hi all,
there is a new release of confDynagen available:
python sources for linux: http://www.lkbaba.sk/tmp/dynagen.zip
windows exe: http://www.lkbaba.sk/tmp/dynagen_win.zip
Changes:
- major code rewrite for more robustness
- many bugs fixed
New:
+ addition of the "no default <router_model>" command which deletes whole sections from the config
+ addition of the "reset" command which resets whole hypervisor and deletes all routers/connections
+ addition of the "no slot<slot_number> <slot_name>" command which removes the adapter from the router slot
+ many small additions
+ help consolidation
Please test and report any bugs you find.
Thanks,
jumbo |
|
| Back to top |
|
 |
dagbdagb
Joined: 08 Feb 2007 Posts: 6
|
Posted: Tue Apr 17, 2007 5:40 pm Post subject: will this be included in dynagen any time soon? |
|
|
| It appears to be a good idea. |
|
| Back to top |
|
 |
jumbo
Joined: 18 Sep 2006 Posts: 855 Location: slovakia
|
Posted: Sat May 12, 2007 9:37 pm Post subject: confDynagen 0.9.2 |
|
|
There is a new release of confDynagen 0.9.2 available.
python sources for linux: http://www.lkbaba.sk/tmp/dynagen.zip
windows exe: http://www.lkbaba.sk/tmp/dynagen_win.zip
For small tutorial see the beginning of this post...
Changes:
- various bugfixes
- merge with latest dynagen 0.9.2
- reorganization of code into separate confConsole.py file
- no longer called an experimental release due to small amount of bugs found
New:
+passive support for frame-relay, ATM and ETH switches, "show run", "show router" support, try IEWBv4 lab f.e.
+active reconfiguration for FR switches:
+ addition of "frsw <frsw name>" command for creating FRSW switch or jumping into FRSW conf mode
+ "no" version of previous command
+ addition of <port_number>:<dlci> = <port_number>:<dlci> command for creating of DLCI mapping similarly to creating mappings in dynagen
+ inverse "no" version of previous command for deletion of mapping (note that this does NOT work correctly due to a bug in dynamips http://7200emu.hacki.at/viewtopic.php?t=1753)
Enjoy,
jumbo |
|
| Back to top |
|
 |
rs232
Joined: 03 Feb 2007 Posts: 33
|
Posted: Tue May 15, 2007 3:23 pm Post subject: |
|
|
May I suggest an additional easy function?
I'd love a "start delay command"
The problem is that if I do:
start R1 R2 R3 R4 R5 R6
I just kill my PC, where if I start let's say 3 routers in one go and then one at the time of the missing one every 2~3 minutes circa, everything works fine.
Just a though as it shouldn't be too difficult to implement.
Thanks to read
 |
|
| Back to top |
|
 |
gns3dev
Joined: 14 May 2007 Posts: 163 Location: France
|
Posted: Sat May 19, 2007 7:55 pm Post subject: |
|
|
I suppose you can only change connections whitout reload a router ? Is there anything else ?
Thanks
Jeremy
GNS3 staff |
|
| Back to top |
|
 |
jumbo
Joined: 18 Sep 2006 Posts: 855 Location: slovakia
|
Posted: Sun May 20, 2007 9:09 am Post subject: |
|
|
Here is a list of features:
1.create/delete connections online
2.add/remove slots online (only 7200 supports OIR), manually or automatically
3.create/delete routers online
4. modify/delete default sections from lab
5.modifying router parameters (without restarting the lab, but of course this does not work when router is running)
6. reseting the hypervisor
7. setting dynamips variables online (debug, workingdir) without restarting the lab
8. various "show" commands:
show run
show run <router_name>
show start
show start <router_name>
show router
show router <router_name>
9. saving your running config:
copy run start |
|
| Back to top |
|
 |
dchenevez
Joined: 06 Nov 2006 Posts: 16
|
Posted: Tue Jun 12, 2007 8:33 pm Post subject: |
|
|
Ahoj Jumbo,
Thanks for this tool. I hope Greg will merge it one day.
When you wrote "Dynagen configuration mode allows you to dynamically change your lab, by editing the .net config “on the fly” - interactively", I thought that confdynagen was able to re read a modified .net file without any interaction.
It would be great to have a command line in the linux prompt like that:
# dynagen re_read_net_file
It would save time instead of using the confdynagen command line.
Dakujem
David (France)
[/quote] |
|
| Back to top |
|
 |
jumbo
Joined: 18 Sep 2006 Posts: 855 Location: slovakia
|
Posted: Wed Jun 13, 2007 12:46 pm Post subject: |
|
|
Cau David,
that is really a good idea, but hardly doable. I think it would cause too much confusion - depend on how much of the .net file you change. F.e. when you change only a small portion of the .net file I can find out what you changed and add/delete connection. However if you'd change a big part of the file, the best would be to stop whole lab and start again (which defeats the idea of "dynamic change"), because you would not be able to distinguish which part was added/removed etc. Therefore the best approach is to do this incrementally - one by one - that is what the confDynagen command line allows you to do. |
|
| Back to top |
|
 |
dchenevez
Joined: 06 Nov 2006 Posts: 16
|
Posted: Wed Jun 13, 2007 1:55 pm Post subject: |
|
|
Hi Jumbo
Thanks for the quick reply
I am using dynamips to demonstrate Network management capabilities...
I wanted to use confDynagen to generate network outages (e.g. no f0/0 = R2 f0/0 or take off a module or port adaptor) via a script instead of shutting interfaces manually...
could you do some stuffs like that:
# dynagen router_name add module "XXXX"
# dynagen router_name add PA "XXX"
# dynagen router_name add interface "f0/0 = R2 f2/0)
# dynagen router_name delete module "XXXX"
# dynagen router_name delete PA "XXX"
# dynagen router_name delete interface "f0/0 = R2 f2/0)
What do you think?
Cheers
David |
|
| Back to top |
|
 |
jumbo
Joined: 18 Sep 2006 Posts: 855 Location: slovakia
|
Posted: Thu Jun 14, 2007 12:29 pm Post subject: |
|
|
| another nice idea, what about contributing? I was already thinking about this before when doing confDynagen testing. I was trying to xinetd dynagen.(here http://7200emu.hacki.at/viewtopic.php?t=1113&highlight=inetd). The I was planning to write a script that would connect to the tcp port and send commands. However the whole xinetd thing did not work....don't know why. Maybe somebody with better Unix knowledge can make this work. I will then be able to do the mentioned scripts. |
|
| Back to top |
|
 |
dchenevez
Joined: 06 Nov 2006 Posts: 16
|
Posted: Fri Jun 15, 2007 7:14 pm Post subject: |
|
|
Of course. I can help. I will take a look on xinetd.
Perhaps, good developpers can help too. Christophe, Greg: any idea? |
|
| Back to top |
|
 |
|