Zun server is switching to websockify library for streaming.
This requires client to set sub-protocols manually.
New WebSocket connection manner is completely same as of
serial console for the instance.
So it's enough to use django template for the instance.
Change-Id: I7ebd0893ea4db0149fade4f32d6b70ee8b55147c
To enable py35 tests, refresh test environments.
Also, update docs, remove run_tests.sh that is no longer used.
This patch needs to wait for adding python-zunclient into
global-requirements.
Change-Id: Ibed3eea72839226dca878d0ecd1778c9d9a7e7d3
If a 'exec' request returned 400/500, the UI doesn't handle it.
This causes spinner remaining. This patch fixes the issue.
Also, to ease to see status of exit code for command,
change its container from readonly input text box to label.
Change-Id: I833d5f448f5294ae8b537476e53643e35f25e7a2
Closes-Bug: #1682173
It is better to increase the height of output area
since the output couldn't fit into the box at majority cases.
Change-Id: Ia8dbb2c3985eca7125575de803f7c5fa749558b2
This patch adds fields for output, exit code and message into Execute
action dialog. To display output of command, this also modifies dialog
not to be close by clicking submit button. To close this dialog, click
cancel or type Esc key.
Change-Id: I6f753387f4e8fa833b5081b4f11fa5c89927b6d0
This patch fixes to refresh views after actions,
also adds refresh action as item action for manual refreshing.
Adding refresh action is trivial fix. Ideally, refresh action
should be implemented by Horizon framework.
Change-Id: I1b0b5084a7a3a3df96e04200add8f3843587cb76
For stop and reboot, the timeout parameter is missing. For kill,
it doesn't work if users left the signal unspecified.
Change-Id: Ia1db001790fc491982ba4a6377bea2684d18f610
This patch adds console tab into details view. Console view
gets console_url using attach method and access from browser
via websocket using console_url.
Change-Id: I273e83eb114e93371a23b9a1e9d26ceacb6b71d5
Implements: blueprint interactive-mode
To enable Web console for container, this patch adds
'interaction' attribute into creation dialog
Change-Id: Ia941afad48c5f83594972f6f83d9267e36c04501
Partial-Impements: blueprint interactive-mode
To corresponse 'run' command of python-zunclient,
this patch adds 'run' attribute to creation action.
Change-Id: I80d478951c019284441093fa50f2d41bd970c473
This patch replaces hard coded "project/ngdetails/" for path of
details view to constant using "horizon.app.core.detailRoute".
Change-Id: Ia238f0a4b6df45f08673e4d41b24c6005d22ef00
Closes-Bug: #1641250
This patch adds "Delete Container Forcely" action for each containers.
This action is too dangerous for batch action, so implemented as only
item action.
Change-Id: Id839f2ce4beb17d7c4280cecf31b29e63f59197f
Incomplete implementation for image management are added.
Also, adding APIs for image management is too early to implement.
This patch revert it.
Change-Id: I8dd0c25f62ecf3c606a893abdeded03e33f98949
There are many duplicated lines in zun.service.js.
So this patch refactors this.
convertMemorySize function is unnecessary,
due to the memory size unit was fixed as MiB.
Also, this patch removes it.
Change-Id: I4e88e829eb3b2c7ea59b00381b9c7c873c8fe683
This patch refreshes columns for table view and
properties for details view.
Also, use hz-resource-property-list for them.
Change-Id: I512de5bb76b1ea3d47ff4b5712bc9078e4f5e753
This patch removes hostname and ports attributes, and modifies
memory_size as MiB from create dialog.
Also, merge environment tab into miscellaneous tab.
Since create dialog will be changed widely in following patch,
so this patch is provided as hotfix.
Change-Id: I63920f7792655cce06d3bcf531ecdce6591cdd44