1
0
mirror of https://github.com/osrg/gobgp.git synced 2024-05-11 05:55:10 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
ISHIDA Wataru
7ff862f3ee api/cli: support showing longer-prefix
$ gobgp global rib
    Network      Next Hop  AS_PATH  Age       Attrs
*>  10.0.0.0/24  0.0.0.0            00:00:01  [{Origin: ?}]

$ gobgp global rib 10.0.0.0/20
Network not in table

$ gobgp global rib 10.0.0.0/20 longer-prefix
    Network      Next Hop  AS_PATH  Age       Attrs
*>  10.0.0.0/24  0.0.0.0            00:00:01  [{Origin: ?}]

Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-12-04 11:01:07 +09:00
Han Zhou
16f7367a9a doc: correct the example of rib add command
Network prefix is required rather than just IP.
2015-11-10 11:48:49 -08:00
ISHIDA Wataru
2eecaf8462 docs: update document for policy-related commands
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-10-20 10:33:10 +09:00
Toshiki Tsuboi
7b350a733c cli: fix vrf add command
Correct mistakes of Export RT
2015-10-11 06:36:07 +09:00
ISHIDA Wataru
69aceacaec docs: update cli syntax doc
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-08-13 16:08:16 +09:00
Naoto Hanaue
54092b2703 config: rename distributed-policy to in-policy 2015-08-11 07:13:49 +09:00
ISHIDA Wataru
c076fbfe69 docs: update gobgp client syntax document
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-08-10 10:18:06 +09:00
Naoto Hanaue
74fd2e51ee cli: change the parser of cli in accordance with the change of aspath condition 2015-08-06 21:59:43 +09:00
Naoto Hanaue
d895c87c74 doc: update documents in accordance with the latest openconfig yang 2015-08-03 16:40:05 +09:00
Naoto Hanaue
c4064ae433 doc: add description of extended community commands 2015-07-15 19:37:21 +09:00
Hiroshi Yokoi
16aec4acef doc: add the description of aspath prepend action 2015-07-13 15:41:27 +09:00
Naoto Hanaue
cd89516a28 doc: add examples to cli-command-syntax.md 2015-07-03 18:37:34 +09:00
Hiroshi Yokoi
64f5846bc6 doc: add the description for distribute policy 2015-07-02 12:02:38 +09:00
Naoto Hanaue
e47ae11969 doc: update cli command syntax 2015-07-01 21:27:31 +09:00
ISHIDA Wataru
69b36e90ba cli: add support of route filtering in show commands
$ gobgp global rib
   Network     Next Hop AS_PATH Age        Attrs
*> 10.0.0.0/24 0.0.0.0  65000   00:10:17   [{Origin: IGP}]
*> 10.0.0.0/25 0.0.0.0  65000   00:10:16   [{Origin: IGP}]
*> 10.0.0.0/26 0.0.0.0  65000   00:10:15   [{Origin: IGP}]
*> 10.0.1.0/24 0.0.0.0  65000   00:10:21   [{Origin: IGP}]
*> 10.0.2.0/24 0.0.0.0  65000   00:10:20   [{Origin: IGP}]

$ gobgp global rib 10.0.0.0/24
   Network     Next Hop AS_PATH Age        Attrs
*> 10.0.0.0/24 0.0.0.0  65000   00:10:54   [{Origin: IGP}]

$ gobgp global rib 10.0.0.10
   Network     Next Hop AS_PATH Age        Attrs
*> 10.0.0.0/26 0.0.0.0  65000   00:11:16   [{Origin: IGP}]

Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2015-06-26 13:10:15 +09:00
Naoto Hanaue
b38154da1a docs: update cli-command-syntax.md 2015-06-17 20:53:39 +09:00
Naoto Hanaue
349f74e4e7 docs: add update docs about the new CLI syntax 2015-05-26 17:32:05 +09:00
Naoto Hanaue
ce20ba94e6 docs: add cli command syntax document 2015-04-22 18:12:51 +09:00