From 392fa187c2ecec24e60ad64f57f004e0adaf775a Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Tue, 1 Mar 2016 15:01:45 +0100 Subject: [PATCH] Expose the allocate_aux setting --- gns3server/modules/base_vm.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gns3server/modules/base_vm.py b/gns3server/modules/base_vm.py index 1540489b2..6c58bfbfa 100644 --- a/gns3server/modules/base_vm.py +++ b/gns3server/modules/base_vm.py @@ -63,6 +63,7 @@ class BaseVM: self._closed = False self._vm_status = "stopped" self._command_line = "" + self._allocate_aux = allocate_aux if self._console is not None: if console_type == "vnc": @@ -270,6 +271,13 @@ class BaseVM: self._closed = True return True + @property + def allocate_aux(self): + """ + :returns: Boolean allocate or not an aux console + """ + return self._allocate_aux + @property def aux(self): """