Debian Codegraph @

ansible_collections/dellemc/openmanage/docs/modules/ome_network_port_breakout.rst

raw
1 .. _ome_network_port_breakout_module:
2
3
4 ome_network_port_breakout -- This module allows to automate the port portioning or port breakout to logical sub ports
5 =====================================================================================================================
6
7 .. contents::
8 :local:
9 :depth: 1
10
11
12 Synopsis
13 --------
14
15 This module allows to automate breaking out of IOMs in fabric mode into logical sub ports.
16
17 The port breakout operation is only supported in OpenManage Enterprise Modular.
18
19
20
21 Requirements
22 ------------
23 The below requirements are needed on the host that executes this module.
24
25 - python \>= 3.9.6
26
27
28
29 Parameters
30 ----------
31
32 target_port (True, str, None)
33 The ID of the port in the switch to breakout. Enter the port ID in the format: service tag:port. For example, 2HB7NX2:ethernet1/1/13.
34
35
36 breakout_type (True, str, None)
37 The preferred breakout type. For example, 4X10GE.
38
39 To revoke the default breakout configuration, enter 'HardwareDefault'.
40
41
42 hostname (True, str, None)
43 OpenManage Enterprise Modular IP address or hostname.
44
45
46 username (False, str, None)
47 OpenManage Enterprise Modular username.
48
49 If the username is not provided, then the environment variable \ :envvar:`OME\_USERNAME`\ is used.
50
51 Example: export OME\_USERNAME=username
52
53
54 password (False, str, None)
55 OpenManage Enterprise Modular password.
56
57 If the password is not provided, then the environment variable \ :envvar:`OME\_PASSWORD`\ is used.
58
59 Example: export OME\_PASSWORD=password
60
61
62 x_auth_token (False, str, None)
63 Authentication token.
64
65 If the x\_auth\_token is not provided, then the environment variable \ :envvar:`OME\_X\_AUTH\_TOKEN`\ is used.
66
67 Example: export OME\_X\_AUTH\_TOKEN=x\_auth\_token
68
69
70 port (optional, int, 443)
71 OpenManage Enterprise Modular HTTPS port.
72
73
74 validate_certs (optional, bool, True)
75 If \ :literal:`false`\ , the SSL certificates will not be validated.
76
77 Configure \ :literal:`false`\ only on personally controlled sites where self-signed certificates are used.
78
79 Prior to collection version \ :literal:`5.0.0`\ , the \ :emphasis:`validate\_certs`\ is \ :literal:`false`\ by default.
80
81
82 ca_path (optional, path, None)
83 The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation.
84
85
86 timeout (optional, int, 30)
87 The socket level timeout in seconds.
88
89
90
91
92
93 Notes
94 -----
95
96 .. note::
97 - Run this module from a system that has direct access to Dell OpenManage Enterprise Modular.
98 - This module supports \ :literal:`check\_mode`\ .
99
100
101
102
103 Examples
104 --------
105
106 .. code-block:: yaml+jinja
107
108
109 ---
110 - name: Port breakout configuration
111 dellemc.openmanage.ome_network_port_breakout:
112 hostname: "192.168.0.1"
113 username: "username"
114 password: "password"
115 ca_path: "/path/to/ca_cert.pem"
116 target_port: "2HB7NX2:phy-port1/1/11"
117 breakout_type: "1X40GE"
118
119 - name: Revoke the default breakout configuration
120 dellemc.openmanage.ome_network_port_breakout:
121 hostname: "192.168.0.1"
122 username: "username"
123 password: "password"
124 ca_path: "/path/to/ca_cert.pem"
125 target_port: "2HB7NX2:phy-port1/1/11"
126 breakout_type: "HardwareDefault"
127
128
129
130 Return Values
131 -------------
132
133 msg (always, str, Port breakout configuration job submitted successfully.)
134 Overall status of the port configuration.
135
136
137 breakout_status (success, dict, {'Builtin': False, 'CreatedBy': 'root', 'Editable': True, 'EndTime': None, 'Id': 11111, 'JobDescription': '', 'JobName': 'Breakout Port', 'JobStatus': {'Id': 1112, 'Name': 'New'}, 'JobType': {'Id': 3, 'Internal': False, 'Name': 'DeviceAction_Task'}, 'LastRun': None, 'LastRunStatus': {'Id': 1113, 'Name': 'NotRun'}, 'NextRun': None, 'Params': [{'JobId': 11111, 'Key': 'operationName', 'Value': 'CONFIGURE_PORT_BREAK_OUT'}, {'JobId': 11111, 'Key': 'interfaceId', 'Value': '2HB7NX2:phy-port1/1/11'}, {'JobId': 11111, 'Key': 'breakoutType', 'Value': '1X40GE'}], 'Schedule': 'startnow', 'StartTime': None, 'State': 'Enabled', 'Targets': [{'Data': '', 'Id': 11112, 'JobId': 34206, 'TargetType': {'Id': 1000, 'Name': 'DEVICE'}}], 'UpdatedBy': None, 'UserGenerated': True, 'Visible': True})
138 Details of the OpenManage Enterprise jobs.
139
140
141 error_info (on HTTP error, dict, {'error': {'code': 'Base.1.0.GeneralError', 'message': 'A general error has occurred. See ExtendedInfo for more information.', '@Message.ExtendedInfo': [{'MessageId': 'GEN1234', 'RelatedProperties': [], 'Message': 'Unable to process the request because an error occurred.', 'MessageArgs': [], 'Severity': 'Critical', 'Resolution': 'Retry the operation. If the issue persists, contact your system administrator.'}]}})
142 Details of the HTTP Error.
143
144
145
146
147
148 Status
149 ------
150
151
152
153
154
155 Authors
156 ~~~~~~~
157
158 - Felix Stephen (@felixs88)
159