diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-08-16 19:27:39 +0000 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-08-17 21:23:08 +0900 |
commit | cd4b0107c3b6855a8bf495cb972d04f8863d95c9 (patch) | |
tree | b08e45d6ae97205d09ba942cdf3a3f546e9dcd45 /docs/sources | |
parent | 60241ab6ad8c8290d8745388eaed5e6b0efd965f (diff) |
policy: support route-type condition
// match with routes locally generated
$ gobgp policy statement s0 add condition route-type local
// match with routes received from eBGP peers
$ gobgp policy statement s0 add condition route-type external
// match with routes received from iBGP peers
$ gobgp policy statement s0 add condition route-type internal
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'docs/sources')
-rw-r--r-- | docs/sources/policy.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/sources/policy.md b/docs/sources/policy.md index ed8ee9ef..f746f6a7 100644 --- a/docs/sources/policy.md +++ b/docs/sources/policy.md @@ -98,6 +98,7 @@ Conditions are categorized into attributes below: - community - extended community - rpki validation result +- route type (internal/external/local) 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). |