File tree Expand file tree Collapse file tree 2 files changed +75
-0
lines changed Expand file tree Collapse file tree 2 files changed +75
-0
lines changed Original file line number Diff line number Diff line change 50
50
- rj-11
51
51
- rj-12
52
52
- rj-45
53
+ - mini-din-8
53
54
- usb-a
54
55
- usb-b
55
56
- usb-c
56
57
- usb-mini-a
57
58
- usb-mini-b
58
59
- usb-micro-a
59
60
- usb-micro-b
61
+ - usb-micro-ab
60
62
- other
61
63
required: false
62
64
type: str
65
+ cable:
66
+ description:
67
+ - cable to connect port to.
68
+ required: false
69
+ type: dict
70
+ custom_fields:
71
+ description:
72
+ - must exist in netbox
73
+ required: false
74
+ type: dict
63
75
description:
64
76
description:
65
77
- Description of the console port
66
78
required: false
67
79
type: str
80
+ label:
81
+ description:
82
+ - label of the console port
83
+ required: false
84
+ type: str
85
+ mark_connected:
86
+ description:
87
+ - Treats as if a cable is connected to the port
88
+ required: false
89
+ type: bool
90
+ module:
91
+ description:
92
+ - module that provides the console port.
93
+ required: false
94
+ type: int
95
+ speed:
96
+ description:
97
+ - the port speed
98
+ required: false
99
+ type: int
68
100
tags:
69
101
description:
70
102
- Any tags that the console port may need to be associated with
@@ -153,18 +185,26 @@ def main():
153
185
"rj-11" ,
154
186
"rj-12" ,
155
187
"rj-45" ,
188
+ "mini-din-8" ,
156
189
"usb-a" ,
157
190
"usb-b" ,
158
191
"usb-c" ,
159
192
"usb-mini-a" ,
160
193
"usb-mini-b" ,
161
194
"usb-micro-a" ,
162
195
"usb-micro-b" ,
196
+ "usb-micro-ab" ,
163
197
"other" ,
164
198
],
165
199
type = "str" ,
166
200
),
201
+ cable = dict (required = False , type = "dict" ),
202
+ custom_fields = dict (required = False , type = "dict" ),
167
203
description = dict (required = False , type = "str" ),
204
+ module = dict (required = False , type = "int" ),
205
+ label = dict (required = False , type = "str" ),
206
+ mark_connected = dict (required = False , type = "bool" ),
207
+ speed = dict (required = False , type = "int" ),
168
208
tags = dict (required = False , type = "list" , elements = "raw" ),
169
209
),
170
210
),
Original file line number Diff line number Diff line change 50
50
- rj-11
51
51
- rj-12
52
52
- rj-45
53
+ - mini-din-8
53
54
- usb-a
54
55
- usb-b
55
56
- usb-c
56
57
- usb-mini-a
57
58
- usb-mini-b
58
59
- usb-micro-a
59
60
- usb-micro-b
61
+ - usb-micro-ab
60
62
- other
61
63
required: false
62
64
type: str
65
+ cable:
66
+ description:
67
+ - cable to attach port to. Must exist.
68
+ type: dict
69
+ required: false
70
+ custom_fields:
71
+ description:
72
+ - must exist in netbox
73
+ type: dict
74
+ required: false
63
75
description:
64
76
description:
65
77
- Description of the console server port
66
78
required: false
67
79
type: str
80
+ label:
81
+ description:
82
+ - label of the conserver server port
83
+ required: false
84
+ type: str
85
+ mark_connected:
86
+ description:
87
+ - Treats as if a cable is connected to the port
88
+ required: false
89
+ type: bool
90
+ speed:
91
+ description:
92
+ - sets the port speed
93
+ required: false
94
+ type: int
68
95
tags:
69
96
description:
70
97
- Any tags that the console server port may need to be associated with
97
124
name: Test Console Server Port
98
125
device: Test Device
99
126
type: usb-a
127
+ speed: 11500
100
128
description: console server port description
101
129
state: present
102
130
@@ -153,18 +181,25 @@ def main():
153
181
"rj-11" ,
154
182
"rj-12" ,
155
183
"rj-45" ,
184
+ "mini-din-8" ,
156
185
"usb-a" ,
157
186
"usb-b" ,
158
187
"usb-c" ,
159
188
"usb-mini-a" ,
160
189
"usb-mini-b" ,
161
190
"usb-micro-a" ,
162
191
"usb-micro-b" ,
192
+ "usb-micro-ab" ,
163
193
"other" ,
164
194
],
165
195
type = "str" ,
166
196
),
197
+ cable = dict (required = False , type = "dict" ),
198
+ custom_fields = dict (required = False , type = "dict" ),
167
199
description = dict (required = False , type = "str" ),
200
+ label = dict (required = False , type = "str" ),
201
+ speed = dict (required = False , type = "int" ),
202
+ mark_connected = dict (required = False , type = "bool" ),
168
203
tags = dict (required = False , type = "list" , elements = "raw" ),
169
204
),
170
205
),
You can’t perform that action at this time.
0 commit comments