Skip to content

Commit

Permalink
Merge pull request #43 from jvanderaa/add_intf_label
Browse files Browse the repository at this point in the history
Adds Label to Interface
  • Loading branch information
jvanderaa authored May 14, 2021
2 parents 359841b + 50b973e commit 5557e66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace: networktocode
name: nautobot

# The version of the collection. Must be compatible with semantic versioning
version: 2.0.0
version: 2.0.1

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md
Expand Down
6 changes: 6 additions & 0 deletions plugins/modules/device_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@
- Name of the interface to be created
required: true
type: str
label:
description:
- Physical label of the interface
required: false
type: str
type:
description:
- |
Expand Down Expand Up @@ -258,6 +263,7 @@ def main():
options=dict(
device=dict(required=False, type="raw"),
name=dict(required=True, type="str"),
label=dict(required=False, type="str"),
type=dict(required=False, type="str"),
enabled=dict(required=False, type="bool"),
lag=dict(required=False, type="raw"),
Expand Down

0 comments on commit 5557e66

Please sign in to comment.