dellemc.openmanage.ome_server_interface_profiles module – Configure server interface profiles
Note
This module is part of the dellemc.openmanage collection (version 8.7.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install dellemc.openmanage
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: dellemc.openmanage.ome_server_interface_profiles
.
New in dellemc.openmanage 5.1.0
Synopsis
This module allows to configure server interface profiles on OpenManage Enterprise Modular.
Requirements
The below requirements are needed on the host that executes this module.
python >= 3.8.6
Parameters
Parameter |
Comments |
---|---|
The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation. |
|
Device id of the Server under chassis fabric. device_id and device_service_tag is mutually exclusive. |
|
Service tag of the Server under chassis fabric. device_service_tag and device_id is mutually exclusive. |
|
OpenManage Enterprise Modular IP address or hostname. |
|
Provides the option to wait for job completion. Choices:
|
|
The maximum wait time of job_wait in seconds. The job is tracked only for this duration. This option is applicable when job_wait is Default: |
|
NIC configuration for the Servers to be applied. |
|
ID of the NIC or port number.
|
|
List of tagged networks Network cannot be added as a tagged network if it is already assigned to untagged network |
|
List of network name to be marked as tagged networks The names can be retrieved using the dellemc.openmanage.ome_network_vlan_info |
|
Indicates if a list of networks needs to be added or deleted.
Choices:
|
|
Group two or more ports. The ports must be connected to the same pair of Ethernet switches. team is applicable only if nic_teaming is Choices:
|
|
The maximum or minimum VLAN id of the network to be untagged. The untagged_network can be retrieved using the dellemc.openmanage.ome_network_vlan_info If untagged_network needs to be unset this needs to be sent as
|
|
NIC teaming options.
Choices:
|
|
OpenManage Enterprise Modular password. If the password is not provided, then the environment variable Example: export OME_PASSWORD=password |
|
OpenManage Enterprise Modular HTTPS port. Default: |
|
The socket level timeout in seconds. Default: |
|
OpenManage Enterprise Modular username. If the username is not provided, then the environment variable Example: export OME_USERNAME=username |
|
If Configure Prior to collection version Choices:
|
Notes
Note
This module supports
check_mode
.Run this module from a system that has direct access to Dell OpenManage Enterprise Modular.
Examples
---
- name: Modify Server Interface Profile for the server using the service tag
dellemc.openmanage.ome_server_interface_profiles:
hostname: "192.168.0.1"
username: "username"
password: "password"
ca_path: "/path/to/ca_cert.pem"
device_service_tag:
- SVCTAG1
- SVCTAG2
nic_teaming: LACP
nic_configuration:
- nic_identifier: NIC.Mezzanine.1A-1-1
team: false
untagged_network: 2
tagged_networks:
names:
- vlan1
- nic_identifier: NIC.Mezzanine.1A-2-1
team: true
untagged_network: 3
tagged_networks:
names:
- range120-125
- name: Modify Server Interface Profile for the server using the device id
dellemc.openmanage.ome_server_interface_profiles:
hostname: "192.168.0.1"
username: "username"
password: "password"
ca_path: "/path/to/ca_cert.pem"
device_id:
- 34523
- 48999
nic_teaming: NoTeaming
nic_configuration:
- nic_identifier: NIC.Mezzanine.1A-1-1
team: false
untagged_network: 2
tagged_networks:
names:
- vlan2
- nic_identifier: NIC.Mezzanine.1A-2-1
team: true
untagged_network: 3
tagged_networks:
names:
- range120-125
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Details of the HTTP Error. Returned: on HTTP error Sample: |
|
Job ID of the task to apply the server interface profiles. Returned: on applying the Interface profiles Sample: |
|
Status of the overall server interface operation. Returned: always Sample: |