示例#1
0
 def json(self):
     """JSON"""
     return to_dict(self, [
         "start_time", "end_time", "ingested_bytes", "raw_bytes", "reads",
         "writes", "deletes", "objects", "bytes_in", "bytes_out",
         "metadata_only_objects", "metadata_only_bytes", "tiered_objects",
         "tiered_bytes", "snapshot_id", "namespace_id"
     ])
示例#2
0
 def json(self):
     """JSON"""
     return to_dict(
         self,
         ["start_time", "end_time", "ingested_bytes", "raw_bytes", "reads",
          "writes", "deletes", "objects", "bytes_in", "bytes_out",
          "metadata_only_objects", "metadata_only_bytes", "tiered_objects",
          "tiered_bytes", "snapshot_id", "namespace_id"])
示例#3
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name", "valid1_id", "valid2_id"])
示例#4
0
 def json(self):
     """JSON"""
     return to_dict(self, ["relationship_id", "entity1_id", "entity2_id",
                           "weight", "start_time", "end_time"])
示例#5
0
 def json(self):
     """JSON"""
     return to_dict(self, ["entity_id", "name_id", "start_time",
                           "end_time"])
示例#6
0
 def json(self):
     """JSON"""
     return to_dict(self, ["allocation"])
示例#7
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name", "type_id"])
示例#8
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name"])
示例#9
0
 def json(self):
     """JSON"""
     return to_dict(self, [
         "entity_id", "attribute_id", "value", "weight", "start_time",
         "end_time"
     ])
示例#10
0
 def json(self):
     """JSON"""
     return to_dict(self, ["files", "quota", "usage", "owner_id", "snapshot_id",
                           "virtual_volume_id"])
示例#11
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name", "filesystem", "allocation"])
示例#12
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name", "tenant_id", "allocation_id"])
示例#13
0
 def json(self):
     """JSON"""
     return to_dict(self, ["allocation"])
示例#14
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name", "size", "snapshot_id", "volume_id",
                           "status_id"])
示例#15
0
 def json(self):
     """JSON"""
     return to_dict(self, ["openstack_id", "name", "size", "description",
                           "source"])
示例#16
0
 def json(self):
     """JSON"""
     return to_dict(self, ["openstack_id", "availability_zone_id", "owner",
                           "tenant"])
示例#17
0
 def json(self):
     """JSON"""
     return to_dict(self,
                    ["entity_id", "name_id", "start_time", "end_time"])
示例#18
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name", "filesystem_id"])
示例#19
0
 def json(self):
     """JSON"""
     return to_dict(self, [
         "relationship_id", "entity1_id", "entity2_id", "weight",
         "start_time", "end_time"
     ])
示例#20
0
 def json(self):
     """JSON"""
     return to_dict(self, ["capacity", "free", "live_usage",
                           "snapshot_usage", "snapshot_id", "filesystem_id"])
示例#21
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name", "valid1_id", "valid2_id"])
示例#22
0
 def json(self):
     """JSON"""
     return to_dict(self, ["openstack_id"])
示例#23
0
 def json(self):
     """JSON"""
     return to_dict(self, ["bytes", "containers", "objects", "quota",
                           "account_id", "snapshot_id"])
示例#24
0
 def json(self):
     """JSON"""
     return to_dict(self, [
         "blocks", "bytes", "files", "owner_id", "project_id", "snapshot_id"
     ])
示例#25
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name", "tenant_id", "allocation_id"])
示例#26
0
 def json(self):
     """JSON"""
     return to_dict(self, [
         "ts", "filesystem_id", "bavail", "bfree", "blocks", "bsize",
         "favail", "ffree", "files", "frsize"
     ])
示例#27
0
 def json(self):
     """JSON"""
     return to_dict(self, ["entity_id", "attribute_id", "value", "weight",
                           "start_time", "end_time"])
示例#28
0
 def json(self):
     """JSON"""
     return to_dict(self, ["blocks", "bytes", "files", "owner_id",
                           "project_id", "snapshot_id"])
示例#29
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name"])
示例#30
0
 def json(self):
     """JSON"""
     return to_dict(self,
                    ["ts", "filesystem_id", "bavail", "bfree", "blocks",
                     "bsize", "favail", "ffree", "files", "frsize"])
示例#31
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name", "type_id"])
示例#32
0
 def json(self):
     """JSON"""
     return to_dict(self, ["instance", "volume_id", "snapshot_id"])