Exemplo n.º 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"
     ])
Exemplo n.º 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"])
Exemplo n.º 3
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name", "valid1_id", "valid2_id"])
Exemplo n.º 4
0
 def json(self):
     """JSON"""
     return to_dict(self, ["relationship_id", "entity1_id", "entity2_id",
                           "weight", "start_time", "end_time"])
Exemplo n.º 5
0
 def json(self):
     """JSON"""
     return to_dict(self, ["entity_id", "name_id", "start_time",
                           "end_time"])
Exemplo n.º 6
0
 def json(self):
     """JSON"""
     return to_dict(self, ["allocation"])
Exemplo n.º 7
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name", "type_id"])
Exemplo n.º 8
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name"])
Exemplo n.º 9
0
 def json(self):
     """JSON"""
     return to_dict(self, [
         "entity_id", "attribute_id", "value", "weight", "start_time",
         "end_time"
     ])
Exemplo n.º 10
0
 def json(self):
     """JSON"""
     return to_dict(self, ["files", "quota", "usage", "owner_id", "snapshot_id",
                           "virtual_volume_id"])
Exemplo n.º 11
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name", "filesystem", "allocation"])
Exemplo n.º 12
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name", "tenant_id", "allocation_id"])
Exemplo n.º 13
0
 def json(self):
     """JSON"""
     return to_dict(self, ["allocation"])
Exemplo n.º 14
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name", "size", "snapshot_id", "volume_id",
                           "status_id"])
Exemplo n.º 15
0
 def json(self):
     """JSON"""
     return to_dict(self, ["openstack_id", "name", "size", "description",
                           "source"])
Exemplo n.º 16
0
 def json(self):
     """JSON"""
     return to_dict(self, ["openstack_id", "availability_zone_id", "owner",
                           "tenant"])
Exemplo n.º 17
0
 def json(self):
     """JSON"""
     return to_dict(self,
                    ["entity_id", "name_id", "start_time", "end_time"])
Exemplo n.º 18
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name", "filesystem_id"])
Exemplo n.º 19
0
 def json(self):
     """JSON"""
     return to_dict(self, [
         "relationship_id", "entity1_id", "entity2_id", "weight",
         "start_time", "end_time"
     ])
Exemplo n.º 20
0
 def json(self):
     """JSON"""
     return to_dict(self, ["capacity", "free", "live_usage",
                           "snapshot_usage", "snapshot_id", "filesystem_id"])
Exemplo n.º 21
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name", "valid1_id", "valid2_id"])
Exemplo n.º 22
0
 def json(self):
     """JSON"""
     return to_dict(self, ["openstack_id"])
Exemplo n.º 23
0
 def json(self):
     """JSON"""
     return to_dict(self, ["bytes", "containers", "objects", "quota",
                           "account_id", "snapshot_id"])
Exemplo n.º 24
0
 def json(self):
     """JSON"""
     return to_dict(self, [
         "blocks", "bytes", "files", "owner_id", "project_id", "snapshot_id"
     ])
Exemplo n.º 25
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name", "tenant_id", "allocation_id"])
Exemplo n.º 26
0
 def json(self):
     """JSON"""
     return to_dict(self, [
         "ts", "filesystem_id", "bavail", "bfree", "blocks", "bsize",
         "favail", "ffree", "files", "frsize"
     ])
Exemplo n.º 27
0
 def json(self):
     """JSON"""
     return to_dict(self, ["entity_id", "attribute_id", "value", "weight",
                           "start_time", "end_time"])
Exemplo n.º 28
0
 def json(self):
     """JSON"""
     return to_dict(self, ["blocks", "bytes", "files", "owner_id",
                           "project_id", "snapshot_id"])
Exemplo n.º 29
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name"])
Exemplo n.º 30
0
 def json(self):
     """JSON"""
     return to_dict(self,
                    ["ts", "filesystem_id", "bavail", "bfree", "blocks",
                     "bsize", "favail", "ffree", "files", "frsize"])
Exemplo n.º 31
0
 def json(self):
     """JSON"""
     return to_dict(self, ["name", "type_id"])
Exemplo n.º 32
0
 def json(self):
     """JSON"""
     return to_dict(self, ["instance", "volume_id", "snapshot_id"])