Page MenuHomeVyOS Platform

cannot delete specific route static next-hop
Closed, ResolvedPublic

Description

this doesnt work

cmd = {"op": "delete", "path": ["protocols","static","route", subnet, "next-hop", nexthop]}

this do work

cmd = {"op": "delete", "path": ["protocols","static","route", subnet]}
vyos@vyos:~$ show version 
Version:          VyOS 1.3-rolling-202005040117
Release Train:    equuleus

Built by:         [email protected]
Built on:         Mon 04 May 2020 01:17 UTC
Build UUID:       ff77b444-8f2a-4170-9917-0874460ea6fd
Build Commit ID:  2cb6f390d7bdaa

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest

Hardware vendor:  Red Hat
Hardware model:   OpenStack Compute
Hardware S/N:     00000000-0000-0000-0000-0cc47af88ada
Hardware UUID:    d9c8f859-4d07-4019-9a10-fe80d8dc0764

Copyright:        VyOS maintainers and contributors

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.3-rolling-202005040117
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

erkin set Issue type to Bug (incorrect behavior).Aug 30 2021, 6:19 AM
erkin removed a subscriber: Active contributors.
jestabro moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.
cmd = {"op": "delete", "path": ["protocols","static","route", subnet, "next-hop", nexthop]}

passed via the http-api properly returns the same error message as would be seen on the CLI. Non-issue.