It resolves two problems:
A fixed port for firewall rule.
Race between client and server. It happens on every first connection after
the host running kimchi reboot.
Mark Wu (4):
Move configuration parsing to config.py
Add a configuration for vnc websocket proxy
Use one weksockify instance as all vms' vnc proxy.
Remove vnc related code in mockmodel
docs/API.md | 1 +
src/kimchi.conf.in | 3 +++
src/kimchi/config.py.in | 24 +++++++++++++++++++++---
src/kimchi/controller.py | 5 ++++-
src/kimchi/mockmodel.py | 19 -------------------
src/kimchi/model.py | 18 +++++-------------
src/kimchi/server.py | 5 +++++
src/kimchi/vnc.py | 42 +++++++++++++++++++++++-------------------
src/kimchid.in | 20 +-------------------
ui/js/src/kimchi.api.js | 14 +++++---------
10 files changed, 68 insertions(+), 83 deletions(-)