Skip to content

Commit ea53097

Browse files
committed
Add Type class
1 parent d4cefcc commit ea53097

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ocp_resources/infrastructure.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ class Infrastructure(Resource):
88

99
api_group = Resource.ApiGroup.CONFIG_OPENSHIFT_IO
1010

11+
class Type:
12+
BARE_METAL = "BareMetal"
13+
AWS = "AWS"
14+
OPENSTACK = "OpenStack"
15+
1116
@property
1217
def platform(self):
1318
return self.instance.status.platformStatus.type

0 commit comments

Comments
 (0)