Skip to content

Commit 272d2c5

Browse files
abhi1693jeremystretch
authored andcommitted
removes napalm references #13628
1 parent cb93abb commit 272d2c5

File tree

4 files changed

+0
-62
lines changed

4 files changed

+0
-62
lines changed

docs/models/dcim/platform.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,3 @@ If designated, this platform will be available for use only to devices assigned
2323
### Configuration Template
2424

2525
The default [configuration template](../extras/configtemplate.md) for devices assigned to this platform.
26-
27-
### NAPALM Driver
28-
29-
!!! warning "Deprecated Field"
30-
NAPALM integration was removed from NetBox core in v3.5 and is now available as a [plugin](https://github.com/netbox-community/netbox-napalm). This field will be removed in NetBox v3.6.
31-
32-
The [NAPALM driver](https://napalm.readthedocs.io/en/latest/support/index.html) associated with this platform.
33-
34-
### NAPALM Arguments
35-
36-
!!! warning "Deprecated Field"
37-
NAPALM integration was removed from NetBox core in v3.5 and is now available as a [plugin](https://github.com/netbox-community/netbox-napalm). This field will be removed in NetBox v3.6.
38-
39-
Any additional arguments to send when invoking the NAPALM driver assigned to this platform.

netbox/dcim/api/serializers.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -787,10 +787,6 @@ class Meta:
787787
]
788788

789789

790-
class DeviceNAPALMSerializer(serializers.Serializer):
791-
method = serializers.JSONField()
792-
793-
794790
#
795791
# Device components
796792
#

netbox/netbox/config/parameters.py

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -158,39 +158,6 @@ def __init__(self, name, label, default, description='', field=None, field_kwarg
158158
},
159159
),
160160

161-
# NAPALM
162-
ConfigParam(
163-
name='NAPALM_USERNAME',
164-
label=_('NAPALM username'),
165-
default='',
166-
description=_("Username to use when connecting to devices via NAPALM")
167-
),
168-
ConfigParam(
169-
name='NAPALM_PASSWORD',
170-
label=_('NAPALM password'),
171-
default='',
172-
description=_("Password to use when connecting to devices via NAPALM")
173-
),
174-
ConfigParam(
175-
name='NAPALM_TIMEOUT',
176-
label=_('NAPALM timeout'),
177-
default=30,
178-
description=_("NAPALM connection timeout (in seconds)"),
179-
field=forms.IntegerField
180-
),
181-
ConfigParam(
182-
name='NAPALM_ARGS',
183-
label=_('NAPALM arguments'),
184-
default={},
185-
description=_("Additional arguments to pass when invoking a NAPALM driver (as JSON data)"),
186-
field=forms.JSONField,
187-
field_kwargs={
188-
'widget': forms.Textarea(
189-
attrs={'class': 'vLargeTextField'}
190-
),
191-
},
192-
),
193-
194161
# User preferences
195162
ConfigParam(
196163
name='DEFAULT_USER_PREFERENCES',

netbox/templates/dcim/platform.html

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,6 @@ <h5 class="card-header">
4444
<th scope="row">{% trans "Config Template" %}</th>
4545
<td>{{ object.config_template|linkify|placeholder }}</td>
4646
</tr>
47-
<tr>
48-
<th scope="row">
49-
{% trans "NAPALM Driver" %}
50-
<i
51-
class="mdi mdi-alert-box text-warning"
52-
data-bs-toggle="tooltip"
53-
data-bs-placement="right"
54-
title="{% trans "This field has been deprecated, and will be removed in NetBox v3.6" %}."
55-
></i>
56-
</th>
57-
</tr>
5847
</table>
5948
</div>
6049
</div>

0 commit comments

Comments
 (0)