comware

73Modules75Plugins

Overview

Description

Ansible Network Collection for H3C comware devices.

Readme

H3C OPEN comware Collection

CI Codecov CI

The Ansible H3C OPEN comware collection includes a variety of Ansible content to help automate the management of H3C comware network appliances.

This collection has been tested against H3C Networks comware OS V7.

Ansible version compatibility

This collection has been tested against following Ansible versions: >=2.14.0.

For collections that support Ansible 2.9, please ensure you update your network_os to use the fully qualified collection name (for example, h3c_open.comware.comware). Plugins and modules within a collection may be tested with only specific Ansible versions. A collection may contain metadata that identifies these versions. PEP440 is the schema used to describe the versions of Ansible.

Supported connections

The H3C OPEN comware collection supports network_cli and netconf connections.

Included content

Cliconf plugins

NameDescription
h3c_open.comware.comwareUse comware cliconf to run command on H3C comware OS platform

Netconf plugins

NameDescription
h3c_open.comware.comwareUse comware netconf plugin to run netconf commands on H3C comware platform

Modules

NameDescription
h3c_open.comware.comware_snmp_groupManages SNMP group configuration on H3C switches.
h3c_open.comware.comware_igmpConfigure the igmp issue to be applied to the interface.
h3c_open.comware.comware_snmp_target_hostManages SNMP user configuration on H3c switches.
h3c_open.comware.comware_bgp_groupcreate and config bgp group
h3c_open.comware.comware_pingPing remote destinations from the Comware 7 switch
h3c_open.comware.comware_isis_interfaceManage isis for Comware 7 devices
h3c_open.comware.comware_bgp_globalconfig bgp configs in the bgp instance view such as routerid
h3c_open.comware.comware_startupconfig the next restart file or ipe . patch function not available,please use patch module
h3c_open.comware.comware_intfstateCheck the port status. If there are undo shutdown ports but the field ports are down, list these inconsistent ports. If not, return OK.
h3c_open.comware.comware_rollbackRollback the running configuration
h3c_open.comware.comware_ntpConfigure the ntp issue to be applied to the device.
h3c_open.comware.comware_vsi_intfConfigure some functions of vsi-interface
h3c_open.comware.comware_dldpManage dldp authentication,interface,timeout and mode on Comware 7 devices.
h3c_open.comware.comware_loghostManage info-center log host and related parameters on V7 devices
h3c_open.comware.comware_telemetryflowtraceManage Package information of the message sent to the collector on V7 devices
h3c_open.comware.comware_irf_portsManage IRF port creation and removal for Comware v7 devices
h3c_open.comware.comware_factsGather facts of Comware 7 devices
h3c_open.comware.comware_configBack uo current configuration to the specified file
h3c_open.comware.comware_teleflowgroup_globalManage telemetry flow group agingtime on Comware 7 devices.The default value is Varies by device.
h3c_open.comware.comware_commandExecute CLI commands on Comware 7 devices
h3c_open.comware.comware_file_copyCopy a local file to a remote Comware v7 device
h3c_open.comware.comware_vrrp_globalManage VRRP global configuration mode
h3c_open.comware.comware_netstreamManage ip netstream,rate,timeout, max_entry,vxlan udp-port,and interface enable and ip netstream aggregation destination-prefix enable, netstream statistics output message destination address and destination UDP port number configurationon Comware 7 devices
h3c_open.comware.comware_lacpManage lacp system priority, system mac on Comware 7 devices
h3c_open.comware.comware_patchManage patch
h3c_open.comware.comware_log_sourceManage output rules for log information on V7 devices
h3c_open.comware.comware_clean_eraseFactory default Comware 7 device
h3c_open.comware.comware_irf_membersManage IRF membership configuration
h3c_open.comware.comware_isis_globalManage isis for Comware 7 devices
h3c_open.comware.comware_bgp_afManage address family configs
h3c_open.comware.comware_licenseloading device license
h3c_open.comware.comware_saveSave the running configuration
h3c_open.comware.comware_sflowManage sflow attributes for Comware 7 devices
h3c_open.comware.comware_stpManage stp global BPDU enable, working mode and tc-bpdu attack protection function.
h3c_open.comware.comware_rebootPerform a reboot of a Comware 7 device
h3c_open.comware.comware_snmp_userManages SNMP user configuration on H3c switches.
h3c_open.comware.comware_ospf_intfManage ospf in interface
h3c_open.comware.comware_logget the device diagnostic information and upload to file server
h3c_open.comware.comware_neighborsRetrieve active LLDP neighbors (read-only)
h3c_open.comware.comware_ftpConfigure device FTP function.
h3c_open.comware.comware_tele_streamManage telemetry global enable(disable) and telemetry stream timestamp enable(disable) and device-id on Comware 7 devices.Before config device-id,the timestamp must be enable.
h3c_open.comware.comware_install_configActivate a new current-running config in realtime
h3c_open.comware.comware_bfdManagement configuration bfd function
h3c_open.comware.comware_lldp_globalManage global config state for LLDP.this funtion can be take effect only global and interface LLDP all open. The interface LLDP is open default.
h3c_open.comware.comware_vrrpManage VRRP configurations on a Comware v7 device
h3c_open.comware.comware_ospfManage ospf
h3c_open.comware.comware_netconfManage netconf log and xml function on Comware 7 devices.XML cfg not support enter xml view now,This is not normally done.
h3c_open.comware.comware_lldpManage lacp fast-Interval, tx-interval,hold-multplier on Comware 7 devices
h3c_open.comware.comware_vpn_instanceconfig instance rely ensure some instance configs can be set
h3c_open.comware.comware_install_osCopy (if necessary) and install a new operating system on Comware v7 device
h3c_open.comware.comware_evpnConfigure the EVPN issue to be applied to the device.
h3c_open.comware.comware_mtuManage mtu and jumboframe of the interface
h3c_open.comware.comware_vxlanManage VXLAN to VSI mappings and Tunnel mappings to VXLAN
h3c_open.comware.comware_ipinterfaceManage IPv4/IPv6 addresses on interfaces
h3c_open.comware.comware_aclConfigure the acl issue to be applied to the interface.
h3c_open.comware.comware_iface_stpManage stp config in interface
h3c_open.comware.comware_syslog_globalManage system log timestamps and terminal logging level on Comware 7 devices
h3c_open.comware.comware_switchportManage Layer 2 parameters on switchport interfaces
h3c_open.comware.comware_l2vpn_globalManage global config state for L2VPN
h3c_open.comware.comware_hwtacacsManage hwtacacs scheme
h3c_open.comware.comware_snmp_communityManages SNMP community configuration on H3C switches.
h3c_open.comware.comware_local_userManage local_user
h3c_open.comware.comware_vxlan_tunnelManage VXLAN tunnels on Comware 7 devices
h3c_open.comware.comware_radiuscreate radius scheme
h3c_open.comware.comware_aaaThis module provides AAA related management configuration and applications
h3c_open.comware.comware_compareEnter the configuration command and compare it with the expected result.
h3c_open.comware.comware_vsiConfigure some command functions of vsi view
h3c_open.comware.comware_vlanManage VLAN attributes for Comware 7 devices
h3c_open.comware.comware_sflow_intfManage sflow interface flow collector and sampling_rate on Comware 7 devices.
h3c_open.comware.comware_vxlan_svc_instanceManage mapping of an Ethernet Service to a VSI (VXLAN ID)
h3c_open.comware.comware_portchannelManage port-channel (LAG) on Comware 7 devices
h3c_open.comware.comware_interfaceManage administrative state and physical attributes of the interface
h3c_open.comware.comware_lldp_interfaceManage lldp enable on interfaces.The default state is enable.

