summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@gmail.com>2019-04-10 22:06:40 +0900
committerFUJITA Tomonori <fujita.tomonori@gmail.com>2019-04-10 22:06:40 +0900
commitfa5878f6f306e1f8abfc58c4e421a55ead51854d (patch)
tree081c85a660aba39a8a585038d67267d440df7000 /docs
parenteb3721798174ecf42ed3a91befd706c2a0f518e7 (diff)
docs: add how policy and soft reset works
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/sources/policy.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/sources/policy.md b/docs/sources/policy.md
index a7ce62d6..7cfa3abb 100644
--- a/docs/sources/policy.md
+++ b/docs/sources/policy.md
@@ -24,6 +24,7 @@ Assumed that you finished [Getting Started](getting-started.md).
- [Attach policy to global rib](#41-attach-policy-to-global-rib)
- [Attach policy to route-server-client](#42-attach-policy-to-route-server-client)
- [Policy Configuration Example](#policy-configuration-example)
+- [Policy and Soft Reset](#policy-and-soft-reset)
## Overview
@@ -945,3 +946,11 @@ $ gobgp neighbor 10.0.255.3 local
*> 10.3.0.0/16 10.0.255.1 [65001] 00:49:38 [{Origin: 0} {Med: 0}]
*> 10.33.0.0/16 10.0.255.1 [65001] 00:49:38 [{Origin: 0} {Med: 0}]
```
+
+## Policy and Soft Reset
+
+When you change an import policy and reset the inbound routing table (aka soft reset in), a withdraw for a route rejected by the latest import policies will be sent to peers. However, when you change an export policy and reset the outbound routing table (aka soft reset out), even if a route is rejected by the latest export policies, a withdraw for the route will not be sent.
+
+The outbound routing table doesn't exist for saving memory usage, it's impossible to know whether the route was actually sent to peer or the route also was rejected by the previous export policies and not sent. GoBGP doesn't send such withdraw rather than possible unwilling leaking information.
+
+Please report if other implementations such as bird work in a different way.