Skip to content

Latest commit

 

History

History
165 lines (140 loc) · 6.89 KB

comware_irf_members_module.rst

File metadata and controls

165 lines (140 loc) · 6.89 KB

comware_irf_members

Added in version 1.8

Manage IRF member configuration.

parameter required default choices comments
member_id yes Current IRF member ID of the switch. If the switch has not been configured for IRF yet, this should be 1.
new_member_id no The desired IRF member ID for the switch. The new member ID takes effect after a reboot.
auto_update no
  • enable
  • disable
Whether software autoupdate should be enabled for the fabric.
domain_id no The domain ID for the IRF fabric.
mad_exclude no Interface or list of interfaces that should be excluded from shutting down in a recovery event.
priority no The desired IRF priority for the switch.
descr no false The text description of the IRF member switch.
reboot yes false Whether to reboot the switch after member id changes are made.
state no present
  • present
  • absent
Desired state of the interfaces listed in mad_exclude
hostname yes IP Address or hostname of the Comware v7 device that has NETCONF enabled
username yes Username used to login to the switch
password yes Password used to login to the switch
port no 830 NETCONF port number
look_for_keys no False Whether searching for discoverable private key files in ~/.ssh/


# irf members
- comware_irf_members:
    member_id: 9
    state: present
    auto_update: disable
    mad_exclude:
      - FortyGigE9/0/30
      - FortyGigE9/0/23
      - FortyGigE9/0/24
    priority: 4
    descr: My description
    reboot: no
    username: "{{ username }}"
    password: "{{ password }}"
    hostname: "{{ inventory_hostname }}"

Note

This module should be used before the comware_irf_ports module.The process is as follows 1) Use comware_irf_members to changethe IRF member identity of the device, with the reboot=trueflag, or reboot the device through some other means. 2) Usecomware_irf_members to change priority, description, and domain,if desired. 3) Use the comware_irf_ports module to create IRF portto physical port bindings, and set activate=true to activate theIRF. If IRF neighbors are already configured, the IRF will beformed, some devices may reboot.When state=absent, the interfaces in mad_exclude will be removed if present.Other parameters will be ignored.