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


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: [PATCH] for Dynagen: smart start of devices.
PostPosted: Sat Nov 17, 2012 5:14 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 the start command: /multi. This option work in a multiserver environment, when a multiples machines runs dynamips hypervisors and/or vbox/qemu/*-wrapper. When you specify the /multi option and have configured the start delay in dynagen.ini or specify it with the /delay option, dynagen start one device in every hypervisor at the same time, executes the delay, start others one devices, and so on. With this, you don't need to wait the delay in every device, speeding up the startup process of the lab.

For example:
  • Devices R1, R2, R3 in hypervisor 192.168.0.4:7200
  • Devices P1, P2, P3 in quemuwrapper 192.168.0.5:10525
  • Devices F1, F2, F3 in quemuwrapper 192.168.0.6:10525
  • Devices V1, V2, V3 in vboxwrapper 192.168.0.7:11525

with the command 'start /all /delay 10 /multi', dynagen executes:
  • start R1 P1 F1 V1 (at the same time)
  • delay 10 secs
  • start R2 P2 F2 V2 (at the same time)
  • delay 10 secs
  • start R3 P3 F3 V3 (at the same time)

Note: the number in seconds after the /delay is mandatory.

To install this patch:

Best regards.




Attachments:
dynagen-smart-start.patch [15.25 KiB]
Downloaded 175 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


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:  
cron
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO