diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2007-09-23 04:22:40 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2007-09-23 04:22:40 +0000 |
commit | 1e2b51f63416f0f0d5f4394b9180fa2f06dfefc5 (patch) | |
tree | fc9484cd57b3f6f5d762a9d26bea915579451e2f /emulators/dynagen-devel/files/patch-dynamips_lib.py | |
parent | [PATCH]: lang/gdc: update to 0.24 (diff) |
[NEW PORT] emulators/dynagen-devel: Text-based front end for Dynamips development version
Dynagen is a front-end for use with the Dynamips Cisco router
emulator. It uses an INI-like configuration file to provision
Dynamips emulator networks. It takes care of specifying the right
port adapters, generating and matching up those pesky NIO descriptors,
specifying bridges, frame-relay, ATM switches, etc. It also provides
a management CLI for listing devices, suspending and reloading
instances, etc.
WWW: http://dyna-gen.sourceforge.net/
PR: ports/116343
Submitted by: Pavel I Volkov <pol@opk.ru>
Diffstat (limited to 'emulators/dynagen-devel/files/patch-dynamips_lib.py')
-rw-r--r-- | emulators/dynagen-devel/files/patch-dynamips_lib.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/emulators/dynagen-devel/files/patch-dynamips_lib.py b/emulators/dynagen-devel/files/patch-dynamips_lib.py new file mode 100644 index 000000000000..4afa348c4f81 --- /dev/null +++ b/emulators/dynagen-devel/files/patch-dynamips_lib.py @@ -0,0 +1,15 @@ +--- dynamips_lib.py.orig Thu Sep 13 20:41:38 2007 ++++ dynamips_lib.py Thu Sep 13 20:43:22 2007 +@@ -1681,7 +1681,11 @@ + flag = '1' + else: + flag = '0' +- send(self.__d, 'vm set_sparse_mem %s %s' % (self.__name, flag)) ++ ++ # Workaround for "*** Error: Unknown command 'set_sparse_mem'" message ++ # with dynamips-0.2.5. ++ if flag == 1: ++ send(self.__d, 'vm set_sparse_mem %s %s' % (self.__name, flag)) + + def __getsparsemem(self): + """ Returns the sparsemem |