コード例 #1
0
     AWSInstanceTypeView.as_view(),
     name="reports-aws-instance-type"),
 url(r"^reports/aws/storage/$",
     AWSStorageView.as_view(),
     name="reports-aws-storage"),
 url(r"^reports/azure/costs/$",
     AzureCostView.as_view(),
     name="reports-azure-costs"),
 url(r"^reports/azure/instance-types/$",
     AzureInstanceTypeView.as_view(),
     name="reports-azure-instance-type"),
 url(r"^reports/azure/storage/$",
     AzureStorageView.as_view(),
     name="reports-azure-storage"),
 url(r"^reports/openshift/costs/$",
     OCPCostView.as_view(),
     name="reports-openshift-costs"),
 url(r"^reports/openshift/memory/$",
     OCPMemoryView.as_view(),
     name="reports-openshift-memory"),
 url(r"^reports/openshift/compute/$",
     OCPCpuView.as_view(),
     name="reports-openshift-cpu"),
 url(r"^reports/openshift/volumes/$",
     OCPVolumeView.as_view(),
     name="reports-openshift-volume"),
 url(r"^reports/openshift/infrastructures/all/costs/$",
     OCPAllCostView.as_view(),
     name="reports-openshift-all-costs"),
 url(
     r"^reports/openshift/infrastructures/all/storage/$",
コード例 #2
0
ファイル: urls.py プロジェクト: project-koku/koku
     "reports/azure/instance-types/",
     cache_page(timeout=settings.CACHE_MIDDLEWARE_SECONDS,
                key_prefix=AZURE_CACHE_PREFIX)(
                    AzureInstanceTypeView.as_view()),
     name="reports-azure-instance-type",
 ),
 path(
     "reports/azure/storage/",
     cache_page(timeout=settings.CACHE_MIDDLEWARE_SECONDS,
                key_prefix=AZURE_CACHE_PREFIX)(AzureStorageView.as_view()),
     name="reports-azure-storage",
 ),
 path(
     "reports/openshift/costs/",
     cache_page(timeout=settings.CACHE_MIDDLEWARE_SECONDS,
                key_prefix=OPENSHIFT_CACHE_PREFIX)(OCPCostView.as_view()),
     name="reports-openshift-costs",
 ),
 path(
     "reports/openshift/memory/",
     cache_page(timeout=settings.CACHE_MIDDLEWARE_SECONDS,
                key_prefix=OPENSHIFT_CACHE_PREFIX)(OCPMemoryView.as_view()),
     name="reports-openshift-memory",
 ),
 path(
     "reports/openshift/compute/",
     cache_page(timeout=settings.CACHE_MIDDLEWARE_SECONDS,
                key_prefix=OPENSHIFT_CACHE_PREFIX)(OCPCpuView.as_view()),
     name="reports-openshift-cpu",
 ),
 path(
コード例 #3
0
 url(r'^tags/aws/$', AWSTagView.as_view(), name='aws-tags'),
 url(r'^tags/azure/$', AzureTagView.as_view(), name='azure-tags'),
 url(r'^tags/openshift/$', OCPTagView.as_view(), name='openshift-tags'),
 url(r'^tags/openshift/infrastructures/aws/$', OCPAWSTagView.as_view(),
     name='openshift-aws-tags'),
 url(r'^reports/aws/costs/$', AWSCostView.as_view(), name='reports-aws-costs'),
 url(r'^reports/aws/instance-types/$', AWSInstanceTypeView.as_view(),
     name='reports-aws-instance-type'),
 url(r'^reports/aws/storage/$', AWSStorageView.as_view(),
     name='reports-aws-storage'),
 url(r'^reports/azure/costs/$', AzureCostView.as_view(), name='reports-azure-costs'),
 url(r'^reports/azure/instance-types/$', AzureInstanceTypeView.as_view(),
     name='reports-azure-instance-type'),
 url(r'^reports/azure/storage/$', AzureStorageView.as_view(),
     name='reports-azure-storage'),
 url(r'^reports/openshift/costs/$', OCPCostView.as_view(),
     name='reports-openshift-costs'),
 url(r'^reports/openshift/memory/$', OCPMemoryView.as_view(),
     name='reports-openshift-memory'),
 url(r'^reports/openshift/compute/$', OCPCpuView.as_view(),
     name='reports-openshift-cpu'),
 url(r'^reports/openshift/volumes/$', OCPVolumeView.as_view(),
     name='reports-openshift-volume'),
 url(r'^reports/openshift/infrastructures/aws/costs/$', OCPAWSCostView.as_view(),
     name='reports-openshift-aws-costs'),
 url(r'^reports/openshift/infrastructures/aws/storage/$', OCPAWSStorageView.as_view(),
     name='reports-openshift-aws-storage'),
 url(r'^reports/openshift/infrastructures/aws/instance-types/$',
     OCPAWSInstanceTypeView.as_view(),
     name='reports-openshift-aws-instance-type'),
 url(r'^', include(ROUTER.urls)),