ansible-collections / cisco.nxos

Ansible Network Collection for Cisco NXOS
GNU General Public License v3.0
115 stars 108 forks source link

cisco.nxos.nxos_route_maps doesn't support extcommunity rt option #743

Closed nimaazizibabani closed 1 year ago

nimaazizibabani commented 1 year ago
SUMMARY

cisco.nxos.nxos_route_maps doesn't support extcommunity rt option, it doesn't even capture the command as well.

ISSUE TYPE
COMPONENT NAME

cisco.nxos.nxos_route_maps

ADDITIONAL INFORMATION

This is the config in nxos device

route-map test permit 10
  set extcommunity rt 65000:516587 additive

this is the result in yaml file

         -   action: permit
            sequence: 10
        route_map: test
NilashishC commented 1 year ago

Thank you for opening this ticket!

The following task will be supported once the linked PR is merged.

    - cisco.nxos.nxos_route_maps:
        config:
          - route_map: test
             entries:
              - action: permit
                sequence: 10
                set:
                  extcommunity:
                    rt:
                      additive: True
                      extcommunity_numbers:
                        - 65000:516586
                        - 65000:516587