Jarrod Johnson
896159da4c
Recognize expressions at node/nodegroup creation time
2014-02-22 18:12:21 -05:00
Jarrod Johnson
56ae101366
Disable beep on completion attempt
...
The beep on completion attempt was highly annoying, disable it.
2014-02-22 17:39:05 -05:00
Jarrod Johnson
a8f48c7955
Assure something that goes in as path to fullpath comes out as path
2014-02-22 17:31:08 -05:00
Jarrod Johnson
974902cc7b
Advance state of tab completion in the interactive console
...
Fix relative tabbing
2014-02-22 14:43:12 -05:00
Jarrod Johnson
71f6199b2e
Fix display of 'None' attributes
...
Previously, assumption was that the response data would be a dict. This
is not always the case. If None is encountered, treat it as a blank attribute.
2014-02-22 14:18:20 -05:00
Jarrod Johnson
d8619e76b9
Improve interactive latency
...
While typing in confetty console in blind test and confetty was using a TLS socket,
the confetty console was noticably chunkier. The chunkiness could not be detected
on a UNIX socket. Setting NODELAY on both sides of the socket seems to have eliminated
chunkiness so that at least I can't tell confetty from ssh+ipmitool anymore.
2014-02-22 14:04:43 -05:00
Jarrod Johnson
26c95349fc
Do not complete 'cd' to non-path elements
2014-02-22 12:24:22 -05:00
Jarrod Johnson
feb8c68ad4
Preliminary tab completion functionality in interactive prompt
2014-02-22 12:13:51 -05:00
Jarrod Johnson
8ede431b60
Have server interruption exit the client gracefully
...
If a console session is started and the server disconnects, cleanly exit
instead of being confused by the whole affair.
2014-02-10 19:52:37 -05:00
Jarrod Johnson
1311146637
Add some likely aliases for 'show'
...
If someone starts thinking of it as a filesystem, be obliging.
That means some people might want to 'dir', some people might
want to 'cat' things. Make it tend to do the right thing.
2014-02-10 19:46:35 -05:00
Jarrod Johnson
5c0d64d17a
Try unix socket by default in confetty
...
If the unix socket is available and nothing specified, try to use that
2014-02-10 19:44:43 -05:00
Jarrod Johnson
0d425f1f9f
Add cli support for 'show'
...
confetty interactive mode can now do 'show' (aka read, retrieve, whatever) on
more abritrary resources.
2014-02-10 19:36:18 -05:00
Jarrod Johnson
ca87aacaf2
Support console exit and dedicated console mode
...
Have confetty assume that a plain nodename is a requset for console.
If a console session is started from interactive mode, return to
interactive mode on ctrl-e, c, . rather than exiting.
2014-02-10 18:28:45 -05:00
Jarrod Johnson
3fc39531f4
If a node is specified on the CLI, go straight to console
2014-02-10 09:50:17 -05:00
Jarrod Johnson
563a96f87f
Add 'start /node/<node>/console/session' to confetty
2014-02-10 09:16:29 -05:00
Jarrod Johnson
5aa6e6a26c
Further make the sockapi and confetty client fleshed out
...
Here, fix a few mistakes with how relation objects got messaged out.
Add the ability to cd and ls in the confetty interactive mode
2014-02-09 19:26:48 -05:00
Jarrod Johnson
abab0e5cae
Flesh out the confetty interactive console slightly
2014-02-09 17:35:49 -05:00
Jarrod Johnson
15c9f841f0
Have confetty detect disconnect cleaner once more.
2014-02-09 13:45:01 -05:00
Jarrod Johnson
70fad4335a
Advance state of the socket interface
...
Properly implement authentication and switch the protocol over to the tlv
based protocol. Abandon all thought of the socket being directly accessible.
Any CLI semantics will be in confetty and an appliance wishing to expose that CLI
directly should use standard ssh stuff with a shell of confetty. The unix domain
authentication support makes this feasible (requires user creation push name into
confluent repository at the moment..)
2014-02-09 10:43:26 -05:00
Jarrod Johnson
35a5e9cbf0
Continue trying to flesh out socket api
2013-10-23 13:38:54 -04:00
Jarrod Johnson
8d21674ced
Implement unix domain socket in socket api
2013-10-14 09:21:55 -04:00
Jarrod Johnson
1c2341e1eb
Cleaner exit on remote termination
2013-10-12 15:04:26 -04:00
Jarrod Johnson
ed0373ade4
Advance confetty example to the point where it can do at least some conserver escape sequences, notably
...
including disconnect.
2013-10-12 10:44:46 -04:00
Jarrod Johnson
52f8a6dda4
Note for future of socket api
2013-10-10 20:04:59 -04:00
Jarrod Johnson
f5e02bba4e
Make confetty work to actually do socket console work
2013-10-10 19:23:06 -04:00
Jarrod Johnson
9855f17d58
Fix socket test case to work multiple times
2013-10-09 20:14:34 -04:00
Jarrod Johnson
ac8e0df051
Arrange things so that the startup py is in bin
2013-07-19 10:31:02 -04:00