phasing in celery
for configuring the vpn server
This commit is contained in:
parent
aec79cba74
commit
2d62388eb1
8 changed files with 160 additions and 80 deletions
19
uncloud_net/migrations/0003_wireguardvpnpool_wg_name.py
Normal file
19
uncloud_net/migrations/0003_wireguardvpnpool_wg_name.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Generated by Django 3.1 on 2020-12-13 17:31
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('uncloud_net', '0002_wireguardvpnpool_wireguard_public_key'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='wireguardvpnpool',
|
||||
name='wg_name',
|
||||
field=models.CharField(default='wg0', max_length=15),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
||||
17
uncloud_net/migrations/0004_auto_20201213_1734.py
Normal file
17
uncloud_net/migrations/0004_auto_20201213_1734.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Generated by Django 3.1 on 2020-12-13 17:34
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('uncloud_net', '0003_wireguardvpnpool_wg_name'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddConstraint(
|
||||
model_name='wireguardvpnpool',
|
||||
constraint=models.UniqueConstraint(fields=('wg_name', 'vpn_server_hostname'), name='unique_interface_name_per_host'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue