You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ic: Add tag rules to filter the routes learned from a TS.
The "ic-route-filter-tag" option of a Logical_Router_Port connected to a
transit switch blocks the routes carrying a single route tag. There is
no way to express a list of tags, nor the opposite rule - "learn only
the routes tagged with one of these tags" - which is useful when a
router port has to import the routes of a known set of VPCs and drop
everything else.
Add an "ic-route-learn-tag-rules" option that takes a comma-separated
list of route tags prefixed by the rule to apply to them:
- "allow:<tags>": only the routes whose "ic-route-tag" is one of
<tags> are learned. Every other route, the untagged ones included,
is not learned.
- "block:<tags>": the routes whose "ic-route-tag" is one of <tags> are
not learned. Every other route, the untagged ones included, is
learned.
As commas separate the tags, a route tag cannot contain a comma. The
two forms are mutually exclusive, so only the leading prefix is honored
and everything after it is a tag name. Values that use neither prefix,
as well as values with an empty tag list, are logged and ignored.
This new option supersedes "ic-route-filter-tag", which is now
deprecated and scheduled for removal in 28.09. The deprecated option is
still honored on its own, but it is ignored whenever a valid
"ic-route-learn-tag-rules" value is configured on the same port.
Assisted-by: Claude Opus 5, Claude Code
Acked-by: Rosemarie O'Riorden <rosemarie@redhat.com>
Signed-off-by: Lucas Vargas Dias <lucas.vdias@magalu.cloud>
Signed-off-by: Dumitru Ceara <dceara@redhat.com>
0 commit comments