[PATCH] for Dynagen: smart start of devices.
Page 1 of 1

Author:  miguelo [ Sat Nov 17, 2012 5:14 am ]
Post subject:  [PATCH] for Dynagen: smart start of devices.

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
  • Devices P1, P2, P3 in quemuwrapper
  • Devices F1, F2, F3 in quemuwrapper
  • Devices V1, V2, V3 in vboxwrapper

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.

dynagen-smart-start.patch [15.25 KiB]
Downloaded 230 times

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group