Commit d62ef08
fix: Add RD parameter support to CLI flow route command (issue #1015)
The CLI `announce flow route` command was missing support for the `rd`
(route-distinguisher) parameter, while the config file parser already
supported it.
Changes:
- Add ParseFlowRoute.known to ParseFlow.known dict for rd/route-distinguisher parsers
- Add rd schema entries to _route_schema_children for action lookup
- Fix route() to handle ActionOperation.SET for direct field assignment
This enables flow-vpn routes with RD via CLI:
announce flow route source-ipv4 10.0.0.1/32 rd 65535:65536 discard
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 2d4d8e1 commit d62ef08
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
| 65 | + | |
| 66 | + | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| 71 | + | |
| 72 | + | |
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
| |||
118 | 123 | | |
119 | 124 | | |
120 | 125 | | |
121 | | - | |
122 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
123 | 133 | | |
124 | 134 | | |
125 | 135 | | |
| |||
0 commit comments