Browse Source

Introduce role_metadata into cluster adapter

Change-Id: I19fc51f9fd316a7828267afc995275585a225e30
Implements: blueprint role-decomposition
Viacheslav Valyavskiy 2 years ago
parent
commit
40315ce69d
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      cluster_upgrade/objects/adapters.py

+ 4
- 0
cluster_upgrade/objects/adapters.py View File

@@ -55,6 +55,10 @@ class NailgunClusterAdapter(object):
55 55
     def generated_attrs(self):
56 56
         return self.cluster.attributes.generated
57 57
 
58
+    @property
59
+    def roles_metadata(self):
60
+        return self.cluster.roles_metadata
61
+
58 62
     @generated_attrs.setter
59 63
     def generated_attrs(self, attrs):
60 64
         self.cluster.attributes.generated = attrs

Loading…
Cancel
Save