Skip to content

Commit

Permalink
examples: clarify how to drop a configured route
Browse files Browse the repository at this point in the history
Signed-off-by: Fernando Fernandez Mancera <[email protected]>
  • Loading branch information
ffmancera committed May 29, 2024
1 parent 89c7e6d commit db919fe
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,20 @@ routes:
table-id: 254
```

For dropping a configured route, it must be marked as absent.

```yaml
---
routes:
config:
- destination: 198.51.100.0/24
metric: 150
next-hop-address: 192.0.2.1
next-hop-interface: eth1
table-id: 254
state: absent
```

## Route Rule

```yaml
Expand Down

0 comments on commit db919fe

Please sign in to comment.