It is currently Mon Aug 26, 2019 9:26 am


All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: [PATCH05] for Dynagen: baseconfig for new IOS routers
PostPosted: Tue Nov 20, 2012 3:06 am 
Offline

Joined: Sun Nov 04, 2012 8:11 pm
Posts: 19
Location: Buenos Aires, Argentina
Hi!. I wrote this patch for Dynagen v0.13.1.20111031 included in GNS3 v0.8.3.1. This patch introduces a new option in dynagen.ini file: baseconfig. As in GNS3, this option push an initial configuration to the routers when they not have yet a configuration entry in the .net file.

In dynagen.ini file, add:
baseconfig = /path/to/file/baseconfig.txt

In the baseconfig file, the '%h' chars are replaced with the name of the router in the .net file. Usually is the hostname command, but can also be the banner or a description in somewhere.

Tested in Ubuntu 10.10 with Python 2.6.6 and Ubuntu 12.04 with Python 2.7.3.

Note:
  • 05-dynagen-baseconfig-for_original.patch: is for the original untouched Dynagen included in GNS3 v0.8.3.1.
  • 05-dynagen-baseconfig-for_patch03.patch: is for Dynagen included in GNS3 v0.8.3.1 with my previous patchs:
    • http://forum.gns3.net/topic5516.html
    • http://forum.gns3.net/topic5608.html
    • http://forum.gns3.net/topic5625.html

Best regards.




Attachments:
File comment: dynagen.ini example
dynagen.ini [2.93 KiB]
Downloaded 199 times
File comment: baseconfig file example
baseconfig.txt [444 Bytes]
Downloaded 201 times
File comment: Patch for the patched Dynagen v0.13.1.20111031-Patch03 (my previous patchs)
05-dynagen-baseconfig-for_patch03.patch [2.41 KiB]
Downloaded 185 times
File comment: Patch for the original Dynagen v0.13.1.20111031
05-dynagen-baseconfig-for_original.patch [2.25 KiB]
Downloaded 190 times
Top
 Profile  
 
 Post subject: Re: [PATCH05] for Dynagen: baseconfig for new IOS routers
PostPosted: Fri Nov 23, 2012 9:07 pm 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
Hi,

Thanks for all your patches. I'll start integrating them soon.

Cheers,

_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
 Post subject: Re: [PATCH05] for Dynagen: baseconfig for new IOS routers
PostPosted: Thu Nov 29, 2012 3:03 am 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
Integrated :)

_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
 Post subject: Re: [PATCH05] for Dynagen: baseconfig for new IOS routers
PostPosted: Thu Nov 29, 2012 12:01 pm 
Offline

Joined: Tue Dec 28, 2010 5:10 am
Posts: 90
Location: INDIA
hi


is the integrated features are avilable to download with gns3 all in one pack for windows .?



regards

aksplease


Top
 Profile  
 
 Post subject: Re: [PATCH05] for Dynagen: baseconfig for new IOS routers
PostPosted: Thu Nov 29, 2012 9:35 pm 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
No, in next release only.



_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO