mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-25 00:08:11 +00:00
Merge 2.1 into 2.2
This commit is contained in:
commit
80eb06f67c
20
CHANGELOG
20
CHANGELOG
@ -140,6 +140,26 @@
|
||||
* Implement #1153 into 2.2 branch.
|
||||
* Pin prompt-toolkit to latest version 1.0.15
|
||||
|
||||
## 2.1.14 27/02/2019
|
||||
|
||||
* Fix issue when setting cpuid.corespersocket for the GNS3 VM. Fixes https://github.com/GNS3/gns3-gui/issues/2723
|
||||
* Bump ACPI Shutdown Timeout to 120 seconds. Ref #1536
|
||||
|
||||
## 2.1.13 26/02/2019
|
||||
|
||||
* Force jsonschema dependency to 2.6.0
|
||||
* Less aggressive connections to uBridge. Ref #1289
|
||||
* Fix topology images (Pictures) disappearing from projects. Fixes #1514.
|
||||
* Reset MAC addresses when duplicating a project. Fixes #1522
|
||||
* Fix API call to create a node from an appliance doesn't return the new node data. Fixes #1527
|
||||
* Detect invalid environment variable and send a warning when creating a Docker node. Ref #2683
|
||||
* Do not export/import symlinks for projects. Fixes #2699
|
||||
* Fix symlink not being created for duplicated IOU devices. Fixes https://github.com/GNS3/gns3-gui/issues/2699
|
||||
* Configure coresPerSocket value in VMX file for the GNS3 VM. Fixes https://github.com/GNS3/gns3-gui/issues/2688
|
||||
* Count logical CPUs to detect if the number of vCPUs is too high when configuring the GNS3 VM. Fixes #2688.
|
||||
* Add explicit error when trying to pull a Docker image from Docker Hub without Internet access. Fixes #1506.
|
||||
* Fixes double display output in GRUB in QEMU v3.1. Fixes #1516.
|
||||
|
||||
## 2.1.12 23/01/2019
|
||||
|
||||
* Tune how to get the size of SVG images. Ref https://github.com/GNS3/gns3-gui/issues/2674.
|
||||
|
@ -1013,7 +1013,7 @@ class QemuVM(BaseNode):
|
||||
|
||||
if self.on_close == "shutdown_signal":
|
||||
await self._control_vm("system_powerdown")
|
||||
await gns3server.utils.asyncio.wait_for_process_termination(self._process, timeout=30)
|
||||
await gns3server.utils.asyncio.wait_for_process_termination(self._process, timeout=120)
|
||||
else:
|
||||
self._process.terminate()
|
||||
await gns3server.utils.asyncio.wait_for_process_termination(self._process, timeout=3)
|
||||
|
@ -73,11 +73,12 @@ class VMwareGNS3VM(BaseGNS3VM):
|
||||
if vcpus > available_vcpus:
|
||||
raise GNS3VMError("You have allocated too many vCPUs for the GNS3 VM! (max available is {} vCPUs)".format(available_vcpus))
|
||||
|
||||
cores_per_sockets = int(available_vcpus / psutil.cpu_count(logical=False))
|
||||
try:
|
||||
pairs = VMware.parse_vmware_file(self._vmx_path)
|
||||
pairs["numvcpus"] = str(vcpus)
|
||||
pairs["cpuid.coresPerSocket"] = str(cores_per_sockets)
|
||||
cores_per_sockets = int(available_vcpus / psutil.cpu_count(logical=False))
|
||||
if cores_per_sockets >= 1:
|
||||
pairs["cpuid.corespersocket"] = str(cores_per_sockets)
|
||||
pairs["memsize"] = str(ram)
|
||||
VMware.write_vmx_file(self._vmx_path, pairs)
|
||||
log.info("GNS3 VM vCPU count set to {} and RAM amount set to {}".format(vcpus, ram))
|
||||
|
@ -1,4 +1,4 @@
|
||||
jsonschema>=2.4.0
|
||||
jsonschema==2.6.0
|
||||
aiohttp==3.5.4
|
||||
aiohttp-cors==0.7.0
|
||||
Jinja2>=2.7.3
|
||||
|
Loading…
Reference in New Issue
Block a user