Skip to content

Commit fd2e297

Browse files
authored
Added 'label' field to interface (#479)
1 parent 3f1e4a5 commit fd2e297

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

plugins/modules/netbox_device_interface.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@
5353
- Name of the interface to be created
5454
required: true
5555
type: str
56+
label:
57+
description:
58+
- Physical label of the interface
59+
required: false
60+
type: str
5661
form_factor:
5762
description:
5863
- |
@@ -271,6 +276,7 @@ def main():
271276
form_factor=dict(
272277
required=False, type="raw", removed_in_version="0.3.0"
273278
),
279+
label=dict(required=False, type="str"),
274280
type=dict(required=False, type="str"),
275281
enabled=dict(required=False, type="bool"),
276282
lag=dict(required=False, type="raw"),

plugins/modules/netbox_interface.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@
5757
- Name of the interface to be created
5858
required: true
5959
type: str
60+
label:
61+
description:
62+
- Physical label of the interface
63+
required: false
64+
type: str
6065
form_factor:
6166
description:
6267
- |

0 commit comments

Comments
 (0)