New Dynamips integration part 3

This commit is contained in:
Jeremy
2015-02-11 19:21:34 -07:00
parent 37945585b9
commit 79a57ca420
51 changed files with 1257 additions and 2386 deletions

View File

@ -26,7 +26,7 @@ import logging
log = logging.getLogger(__name__)
class NIO_UNIX(NIO):
class NIOUNIX(NIO):
"""
Dynamips UNIX NIO.
@ -42,8 +42,8 @@ class NIO_UNIX(NIO):
NIO.__init__(self, hypervisor)
# create an unique ID
self._id = NIO_UNIX._instance_count
NIO_UNIX._instance_count += 1
self._id = NIOUNIX._instance_count
NIOUNIX._instance_count += 1
self._name = 'nio_unix' + str(self._id)
self._local_file = local_file
self._remote_file = remote_file