Users Guide
Table Of Contents
- Dell EMC OpenManage Ansible Modules Version 4.0.0 User’s Guide
- Contents
- Overview
- Getting Started
- Modules for iDRAC
- How OpenManage Ansible Modules work with iDRAC
- Running your first iDRAC Playbook
- Updating Firmware
- Configuring PowerEdge Servers
- Deploying operating system
- Server Inventory
- Server administration tasks
- Storage controller
- Modules for OpenManage Enterprise (OME)
- How OpenManage Ansible Modules work with OME
- Running your first OME Playbook
- Manage Devices
- Manage device configuration templates
- Template Service
- Manage the device firmware
- Manage jobs
- Manage users
- Manage identity pool
- Manage application settings
- Manage network configuration
- Manage fabrics
- Manage Profiles
- Device discovery
- Manage Chassis
- Manage Active Directory service and user groups
- Diagnostics
- Modules for Redfish APIs
- Deprecated modules
Table 31. ome_template_network_vlan (continued)
Parameter Required Default Choices Comments
○ List of I(tagged_network_ids)
is combined with list of
I(tagged_network_names) when
adding tagged VLANs to a port.
○ To get the VLAN network ID use
the API U( https://I(hostname)/api/
NetworkConfigurationService/
Networks)
● tagged_network_names-
○ List of names of tagged VLANs
○ Enter [] to remove the tagged VLAN
from a port.
○ List of I(tagged_network_names)
is combined with list of
I(tagged_network_ids) when adding
tagged VLANs to a port.
Return Values
msg:
type: str
description: Overall status of the template VLAN operation.
returned: always
sample: "Successfully applied the network settings to template"
error_info:
description: Details of the HTTP Error.
returned: on HTTP error
type: dict
sample: {
"error": {
"@Message.ExtendedInfo": [{
"Message": "Unable to process the request because an error occurred:",
"MessageArgs": "",
"MessageId": "CGEN6001",
"RelatedProperties": [],
"Resolution": "Retry the operation. If the issue persists, contact your
system administrator.",
"Severity": "Critical"
}],
"code": "Base.1.0.GeneralError",
"message": "A general error has occurred. See ExtendedInfo for more information."
}}
'''
Examples
- name: Add tagged or untagged VLANs to a template using VLAN ID and name
dellemc.openmanage.ome_template_network_vlan:
hostname: "192.168.0.1"
username: "username"
password: "password"
template_id: 78
nic_identifier: NIC Slot 4
untagged_networks:
- port: 1
untagged_network_id: 127656
- port: 2
untagged_network_name: vlan2
tagged_networks:
- port: 1
tagged_network_ids:
- 12767
- 12768
- port: 4
tagged_network_ids:
Modules for OpenManage Enterprise (OME)
77