Update git submodules
* Update networking-generic-switch from branch 'master' to 34bab0dc86c0cca74322e1c7cf53ce97e722e2c2 - Merge "Support batching up commands" - Support batching up commands When you have around 60 baremetal nodes attached to a single switch, it takes a long time to execute all those commands. This gets worse when you limit the number of concurrent ssh connections. Here we look to batch up commands to send to the switch together using a single connection. The results of each port's commands are returned when available. This is implemented using etcd as a queueing system. Commands are added to an input key, then a worker thread processes the available commands for a particular switch device. We pull off the queue using the version at which the keys were added, giving a FIFO style queue. The result of each command set are added to an output key, which the original request thread is watching. Distributed locks are used to serialise the processing of commands for each switch device. Various neat etcd features are used here to alleviate some of the issues of distributed task coordination, including transactions, leases, watches, historical key/value tracking, etc. Co-Authored-By: Mark Goddard <mark@stackhpc.com> Change-Id: I8c458bbc94df5630cfede5434bcdbe527988059c
This commit is contained in:
parent
4cb95f9321
commit
9c7043bb41
|
@ -1 +1 @@
|
|||
Subproject commit 1b715fd5cf387e186594417b30d17d5cfcd97ae7
|
||||
Subproject commit 34bab0dc86c0cca74322e1c7cf53ce97e722e2c2
|
Loading…
Reference in New Issue