2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-27 03:49:57 +00:00
Commit Graph

27 Commits

Author SHA1 Message Date
Jarrod Johnson
343600c2aa Rework the 'update' button for clearer use alongside other buttons 2013-11-22 18:27:15 -05:00
Jarrod Johnson
7752bbbc27 Enumerate nodegroups 2013-11-13 15:12:57 -05:00
Jarrod Johnson
5e406d6fa1 Have attribute set return some data
Handle html form arrays with blanks, removing blank values
(more complex usage requires JSON)
2013-11-13 14:52:32 -05:00
Jarrod Johnson
ecc7c21fc4 Support list style attributes (notably groups) in the api explorer 2013-11-13 10:36:43 -05:00
Jarrod Johnson
6947f98d62 Rework some messages details, make boot device work 2013-11-07 16:33:48 -05:00
Jarrod Johnson
215acdf4a7 Have rest explorer actually mostly work as expected 2013-11-07 14:39:34 -05:00
Jarrod Johnson
659f85eaa0 Add support for showing all as well as current attributes 2013-11-03 10:36:03 -05:00
Jarrod Johnson
58482c6090 Implement ability to change settings for an existing node 2013-11-03 10:21:54 -05:00
Jarrod Johnson
ada6302c2d Provide common entry point for input processing 2013-11-03 09:52:43 -05:00
Jarrod Johnson
51c80cdd74 Include some feedback in rest explorer on input data 2013-11-03 09:05:50 -05:00
Jarrod Johnson
3fa61dc8f9 Wire up input to plugins for create/read 2013-11-02 19:45:10 -04:00
Jarrod Johnson
04d2cd4ba3 Add attribute retrieval facility 2013-11-02 18:24:04 -04:00
Jarrod Johnson
3caafa063b Change to plugin subdirectories to better organize plugins 2013-11-02 17:45:55 -04:00
Jarrod Johnson
ec58c47bff Restore console functionality 2013-11-02 13:40:53 -04:00
Jarrod Johnson
3a3dbf9f41 Progress toward more strictly defined objects
messages and consoles get classes to guide developers toward consistency.
2013-11-02 13:06:48 -04:00
Jarrod Johnson
3d1e398977 Convert wsgi function to be generator
Since wsgi function returns iterable, it turns out to be easy to do it this way.

For now, hardcode json dumps, two things:
1: call out to module supporting HTML and JSON interpretation
2: in both cases, a header and footer must sandwich the responses in http

In socketapi, responses will come back without a container, but http
does not afford us such luxury.  Create a containing json structure.
On first iteration, do not prepend with ,.  prepend with , all other times.
2013-10-13 20:51:30 -04:00
Jarrod Johnson
17603a59fd Revert the strategy to manually track sessions for pyghmi
Since pyghmi now handles this automatically and in fact removes
the facility used to manually track this and it is much more
robust than this strategy.
2013-10-13 19:59:30 -04:00
Jarrod Johnson
8a35f9a9e0 Actually make ipmi work for console and get_power
Note that currently, console must go first, then command.  Otherwise
panic ensues.
2013-10-12 18:03:51 -04:00
Jarrod Johnson
5e80407bc5 Refactor plugin code to better assure all things happen in one greenthread
Additionally, begin work to make ipmi.py start doing non-console things
2013-10-12 15:13:34 -04:00
Jarrod Johnson
8fa9c10784 Make ipmi plugin resiliant to traffic bursts to avoid a hang 2013-10-10 14:06:02 -04:00
Jarrod Johnson
eafdef413c Fix problem where wait for next data would only work every other time
Also fix busy wait behavior
2013-09-15 11:06:34 -04:00
Jarrod Johnson
9ecc1aae44 Move all ipmi activity into it's dedicated eventlet greenthread.
There is still a problem where only every other output comes over the httpapi
but in general, it behaves much much better.
2013-09-14 21:32:52 -04:00
Jarrod Johnson
1cbc16b22e Actually implement enough to get some console traffic going.
This implements a protocol that should be compatible with shellinabox's
javascript client code.
2013-09-12 17:14:09 -04:00
Jarrod Johnson
39cd741845 Correct various issues and IPMI console session actually go through now 2013-09-12 15:52:34 -04:00
Jarrod Johnson
996e19752b Remove kwargs to provide forward compatibility, it doesn't seem to be workable in python 2013-09-09 15:42:00 -04:00
Jarrod Johnson
91c0f01b61 Correct typo in ipmi plugin causing parse error 2013-09-09 15:30:24 -04:00
Jarrod Johnson
b185d50f87 Add ipmi plugin to repository 2013-09-09 13:29:36 -04:00