Skip to content

Commit

Permalink
Support additional attributes
Browse files Browse the repository at this point in the history
Signed-off-by: Anja Strunk <anja.strunk@cloudandheat.com>
  • Loading branch information
anjastrunk committed Dec 20, 2023
1 parent 1a5265f commit d8901ea
Show file tree
Hide file tree
Showing 3 changed files with 208 additions and 151 deletions.
5 changes: 5 additions & 0 deletions generator/common/exceptions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

class MissingMandatoryAttribute(AttributeError):
def __init__(self, *args, **kwargs):
super(MissingMandatoryAttribute, self).__init__(args, "Are you sure this is a SCS compliant cluster.")

2 changes: 0 additions & 2 deletions generator/discovery/openstack/opentack_discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ def __init__(self, conn: Connection, config: Dict) -> None:
def discover_properties(self):
vm_dis = VmDiscovery(self.conn, self.config)
creds = vm_dis.discover_vm_images()
print(creds)


# Create per region service catalogs
"""self.regcat = {}
Expand Down
Loading

0 comments on commit d8901ea

Please sign in to comment.