Jarrod Johnson
906c671d90
Fix misakes in usergroups
...
Deletion was incorrect and restore from json did not work.
2019-04-30 16:18:36 -04:00
Jarrod Johnson
c86ac2885f
Fix overly verbose log on client close
...
When a client would close (e.g. an unathenticated nodelist),
a large trace be logged. Fix by returning silently in such a case.
2019-04-30 15:27:50 -04:00
Jarrod Johnson
952fa3d022
Add user groups to confluent
...
This allows a system/ldap group to be used instead of directly
specifying individual authorized users.
2019-04-30 15:27:41 -04:00
Jarrod Johnson
90e0f93d37
Module to assist with advanced user manipulation
...
Currently holds the logic to ascertain the system groups
for a system user.
2019-04-30 15:27:34 -04:00
Jarrod Johnson
47edb1dbd1
Add a prototype stats command for CLI commands
2019-04-25 13:51:50 -04:00
Jarrod Johnson
72448aa0b4
Disable MIB resolution for raw requests
...
MIB resolution turns out to be rather CPU intensive, and the
current SNMP consumers don't want the resolution anyway.
2.2.0
2019-04-16 08:49:32 -04:00
Jarrod Johnson
e5bbd226ff
Add completion for attributes in node*attrib
...
Make some of the tedium of the long attribute names bearable
through tab completion.
2019-04-15 14:01:59 -04:00
Jarrod Johnson
1ae055fa8f
Add '-n' option to nodeshell and noderun
...
Provide ability to suppress node prefix for nodeshell.
This for example can be a quick 'makehosts' substituted and
similar.
2019-04-11 09:18:37 -04:00
Jarrod Johnson
c070148aed
Fix adequate check on inadequate IMMs
2019-04-08 10:15:27 -04:00
Jarrod Johnson
d6ecee955b
Skip empty nodes list
...
A noderange based nodegroup would have
the empty nodes list cluttering the output.
Skip empty nodes list in current settings.
2019-04-05 09:37:14 -04:00
Jarrod Johnson
06b31f4845
Add man page for collective command
2019-04-04 10:18:34 -04:00
Jarrod Johnson
36d5d60edc
Autofill collective.manager on discovery if not set
...
To improve the ease of use, if an administrator has a collective but
does not designate a collective.manager for a node being discovered,
default to the collective member that executes the discovery.
2019-04-04 09:50:26 -04:00
Jarrod Johnson
16430e1ec9
Enhance collective usage output
...
Collective usage output provided no hints as to how to access more detailed
help. Amend the wording to make this more clear/obvious.
2019-04-03 14:23:50 -04:00
Jarrod Johnson
7232a0c1b3
Fix SLP hangs on bad targets
...
Have SLP timeout if there are endpoints that can half-hang
a connection.
2019-04-03 08:35:25 -04:00
Jarrod Johnson
835d1fc0ab
Update the pyopenssl message
...
It makes it more clear that a restart would be
required to pull in updated dependency.
2019-04-02 09:40:18 -04:00
Jarrod Johnson
9fd091daad
Tolerate an XCC with downed web service
...
Make the best of the situation by trying to continue
without the policy applied.
2019-04-02 09:37:33 -04:00
Jarrod Johnson
4af1f998fb
Fix nodeconfig formatting
...
The man page did not have a hard line break.
2019-04-01 14:19:18 -04:00
Jarrod Johnson
ca29f6ae35
Opportunisticly start mac rescan on rescan
...
While the network rescan might be too slow to hold up
general rescan, at least begin a rescan of switches
when a rescan is requested.
2019-03-29 14:03:00 -04:00
Jarrod Johnson
5c61430ccc
Add wildcard documentation to noderange man page.
2019-03-28 11:15:28 -04:00
Jarrod Johnson
2b275cd369
Add wildcard documentation to nodeattrib/nodelist
2019-03-28 11:15:23 -04:00
Jarrod Johnson
0b85fab529
Replace the network error with a local error
...
This is a bit more clear about the cause when local commands fail.
2019-03-28 11:03:33 -04:00
Jarrod Johnson
adb4ce919e
Fix nodegrouplist man page
2019-03-28 10:14:30 -04:00
Jarrod Johnson
11ffa7a091
Fix debian build process
2019-03-26 13:50:15 -04:00
Jarrod Johnson
70690517de
Change wheezy to depend on old package name
2019-03-26 13:46:39 -04:00
Jarrod Johnson
a3162daf62
Skip pushing static config if config already matches
...
A strategy of manually adding DHCP managed nodes produced static-baking
when not desired. For now skip the baking in if the address matches.
2019-03-26 13:44:24 -04:00
Jarrod Johnson
48079f297b
Change wheezy name to python-confluent...
2019-03-19 15:03:41 -04:00
Jarrod Johnson
656e82c3fe
Speed up cnos health and add stubs
...
Add concurrency to accelerate nodehealth and provide stubs
for the as-yet unimplemented functionality.
2019-03-08 16:05:42 -05:00
Jarrod Johnson
16abf7cb64
Fix missing sub-health info on CNOS health
2019-03-08 13:38:15 -05:00
Jarrod Johnson
269acf9943
Add CNOS plugin for Lenovo switches
2019-03-08 13:26:34 -05:00
Jarrod Johnson
4124e0fcc0
Add ability for noderange to wildcard attrib names
...
Useful for net.*attribs to search when nic is unknown.
2019-03-07 15:20:19 -05:00
Jarrod Johnson
8ad06f79e7
Add nodersync
...
This provides bulk transfer with status to a noderange.
2019-03-04 14:28:52 -05:00
Jarrod Johnson
5481da269e
Merge branch 'master' into 2.2
2019-03-01 15:27:40 -05:00
Jarrod Johnson
6ea307d415
Add nodegrouprename command
2019-03-01 15:27:13 -05:00
Jarrod Johnson
59aa23b2f5
Add noderename command
2019-03-01 15:21:29 -05:00
Jarrod Johnson
4446308030
Add ability to rename nodegroups
...
If we can rename nodes, should be able to rename groups.
2019-03-01 15:03:43 -05:00
Jarrod Johnson
7703c6c2ab
Enable Server Portion of renamae node
...
This plumbs up through the messages and attributes plugin.
2019-03-01 14:37:07 -05:00
Jarrod Johnson
f5b6d434f3
Fix node collection function signature
2019-03-01 13:37:13 -05:00
Jarrod Johnson
8ce5a7dccf
Phase 1 of node rename support
...
Provide foundation for node renaming, including
updating groups and inheritance and notifying collection
watchers of the change, and updating the existing watchers
with the new notification fingerprint.
2019-03-01 13:21:57 -05:00
Jarrod Johnson
23c9e6315a
Update node collection handlers for renamed
...
Rename support will provide a map of old to new name. Have the
existing node collection watchers accept a new argument.
2019-02-28 15:57:35 -05:00
Jarrod Johnson
38f9583be3
Implement direct add switches
...
Allow addition of switches without associated
nodes. This allows populating mac database
without requiring associated nodes.
2019-02-28 13:00:12 -05:00
Jarrod Johnson
1b355ec468
Merge branch 'master' of github.com:jjohnson42/confluent
2019-02-28 12:59:52 -05:00
Jarrod Johnson
2bbf4b9e98
Implement direct add switches
...
Allow addition of switches without associated
nodes. This allows populating mac database
without requiring associated nodes.
2019-02-28 12:59:41 -05:00
Jarrod Johnson
1248894cf3
Amend nodegrouplist command
2019-02-28 10:24:24 -05:00
Jarrod Johnson
c43365d2dd
Merge pull request #102 from andywray/master
...
Add nodegrouplist
Will fix after merge
2019-02-28 10:17:43 -05:00
Jarrod Johnson
4e7c098e75
Remove stub of unimplemented set
...
nodestorage set for manipulating hotspare
and jbod was not done in time.
2019-02-28 09:16:25 -05:00
Jarrod Johnson
ef6c89b883
Add man page for nodestorage
2019-02-28 09:13:57 -05:00
Jarrod Johnson
99c06813d9
Fix clearing validated attributes
...
Attributes that are validated can come
in as None to clear them, accept this
as valid as well.
2019-02-27 14:58:26 -05:00
Jarrod Johnson
686b59c2b4
Friendlier error on read during update
...
Firmware update error now sends a more friendly error to client.
2019-02-26 16:40:06 -05:00
Jarrod Johnson
46b909c291
Document nodesupport download behavior
...
nodesupport downloads locally, and does
not send through the client. Document
the consequence of this for now.
2019-02-26 16:26:07 -05:00
Jarrod Johnson
9abb163c7e
Merge branch 'master' of github.com:jjohnson42/confluent
2019-02-26 15:27:23 -05:00