Skip to content

Commit 54d9cc9

Browse files
committed
feat: Add support for tunnel name in netbox_utils.py
This commit adds support for the "tunnel" attribute in the `netbox_utils.py` file. The attribute is used to query the "name" field for tunnels in NetBox. This change ensures that the correct attribute is used when interacting with tunnels.
1 parent 1b43e9b commit 54d9cc9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

plugins/module_utils/netbox_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@
204204
site_group="slug",
205205
tenant="slug",
206206
tenant_group="slug",
207+
tunnel="name",
207208
time_zone="timezone",
208209
virtual_chassis="name",
209210
virtual_machine="name",

plugins/modules/netbox_tunnel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
type: raw
4242
tunnel_group:
4343
description:
44-
- The VLAN group the VLAN will be associated to
44+
- The Tunnel group the VLAN will be associated with. Must exist in NetBox
4545
required: false
4646
type: raw
4747
encapsulation:

0 commit comments

Comments
 (0)