Skip to content
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

Update deleted parameter in iosxr collection to behave like ios #375

Closed
digitalfiend64 opened this issue Apr 17, 2023 · 0 comments · Fixed by #399
Closed

Update deleted parameter in iosxr collection to behave like ios #375

digitalfiend64 opened this issue Apr 17, 2023 · 0 comments · Fixed by #399
Assignees
Labels
bug This issue/PR relates to a bug. static_routes static_routes resource module

Comments

@digitalfiend64
Copy link

SUMMARY

Update deleted parameter in iosxr collection to behave like ios.

ISSUE TYPE

RFE

COMPONENT NAME

cisco.iosxr.iosxr_static_routes

ADDITIONAL INFORMATION

The feature would provide users greater control on which static routes to delete instead of all routes under a specific afi, or vrf.

IOSXR
config:

  • address_families:

    • afi: ipv4
      routes:

      • dest: x.x.x.x/x
        next_hops:
        • admin_distance: 100
          description: TEST
          dest_vrf: TEST-STATIC-ROUTE-VRF
          forward_router_address: x.x.x.x
          interface: interface_name
          safi: unicast
    • afi: ipv6
      routes:

      • dest: x:x::/x
        next_hops:
        • admin_distance: 110
          dest_vrf: TEST-STATIC-ROUTE-VRF
          forward_router_address: x:x::x
          interface: interface_name
          tag: 4
          safi: unicast
  • vrf: TEST-STATIC-ROUTE-VRF
    address_families:

    • afi: ipv4
      routes:
      • dest: x.x.x.x/x
        next_hops:
        • admin_distance: 120
          forward_router_address: x.x.x.x
          interface: interface_name
          tag: 4
          safi: unicast
          state: deleted
@Qalthos Qalthos added bug This issue/PR relates to a bug. static_routes static_routes resource module labels Apr 19, 2023
@ashwini-mhatre ashwini-mhatre self-assigned this Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug. static_routes static_routes resource module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants