dellemc.openmanage.ome_network_vlan_info – Retrieves the information about networks VLAN(s) present in OpenManage Enterprise¶
Note
This plugin is part of the dellemc.openmanage collection (version 3.2.0).
To install it use: ansible-galaxy collection install dellemc.openmanage
.
To use it in a playbook, specify: dellemc.openmanage.ome_network_vlan_info
.
New in version 2.1.0: of dellemc.openmanage
Synopsis¶
This module allows to retrieve the following. - A list of all the network VLANs with their detailed information. - Information about a specific network VLAN using VLAN id or VLAN name.
Requirements¶
The below requirements are needed on the host that executes this module.
python >= 2.7.5
Parameters¶
Notes¶
Note
Run this module from a system that has direct access to DellEMC OpenManage Enterprise.
This module supports
check_mode
.
Examples¶
---
- name: Retrieve information about all network VLANs(s) available in the device
dellemc.openmanage.ome_network_vlan_info:
hostname: "192.168.0.1"
username: "username"
password: "password"
- name: Retrieve information about a network VLAN using the VLAN ID
dellemc.openmanage.ome_network_vlan_info:
hostname: "192.168.0.1"
username: "username"
password: "password"
id: 12345
- name: Retrieve information about a network VLAN using the VLAN name
dellemc.openmanage.ome_network_vlan_info:
hostname: "192.168.0.1"
username: "username"
password: "password"
name: "Network VLAN - 1"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Deepak Joshi(@deepakjoshishri)