|
39 | 39 | - Name of the interface template to be created
|
40 | 40 | required: true
|
41 | 41 | type: str
|
| 42 | + label: |
| 43 | + description: |
| 44 | + - The label of the interface template |
| 45 | + required: false |
| 46 | + type: str |
| 47 | + version_added: '3.21.0' |
42 | 48 | type:
|
43 | 49 | description:
|
44 | 50 | - |
|
|
47 | 53 | This has to be specified exactly as what is found within UI
|
48 | 54 | required: true
|
49 | 55 | type: str
|
| 56 | + enabled: |
| 57 | + description: |
| 58 | + - Whether or not the interface template to be created should be enabled |
| 59 | + required: false |
| 60 | + type: bool |
| 61 | + version_added: '3.21.0' |
50 | 62 | mgmt_only:
|
51 | 63 | description:
|
52 | 64 | - This interface template is used only for out-of-band management
|
53 | 65 | required: false
|
54 | 66 | type: bool
|
| 67 | + description: |
| 68 | + description: |
| 69 | + - Description of the interface template |
| 70 | + required: false |
| 71 | + type: str |
| 72 | + version_added: '3.21.0' |
55 | 73 | poe_mode:
|
56 | 74 | description:
|
57 | 75 | - This interface has PoE ability (NetBox release 3.3 and later)
|
@@ -129,11 +147,14 @@ def main():
|
129 | 147 | options=dict(
|
130 | 148 | device_type=dict(required=True, type="raw"),
|
131 | 149 | name=dict(required=True, type="str"),
|
| 150 | + label=dict(required=False, type="str"), |
132 | 151 | type=dict(
|
133 | 152 | required=True,
|
134 | 153 | type="str",
|
135 | 154 | ),
|
| 155 | + enabled=dict(required=False, type="bool"), |
136 | 156 | mgmt_only=dict(required=False, type="bool"),
|
| 157 | + description=dict(required=False, type="str"), |
137 | 158 | poe_type=dict(required=False, type="raw"),
|
138 | 159 | poe_mode=dict(required=False, type="raw"),
|
139 | 160 | ),
|
|
0 commit comments