Comware

 View Only
last person joined: 2 days ago 

Expand all | Collapse all

Ansible - Comware 7 Switches IRF Port Setup

This thread has been viewed 1 times
  • 1.  Ansible - Comware 7 Switches IRF Port Setup

    Posted May 11, 2021 05:59 AM

    Hi everybody!

    I hope this is the right place to ask and that someone can help me here.

    We are setting up hundreds of new Comware 7 FlexFabric 5940 switches. To speed things up and to automate it we are using the ansible modules (https://github.com/HPENetworking/ansible-hpe-cw7) and the python library (https://github.com/HPENetworking/pyhpecw7) . But there seems to be a problem with the modules/library which I thought I may ask here.

    This is the situation:

    One of the main tasks is to create an IRF Cluster of 3 members. We can successfully reassign the member id, setup the domain id and the priority of every member using the ansible module comware_irf_member - no problem.

    Our Plan is to use 2 of the HundredGigEthernet ports on each switch for the IRF ports. But here's the problem: When we try to setup the IRF ports using the ansible module comware_irf_ports, it throws us a netconf error:

    "NCError: NETCONF Protocol error (Interface HundredGigE1/0/54 can't be bound to an IRF port"

    If we use the same module on one of the Ten-GigabitEthernet ports, it works like a charm. We can also assign the HundredGigEthernet ports directly on the switch cli without any problem.

    Anybody got any ideas?
    I would have opened an issue in the git repository, but there is activity there so I hope to get an answer here.


    Thanks guys!
    Martin

     


    #Ansible
    #automatio
    #n
    #comware
    #irf


  • 2.  RE: Ansible - Comware 7 Switches IRF Port Setup

    EMPLOYEE
    Posted Jul 05, 2021 03:11 AM

    Hello,

     

    Can you share IRF config and interface 1/0/54 config?

     

    Thanks!