Darius Davis 206e36008f vSPC: Escape 'sequence' and 'secret' in replies.
The values of 'sequence' and 'secret' are arbitrary byte strings which might
contain IAC (0xff) or SE (0xf0) in any position.  Lack of escaping during
transmission might cause receiver confusion and potentially vMotion failures.

This change adds escaping of these 'sequence' and 'secret' values before
transmission.  They are already being unescaped correctly during receipt; Only
the transmit side needs to be fixed.

Change-Id: I82384424d684b931805ca921d0597ad7642f66ac
2023-06-22 09:46:05 +03:00
2017-02-10 16:06:57 +02:00
2017-02-10 16:06:57 +02:00
2019-04-19 19:51:37 +00:00
2017-02-22 14:42:20 -05:00
2017-02-10 16:06:57 +02:00
2017-02-24 07:35:10 -05:00
2017-02-22 14:42:28 -05:00
2018-03-01 16:09:34 +08:00
2017-02-22 14:42:28 -05:00
2017-02-22 14:42:20 -05:00

vmware-vspc

Virtual Serial Port Concentrator for use in the vSphere environment. It collects serial console logs from VMs which have configured virtual serial port pointing to it.

Usage with OpenStack

Copy vspc.conf.sample as vspc.conf and edit as appropriate:

[DEFAULT]
debug = True
host = 0.0.0.0
port = 13370
cert = cert.pem
key = key.pem
uri = vmware-vspc
serial_log_dir = /opt/vmware/vspc

Then start with:

$ vmware-vspc --config-file vspc.conf

In nova.conf add the following properties:

[vmware]
serial_port_service_uri = vmware-vspc
serial_port_proxy_uri = telnets://<vspc_host>:13370#thumbprint=<vspc_thumbprint>

where vspc_host is the host where VSPC runs and vspc_thumbprint is the SHA1 thumbprint of the configured certificate.

Usage with Devstack

There is a devstack plugin, so simply add this to your local.conf:

[[local|localrc]]
enable_plugin vmware-vspc https://github.com/openstack/vmware-vspc
Description
Virtual Serial Port Concentrator for VMware instances
Readme 159 KiB
Languages
Python 86%
Shell 14%