Skip to content

Commit 732f3ef

Browse files
author
Paul Breaux
committed
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/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ def __init__(self, sys):
3636
super(Config, self).__init__(sys)
3737
self._meta_data['allowed_lazy_attributes'] = []
3838
self._meta_data['attribute_registry'] = {}
39-
self._meta_data['allowed_commands'].append('save',
40-
'load')
39+
self._meta_data['allowed_commands'].append('save')
40+
self._meta_data['allowed_commands'].append('load')
4141

4242
def update(self, **kwargs):
4343
'''Update is not supported for Config

0 commit comments

Comments
 (0)