Skip to content

Commit 25dfb58

Browse files
committed
add sup 3.6
1 parent eec5224 commit 25dfb58

File tree

7 files changed

+27
-14
lines changed

7 files changed

+27
-14
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PYTHON_VER?=3.8
2-
NETBOX_VER?=v3.5.1
2+
NETBOX_VER?=v3.6.1
33

44
NAME=netbox-bgp
55

README.md

+4-9
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,11 @@ This plugin provide following Models:
1010

1111
## Compatibility
1212

13-
| | |
14-
|-------------|-------|
15-
| NetBox 2.10 | 0.3.9 |
16-
| NetBox 2.11 | 0.3.9 |
17-
| NetBox 3.0 | 0.4.3 |
18-
| NetBox 3.1 | 0.5.0 |
19-
| NetBox 3.2 | >= 0.6.0 |
20-
| NetBox 3.3 | >= 0.8.1 |
21-
| NetBox 3.4 | >= 0.9.0 |
13+
| | |
14+
|-------------|-----------|
15+
| NetBox 3.4 | >= 0.9.0 |
2216
| NetBox 3.5 | >= 0.10.0 |
17+
| NetBox 3.6 | >= 0.11.0 |
2318

2419
## Installation
2520

netbox_bgp/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class BGPConfig(PluginConfig):
1212
base_url = 'bgp'
1313
required_settings = []
1414
min_version = '3.5.0'
15-
max_version = '3.5.99'
15+
max_version = '3.6.99'
1616
default_settings = {
1717
'device_ext_page': 'right',
1818
'top_level_menu' : False,

netbox_bgp/forms.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ class PrefixListForm(NetBoxModelForm):
383383

384384
class Meta:
385385
model = PrefixList
386-
fields = ['name', 'description', 'tags']
386+
fields = ['name', 'description', 'family', 'tags']
387387

388388

389389
class PrefixListRuleForm(NetBoxModelForm):
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 4.1.9 on 2023-09-19 05:03
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('netbox_bgp', '0028_netbox_bgp'),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name='bgpsession',
15+
name='name',
16+
field=models.CharField(blank=True, max_length=256, null=True),
17+
),
18+
]

netbox_bgp/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def get_absolute_url(self):
122122

123123
class BGPSession(NetBoxModel):
124124
name = models.CharField(
125-
max_length=64,
125+
max_length=256,
126126
blank=True,
127127
null=True
128128
)

netbox_bgp/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.10.2"
1+
__version__ = "0.11.0"

0 commit comments

Comments
 (0)