File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ class Volume(BaseDomain, DomainIdentityMixin):
1313 "location" ,
1414 "size" ,
1515 "linux_device" ,
16+ "format" ,
1617 "protection" ,
1718 "labels" ,
1819 "status"
@@ -27,6 +28,7 @@ def __init__(
2728 location = None ,
2829 size = None ,
2930 linux_device = None ,
31+ format = None ,
3032 protection = None ,
3133 labels = None ,
3234 status = None
@@ -39,6 +41,7 @@ def __init__(
3941 self .location = location
4042 self .size = size
4143 self .linux_device = linux_device
44+ self .format = format
4245 self .protection = protection
4346 self .labels = labels
4447 self .status = status
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ def volume_response():
2323 "protection" : {
2424 "delete" : False
2525 },
26+ "format" : "xfs" ,
2627 "labels" : {},
2728 "status" : "available"
2829 }
@@ -52,6 +53,7 @@ def two_volumes_response():
5253 "protection" : {
5354 "delete" : False
5455 },
56+ "format" : "xfs" ,
5557 "labels" : {},
5658 "status" : "available"
5759 },
@@ -74,6 +76,7 @@ def two_volumes_response():
7476 "protection" : {
7577 "delete" : False
7678 },
79+ "format" : "xfs" ,
7780 "labels" : {},
7881 "status" : "available"
7982 }
@@ -103,6 +106,7 @@ def volume_create_response():
103106 "protection" : {
104107 "delete" : False
105108 },
109+ "format" : "xfs" ,
106110 "labels" : {},
107111 "status" : "available"
108112 },
@@ -164,6 +168,7 @@ def response_update_volume():
164168 "latitude" : 50.47612 ,
165169 "longitude" : 12.370071
166170 },
171+ "format" : "xfs" ,
167172 "size" : 42 ,
168173 "linux_device" : "/dev/disk/by-id/scsi-0HC_Volume_4711" ,
169174 "protection" : {
You can’t perform that action at this time.
0 commit comments