diff --git a/koku/reporting/provider/aws/openshift/models.py b/koku/reporting/provider/aws/openshift/models.py index 35dbfe6785..a626f7c918 100644 --- a/koku/reporting/provider/aws/openshift/models.py +++ b/koku/reporting/provider/aws/openshift/models.py @@ -558,6 +558,9 @@ class Meta: cost_entry_bill = models.ForeignKey("AWSCostEntryBill", on_delete=models.CASCADE, null=True) product_code = models.TextField(null=False) product_family = models.CharField(max_length=150, null=True) + infrastructure_data_in_gigabytes = models.DecimalField(max_digits=33, decimal_places=15, null=True) + infrastructure_data_out_gigabytes = models.DecimalField(max_digits=33, decimal_places=15, null=True) + data_transfer_direction = models.TextField(null=True) instance_type = models.CharField(max_length=50, null=True) usage_account_id = models.CharField(max_length=50, null=False) account_alias = models.ForeignKey("AWSAccountAlias", on_delete=models.SET_NULL, null=True) diff --git a/koku/reporting/provider/azure/openshift/models.py b/koku/reporting/provider/azure/openshift/models.py index a073547019..5022a9b743 100644 --- a/koku/reporting/provider/azure/openshift/models.py +++ b/koku/reporting/provider/azure/openshift/models.py @@ -497,6 +497,9 @@ class Meta: subscription_name = models.TextField(null=True) instance_type = models.TextField(null=True) service_name = models.TextField(null=True) + infrastructure_data_in_gigabytes = models.DecimalField(max_digits=33, decimal_places=15, null=True) + infrastructure_data_out_gigabytes = models.DecimalField(max_digits=33, decimal_places=15, null=True) + data_transfer_direction = models.TextField(null=True) resource_location = models.TextField(null=True) usage_quantity = models.DecimalField(max_digits=24, decimal_places=9, null=True) unit_of_measure = models.TextField(null=True) diff --git a/koku/reporting/provider/gcp/openshift/models.py b/koku/reporting/provider/gcp/openshift/models.py index ceba3781f8..86c85299c1 100644 --- a/koku/reporting/provider/gcp/openshift/models.py +++ b/koku/reporting/provider/gcp/openshift/models.py @@ -139,6 +139,9 @@ class Meta: instance_type = models.CharField(max_length=50, null=True) service_id = models.CharField(max_length=256, null=True) service_alias = models.CharField(max_length=256, null=True, blank=True) + infrastructure_data_in_gigabytes = models.DecimalField(max_digits=33, decimal_places=15, null=True) + infrastructure_data_out_gigabytes = models.DecimalField(max_digits=33, decimal_places=15, null=True) + data_transfer_direction = models.TextField(null=True) sku_id = models.CharField(max_length=256, null=True) sku_alias = models.CharField(max_length=256, null=True) region = models.TextField(null=True)