Skip to content

Commit

Permalink
add description if action is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
dplore committed Dec 28, 2024
1 parent 96a3514 commit 441428e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion release/models/policy/openconfig-routing-policy.yang
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ module openconfig-routing-policy {
condition statement in a policy statement is satisfied, the
corresponding action statement is executed. A policy statement with no
conditions defined is evaluated as statisfied, meaning all routes are
matched. If the action statement has a final disposition configured as
matched. A routing-policy statement with no condition AND no action, or
a policy-definition without any statements should be treated as errors
(grpc error: INVALID_ARGUMENT, netconfig error missing-element).
If the action statement has a final disposition configured as
policy result, either accept-route or reject-route, evaluation of the
current policy definition stops, and no further policy statements are
evaluated. In case there is a policy chain, no further policy definitions
Expand Down

0 comments on commit 441428e

Please sign in to comment.