Commit 732f3ef
Paul Breaux
Refactor clustering as part of review with @zancas
Issues:
Fixes #400
Problem:
Clustering is needed for creating a device service group cluster of
multiple bigip devices
Analysis:
This is part of a refactor from a code review that happened offline. It
was suggested to refactor the external interface that previously
existed with the Cluster class into ClusterManager, TrustDomain, and
DeviceGroup classes, which maintain state for their respective
operations and data. The interfaces presented by each of the classes
above are as uniform as possible, and allow for the ClusterManager to
manage the DeviceGroup and TrustDomain with ease.
Tests:
All previous unit tests and functional tests have been refactored or
rewritten in some way. All tests are currently passing.1 parent a106179 commit 732f3ef
12 files changed
Lines changed: 1155 additions & 973 deletions
File tree
- f5
- bigip/tm/sys
- multi_device/cluster
- test
- utils
- test/functional/cluster
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments