summaryrefslogtreecommitdiffhomepage
path: root/docs/sources/policy.md
diff options
context:
space:
mode:
authorMarcin Ptaszyński <marcin.ptaszynski@ntti3.com>2018-06-05 14:44:53 -0700
committerMarcin Ptaszyński <marcin.ptaszynski@ntti3.com>2018-06-13 20:53:17 -0700
commit5fbd0cb24324f1569377ce5c627bb2db97b76ce7 (patch)
tree4c646607888f8a46b9f9d2ecedfc3f6759950eda /docs/sources/policy.md
parent964bb04e22fdbf430d9810f5b362d7844b81e251 (diff)
table: support AfiSafiIn Policy Condition match
Diffstat (limited to 'docs/sources/policy.md')
-rw-r--r--docs/sources/policy.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/sources/policy.md b/docs/sources/policy.md
index 053a8701..95977614 100644
--- a/docs/sources/policy.md
+++ b/docs/sources/policy.md
@@ -92,6 +92,7 @@ Conditions are categorized into attributes below:
- rpki validation result
- route type (internal/external/local)
- large community
+- afi-safi in
As showed in the figure above, some of the conditions point to defined sets,
which are a container for each condition item (e.g. prefixes).
@@ -516,6 +517,8 @@ evaluate routes from neighbors, if matched, action will be applied.
[policy-definitions.statements.conditions.bgp-conditions.as-path-length]
operator = "eq"
value = 2
+ [policy-definitions.statements.conditions.bgp-conditions]
+ afi-safi-in = ["l3vpn-ipv4-unicast", "ipv4-unicast"]
[policy-definitions.statements.actions]
route-disposition = "accept-route"
[policy-definitions.statements.actions.bgp-actions]