Skip to content

Add breakout interface #399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
May 14, 2025
Merged

Conversation

ccoueffe
Copy link
Collaborator

add code for merge and delete breakout interface

   - name: Configure breakout interface
      tags: cr_breakout
      cisco.dcnm.dcnm_interface:
        fabric: "{{ fab }}"
        state: merged
        config:
          - name: ethernet1/100
            type: breakout
            switch:
              - "{{ switch }}"
            deploy: true
            profile:
              map: 10g-4x
          - name: ethernet1/101
            type: breakout
            switch:
              - "{{ switch }}"
            deploy: true
            profile:
              map: 10g-4x
          - name: ethernet1/102
            type: breakout
            switch:
              - "{{ switch }}"
            deploy: true
            profile:
              map: 10g-4x
          - name: ethernet1/102/1
            type: eth
            switch:
              - "{{ switch }}"
            deploy: true
            profile:
              mode: access
              description: "TEST breakout merged e1/102/1"
          - name: ethernet1/102/4
            type: eth
            switch:
              - "{{ switch }}"
            deploy: true
            profile:
              mode: access
              description: "TEST breakout merged e1/102/4"

    - name: Configure breakout interface
      tags: rm_breakout
      cisco.dcnm.dcnm_interface:
        fabric: "{{ fab }}"
        state: deleted
        config:
          - name: ethernet1/100
            type: breakout
            switch:
              - "{{ switch }}"
          - name: ethernet1/101
            type: breakout
            switch:
              - "{{ switch }}"
          - name: ethernet1/102
            type: breakout
            switch:
              - "{{ switch }}"

@ccoueffe ccoueffe changed the title Update dcnm_interface.py Add breakout interface Apr 17, 2025
@ccoueffe ccoueffe marked this pull request as ready for review April 17, 2025 17:55
@mikewiebe mikewiebe force-pushed the add_breakout_interface branch from 987f3a3 to e42967a Compare April 22, 2025 18:49
@mikewiebe mikewiebe added the ready for review PR is ready to be reviewed label Apr 26, 2025
@mikewiebe mikewiebe self-assigned this Apr 26, 2025
@mtarking
Copy link
Collaborator

mtarking commented May 3, 2025

Would resolve #28

@mtarking mtarking linked an issue May 3, 2025 that may be closed by this pull request
@mikewiebe mikewiebe merged commit 33a993f into CiscoDevNet:develop May 14, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review PR is ready to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support breakout operation pm dcnm_interface module
3 participants