Jarrod Johnson
a68deebec8
Improve the get_nodegroup_attribute to be more full featured
...
Also, move masking of the _expressionkeys attribute into the core
of the class rather than working around it.
2014-02-19 20:36:39 -05:00
Jarrod Johnson
f2c09795ff
Fix expression based callout of other keys
...
The '_' prefixed attributes suggest more care should be taken.
2014-02-19 20:24:51 -05:00
Jarrod Johnson
b823bc37d2
Fixup unknown attribute handling.
...
For one, prevent unknown attributes from getting into configmanager from now on.
Additionally, have the attributes plugin manage to convey bad attributes when
encountered.
2014-02-19 19:10:58 -05:00
Jarrod Johnson
b6853cfbe1
Fix display of group attributes
...
Something still seems off about it, but it is self contained to attributes plugin for now.
2014-02-18 13:48:26 -05:00
Jarrod Johnson
2b6188e0b6
Add nodegroup management to API
...
Have nodegroup attributes exposed via API so that they are at
least nominally useful
2014-02-18 13:22:07 -05:00
Jarrod Johnson
c77eb5be3b
Have configmanager protect against unrecognized data.
...
When doing a set, check the keynames and value types as
appropriate. raise ValueError in the configmanager case
since it could be code or human mistake. attributes plugin
then catches this error and propogates it up as an InvalidArgumentException
if it is just trying to pass in data from user.
2014-02-13 12:58:03 -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
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
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
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