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

removes napalm references #13628

This commit is contained in:
Abhimanyu Saharan
2023-08-31 18:45:18 +05:30
committed by Jeremy Stretch
parent cb93abb0f4
commit 272d2c54d4
4 changed files with 0 additions and 62 deletions

View File

@ -23,17 +23,3 @@ If designated, this platform will be available for use only to devices assigned
### Configuration Template ### Configuration Template
The default [configuration template](../extras/configtemplate.md) for devices assigned to this platform. The default [configuration template](../extras/configtemplate.md) for devices assigned to this platform.
### NAPALM Driver
!!! warning "Deprecated Field"
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.
The [NAPALM driver](https://napalm.readthedocs.io/en/latest/support/index.html) associated with this platform.
### NAPALM Arguments
!!! warning "Deprecated Field"
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.
Any additional arguments to send when invoking the NAPALM driver assigned to this platform.

View File

@ -787,10 +787,6 @@ class ModuleSerializer(NetBoxModelSerializer):
] ]
class DeviceNAPALMSerializer(serializers.Serializer):
method = serializers.JSONField()
# #
# Device components # Device components
# #

View File

@ -158,39 +158,6 @@ PARAMS = (
}, },
), ),
# NAPALM
ConfigParam(
name='NAPALM_USERNAME',
label=_('NAPALM username'),
default='',
description=_("Username to use when connecting to devices via NAPALM")
),
ConfigParam(
name='NAPALM_PASSWORD',
label=_('NAPALM password'),
default='',
description=_("Password to use when connecting to devices via NAPALM")
),
ConfigParam(
name='NAPALM_TIMEOUT',
label=_('NAPALM timeout'),
default=30,
description=_("NAPALM connection timeout (in seconds)"),
field=forms.IntegerField
),
ConfigParam(
name='NAPALM_ARGS',
label=_('NAPALM arguments'),
default={},
description=_("Additional arguments to pass when invoking a NAPALM driver (as JSON data)"),
field=forms.JSONField,
field_kwargs={
'widget': forms.Textarea(
attrs={'class': 'vLargeTextField'}
),
},
),
# User preferences # User preferences
ConfigParam( ConfigParam(
name='DEFAULT_USER_PREFERENCES', name='DEFAULT_USER_PREFERENCES',

View File

@ -44,17 +44,6 @@
<th scope="row">{% trans "Config Template" %}</th> <th scope="row">{% trans "Config Template" %}</th>
<td>{{ object.config_template|linkify|placeholder }}</td> <td>{{ object.config_template|linkify|placeholder }}</td>
</tr> </tr>
<tr>
<th scope="row">
{% trans "NAPALM Driver" %}
<i
class="mdi mdi-alert-box text-warning"
data-bs-toggle="tooltip"
data-bs-placement="right"
title="{% trans "This field has been deprecated, and will be removed in NetBox v3.6" %}."
></i>
</th>
</tr>
</table> </table>
</div> </div>
</div> </div>