netbox-docker-plugin 1.6.1__tar.gz → 1.7.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {netbox_docker_plugin-1.6.1/netbox_docker_plugin.egg-info → netbox_docker_plugin-1.7.0}/PKG-INFO +1 -1
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/__init__.py +1 -1
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/api/serializers.py +5 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/bind.py +2 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/mount.py +2 -0
- netbox_docker_plugin-1.7.0/netbox_docker_plugin/migrations/0028_mount_and_bind_read_only.py +25 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/models/container.py +6 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tables.py +24 -4
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/container/test_container_api.py +1 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/container.py +1 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/host.py +1 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/image.py +1 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/network.py +1 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/volume.py +1 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0/netbox_docker_plugin.egg-info}/PKG-INFO +1 -1
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin.egg-info/SOURCES.txt +1 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/pyproject.toml +1 -1
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/LICENSE +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/MANIFEST.in +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/README.md +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/api/__init__.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/api/urls.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/api/views.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/filtersets.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/__init__.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/container.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/env.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/host.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/image.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/label.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/network.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/network_setting.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/port.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/registry.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/volume.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0001_initial.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0002_image.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0003_image_size.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0004_volume.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0005_network.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0006_container_port_mount_label_env_and_more.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0007_remove_container_netbox_docker_plugin_container_unique_name_host__and_more.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0008_alter_network_unique_together_network_networkid_and_more.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0009_remove_container_network_networksettings_and_more.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0010_container_containerid_and_more.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0011_host_token.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0012_host_state.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0013_host_netbox_url.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0014_container_operation.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0015_remove_mount_netbox_docker_plugin_mount_unique_volume_and_more.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0016_alter_env_value.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0017_network_state.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0018_alter_mount_volume_alter_networksetting_network.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0019_host_agent_version_host_docker_api_version.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0020_container_hostname.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0021_registry_and_more.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0022_bind_bind_netbox_docker_plugin_bind_unique_bind.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0023_delete_hosts.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0024_registry_host_alter_registry_name_and_more.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0025_alter_image_version.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0026_image_digest.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/0027_container_restart_policy.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/migrations/__init__.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/models/__init__.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/models/host.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/models/image.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/models/network.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/models/registry.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/models/volume.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/navigation.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/templates/netbox_docker_plugin/container.html +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/templates/netbox_docker_plugin/host.html +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/templates/netbox_docker_plugin/image.html +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/templates/netbox_docker_plugin/network.html +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/templates/netbox_docker_plugin/registry.html +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/templates/netbox_docker_plugin/volume.html +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/templatetags/__init__.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/templatetags/host.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/__init__.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/base.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/container/__init__.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/container/test_container_operation_view.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/container/test_container_validation.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/container/test_container_views.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/host/__init__.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/host/test_host_api.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/host/test_host_views.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/host/test_replace_password.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/image/__init__.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/image/test_image_api.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/image/test_image_views.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/network/__init__.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/network/test_network_api.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/network/test_network_views.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/registry/__init__.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/registry/test_registry_api.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/registry/test_registry_views.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/test_init.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/volume/__init__.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/volume/test_volume_api.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/volume/test_volume_views.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/urls.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/utilities/__init__.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/__init__.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/bind.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/env.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/label.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/mount.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/network_setting.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/port.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/registry.py +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin.egg-info/dependency_links.txt +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin.egg-info/top_level.txt +0 -0
- {netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/setup.cfg +0 -0
|
@@ -10,7 +10,7 @@ class NetBoxDockerConfig(PluginConfig):
|
|
|
10
10
|
name = "netbox_docker_plugin"
|
|
11
11
|
verbose_name = " NetBox Docker Plugin"
|
|
12
12
|
description = "Manage Docker"
|
|
13
|
-
version = "1.
|
|
13
|
+
version = "1.7.0"
|
|
14
14
|
base_url = "docker"
|
|
15
15
|
author= "Vincent Simonin"
|
|
16
16
|
author_email= "vincent@saashup.com"
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/api/serializers.py
RENAMED
|
@@ -138,6 +138,7 @@ class NestedContainerSerializer(WritableNestedSerializer):
|
|
|
138
138
|
fields = (
|
|
139
139
|
"id",
|
|
140
140
|
"url",
|
|
141
|
+
"display",
|
|
141
142
|
"name",
|
|
142
143
|
"ContainerID",
|
|
143
144
|
"state",
|
|
@@ -158,6 +159,7 @@ class NestedMountSerializer(WritableNestedSerializer):
|
|
|
158
159
|
fields = (
|
|
159
160
|
"id",
|
|
160
161
|
"source",
|
|
162
|
+
"read_only",
|
|
161
163
|
)
|
|
162
164
|
|
|
163
165
|
|
|
@@ -339,6 +341,7 @@ class MountSerializer(serializers.ModelSerializer):
|
|
|
339
341
|
fields = (
|
|
340
342
|
"source",
|
|
341
343
|
"volume",
|
|
344
|
+
"read_only",
|
|
342
345
|
)
|
|
343
346
|
|
|
344
347
|
|
|
@@ -352,6 +355,7 @@ class BindSerializer(serializers.ModelSerializer):
|
|
|
352
355
|
fields = (
|
|
353
356
|
"host_path",
|
|
354
357
|
"container_path",
|
|
358
|
+
"read_only",
|
|
355
359
|
)
|
|
356
360
|
|
|
357
361
|
|
|
@@ -389,6 +393,7 @@ class ContainerSerializer(NetBoxModelSerializer):
|
|
|
389
393
|
fields = (
|
|
390
394
|
"id",
|
|
391
395
|
"url",
|
|
396
|
+
"display",
|
|
392
397
|
"host",
|
|
393
398
|
"image",
|
|
394
399
|
"name",
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/bind.py
RENAMED
|
@@ -27,11 +27,13 @@ class BindForm(BootstrapMixin, forms.ModelForm):
|
|
|
27
27
|
"container",
|
|
28
28
|
"host_path",
|
|
29
29
|
"container_path",
|
|
30
|
+
"read_only",
|
|
30
31
|
)
|
|
31
32
|
labels = {
|
|
32
33
|
"container": "Container",
|
|
33
34
|
"host_path": "Path to mount on host",
|
|
34
35
|
"container_path": "Mountpoint in container",
|
|
36
|
+
"read_only": "Mount as read-only within the container",
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/mount.py
RENAMED
|
@@ -31,11 +31,13 @@ class MountForm(BootstrapMixin, forms.ModelForm):
|
|
|
31
31
|
"container",
|
|
32
32
|
"source",
|
|
33
33
|
"volume",
|
|
34
|
+
"read_only",
|
|
34
35
|
)
|
|
35
36
|
labels = {
|
|
36
37
|
"container": "Container",
|
|
37
38
|
"source": "Source directory",
|
|
38
39
|
"volume": "Volume",
|
|
40
|
+
"read_only": "Mount as read-only within the container",
|
|
39
41
|
}
|
|
40
42
|
|
|
41
43
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# pylint: disable=C0103
|
|
2
|
+
"""Migration file"""
|
|
3
|
+
|
|
4
|
+
from django.db import migrations, models
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class Migration(migrations.Migration):
|
|
8
|
+
"""Migration file"""
|
|
9
|
+
|
|
10
|
+
dependencies = [
|
|
11
|
+
("netbox_docker_plugin", "0027_container_restart_policy"),
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
operations = [
|
|
15
|
+
migrations.AddField(
|
|
16
|
+
model_name="mount",
|
|
17
|
+
name="read_only",
|
|
18
|
+
field=models.BooleanField(default=False),
|
|
19
|
+
),
|
|
20
|
+
migrations.AddField(
|
|
21
|
+
model_name="bind",
|
|
22
|
+
name="read_only",
|
|
23
|
+
field=models.BooleanField(default=False),
|
|
24
|
+
),
|
|
25
|
+
]
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/models/container.py
RENAMED
|
@@ -301,6 +301,9 @@ class Mount(models.Model):
|
|
|
301
301
|
MaxLengthValidator(limit_value=1024),
|
|
302
302
|
],
|
|
303
303
|
)
|
|
304
|
+
read_only = models.BooleanField(
|
|
305
|
+
default=False,
|
|
306
|
+
)
|
|
304
307
|
|
|
305
308
|
class Meta:
|
|
306
309
|
"""Mount Model Meta Class"""
|
|
@@ -349,6 +352,9 @@ class Bind(models.Model):
|
|
|
349
352
|
MaxLengthValidator(limit_value=1024),
|
|
350
353
|
],
|
|
351
354
|
)
|
|
355
|
+
read_only = models.BooleanField(
|
|
356
|
+
default=False,
|
|
357
|
+
)
|
|
352
358
|
|
|
353
359
|
class Meta:
|
|
354
360
|
"""Mount Model Meta Class"""
|
|
@@ -335,8 +335,18 @@ class MountTable(NetBoxTable):
|
|
|
335
335
|
"""Mount Table definition Meta class"""
|
|
336
336
|
|
|
337
337
|
model = Mount
|
|
338
|
-
fields = (
|
|
339
|
-
|
|
338
|
+
fields = (
|
|
339
|
+
"container",
|
|
340
|
+
"source",
|
|
341
|
+
"volume",
|
|
342
|
+
"read_only",
|
|
343
|
+
)
|
|
344
|
+
default_columns = (
|
|
345
|
+
"container",
|
|
346
|
+
"source",
|
|
347
|
+
"volume",
|
|
348
|
+
"read_only",
|
|
349
|
+
)
|
|
340
350
|
|
|
341
351
|
|
|
342
352
|
class BindTable(NetBoxTable):
|
|
@@ -350,8 +360,18 @@ class BindTable(NetBoxTable):
|
|
|
350
360
|
"""Bind Table definition Meta class"""
|
|
351
361
|
|
|
352
362
|
model = Bind
|
|
353
|
-
fields = (
|
|
354
|
-
|
|
363
|
+
fields = (
|
|
364
|
+
"container",
|
|
365
|
+
"host_path",
|
|
366
|
+
"container_path",
|
|
367
|
+
"read_only",
|
|
368
|
+
)
|
|
369
|
+
default_columns = (
|
|
370
|
+
"container",
|
|
371
|
+
"host_path",
|
|
372
|
+
"container_path",
|
|
373
|
+
"read_only",
|
|
374
|
+
)
|
|
355
375
|
|
|
356
376
|
|
|
357
377
|
class NetworkSettingTable(NetBoxTable):
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/container.py
RENAMED
|
@@ -81,6 +81,7 @@ class ContainerBulkDeleteView(generic.BulkDeleteView):
|
|
|
81
81
|
class ContainerDeleteView(generic.ObjectDeleteView):
|
|
82
82
|
"""Container delete view definition"""
|
|
83
83
|
|
|
84
|
+
default_return_url = "plugins:netbox_docker_plugin:container_list"
|
|
84
85
|
queryset = Container.objects.all()
|
|
85
86
|
|
|
86
87
|
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin.egg-info/SOURCES.txt
RENAMED
|
@@ -55,6 +55,7 @@ netbox_docker_plugin/migrations/0024_registry_host_alter_registry_name_and_more.
|
|
|
55
55
|
netbox_docker_plugin/migrations/0025_alter_image_version.py
|
|
56
56
|
netbox_docker_plugin/migrations/0026_image_digest.py
|
|
57
57
|
netbox_docker_plugin/migrations/0027_container_restart_policy.py
|
|
58
|
+
netbox_docker_plugin/migrations/0028_mount_and_bind_read_only.py
|
|
58
59
|
netbox_docker_plugin/migrations/__init__.py
|
|
59
60
|
netbox_docker_plugin/models/__init__.py
|
|
60
61
|
netbox_docker_plugin/models/container.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/filtersets.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/__init__.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/container.py
RENAMED
|
File without changes
|
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/host.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/image.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/label.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/network.py
RENAMED
|
File without changes
|
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/port.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/registry.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/forms/volume.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/models/__init__.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/models/host.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/models/image.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/models/network.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/models/registry.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/models/volume.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/navigation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/templatetags/host.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/__init__.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/base.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/tests/test_init.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/utilities/__init__.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/__init__.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/bind.py
RENAMED
|
File without changes
|
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/label.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/mount.py
RENAMED
|
File without changes
|
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/port.py
RENAMED
|
File without changes
|
{netbox_docker_plugin-1.6.1 → netbox_docker_plugin-1.7.0}/netbox_docker_plugin/views/registry.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|