Click the Content button to see the list of content included in this collection.

Installing this collection

You can install the H3C Networks comware collection with the Ansible Galaxy CLI:

ansible-galaxy collection install h3c_open.comware

You can also include it in a requirements.yml file and install it with ansible-galaxy collection install -r requirements.yml, using the format:

---
collections:
  - name: h3c_open.comware

Using this collection

You can call modules by their Fully Qualified Collection Namespace (FQCN), such as h3c_open.comware.comware_l2_interfaces. The following example task replaces configuration changes in the existing configuration on a H3C Networks comware network device, using the FQCN:

---
- name: Basic Ethernet config
  h3c_open.comware.comware_interface: 
    name: FortyGigE1/0/5 
    admin: up 
    description: mydesc 
    duplex: auto 
    speed: 40000 

See Also:

Contributing to this collection

We welcome community contributions to this collection. If you find problems, please open an issue or create a PR against the H3C Networks comware collection repository. See Contributing to Ansible-maintained collections for complete details.

You can also join us on:

  • IRC - the #ansible-network irc.libera.chat channel
  • Slack - https://ansiblenetwork.slack.com

See the Ansible Community Guide for details on contributing to Ansible.

Code of Conduct

This collection follows the Ansible project's Code of Conduct. Please read and familiarize yourself with this document.

Release notes

Release notes are available here.

Roadmap

More information

Licensing

GNU General Public License v3.0 or later.

See LICENSE to see the full text.

Certification

Product
Red Hat Ansible Automation Platform 2.4
DocumentationDependencies
No dependencies
There are currently no dependencies for this collection.
View in Automation Hub
Red Hat logoLinkedInYouTubeFacebookTwitter

Platforms

Products & services

Try, buy, sell

Help

About Red Hat Ecosystem Catalog

The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.

We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2025 Red Hat