1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Rename Cloud to ProviderNetwork

This commit is contained in:
Jeremy Stretch
2021-04-01 10:21:41 -04:00
parent 83c4577f6d
commit d57222328b
27 changed files with 219 additions and 217 deletions

View File

@@ -30,10 +30,10 @@ class ProviderTable(BaseTable):
#
# Clouds
# Provider networks
#
class CloudTable(BaseTable):
class ProviderNetworkTable(BaseTable):
pk = ToggleColumn()
name = tables.Column(
linkify=True
@@ -42,11 +42,11 @@ class CloudTable(BaseTable):
linkify=True
)
tags = TagColumn(
url_name='circuits:cloud_list'
url_name='circuits:providernetwork_list'
)
class Meta(BaseTable.Meta):
model = Cloud
model = ProviderNetwork
fields = ('pk', 'name', 'provider', 'description', 'tags')
default_columns = ('pk', 'name', 'provider', 'description')