dellemc.openmanage.ome_smart_fabric_uplink – Create, modify or delete a uplink for a fabric on OpenManage Enterprise Modular¶
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_smart_fabric_uplink
.
New in version 2.1.0: of dellemc.openmanage
Requirements¶
The below requirements are needed on the host that executes this module.
python >= 2.7.17
Parameters¶
Notes¶
Note
Run this module from a system that has direct access to DellEMC OpenManage Enterprise Modular.
This module supports
check_mode
.
Examples¶
---
- name: Create an Uplink
dellemc.openmanage.ome_smart_fabric_uplink:
hostname: "192.168.0.1"
username: "username"
password: "password"
state: "present"
fabric_name: "fabric1"
name: "uplink1"
description: "CREATED from OMAM"
uplink_type: "Ethernet"
ufd_enable: "Enabled"
primary_switch_service_tag: "ABC1234"
primary_switch_ports:
- ethernet1/1/13
- ethernet1/1/14
secondary_switch_service_tag: "XYZ1234"
secondary_switch_ports:
- ethernet1/1/13
- ethernet1/1/14
tagged_networks:
- vlan1
- vlan3
untagged_network: vlan2
tags: create_uplink
- name: Modify an existing uplink
dellemc.openmanage.ome_smart_fabric_uplink:
hostname: "192.168.0.1"
username: "username"
password: "password"
state: "present"
fabric_name: "fabric1"
name: "uplink1"
new_name: "uplink2"
description: "Modified from OMAM"
uplink_type: "Ethernet"
ufd_enable: "Disabled"
primary_switch_service_tag: "DEF1234"
primary_switch_ports:
- ethernet1/2/13
- ethernet1/2/14
secondary_switch_service_tag: "TUV1234"
secondary_switch_ports:
- ethernet1/2/13
- ethernet1/2/14
tagged_networks:
- vlan11
- vlan33
untagged_network: vlan22
tags: modify_uplink
- name: Delete an Uplink
dellemc.openmanage.ome_smart_fabric_uplink:
hostname: "192.168.0.1"
username: "username"
password: "password"
state: "absent"
fabric_name: "fabric1"
name: "uplink1"
tags: delete_uplink
- name: Modify an Uplink name
dellemc.openmanage.ome_smart_fabric_uplink:
hostname: "192.168.0.1"
username: "username"
password: "password"
state: "present"
fabric_name: "fabric1"
name: "uplink1"
new_name: "uplink2"
tags: modify_uplink_name
- name: Modify Uplink ports
dellemc.openmanage.ome_smart_fabric_uplink:
hostname: "192.168.0.1"
username: "username"
password: "password"
state: "present"
fabric_name: "fabric1"
name: "uplink1"
description: "uplink ports modified"
primary_switch_service_tag: "ABC1234"
primary_switch_ports:
- ethernet1/1/6
- ethernet1/1/7
secondary_switch_service_tag: "XYZ1234"
secondary_switch_ports:
- ethernet1/1/9
- ethernet1/1/10
tags: modify_ports
- name: Modify Uplink networks
dellemc.openmanage.ome_smart_fabric_uplink:
hostname: "192.168.0.1"
username: "username"
password: "password"
state: "present"
fabric_name: "fabric1"
name: "create1"
description: "uplink networks modified"
tagged_networks:
- vlan4
tags: modify_networks
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Jagadeesh N V(@jagadeeshnv)