Commit Graph
35 Commits
Author SHA1 Message Date
Wataru Ishida 771d1f90af docs: update cli doc
Signed-off-by: Wataru Ishida <[email protected]>
2016-11-04 13:20:09 +09:00
FUJITA Tomonori c7653aa9d4 allow add local route with specific mpls label
Also don't allocate label for local routes. The label management needs
to work with other components rather than bgp.

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-11-03 02:49:59 -07:00
Wataru Ishida 1f4a3192af cli/api: support getting table summary information
$ gobgp global rib summary -a ipv4
$ gobgp neighbor 10.0.0.1 local summary
$ gobgp neighbor 10.0.0.1 adj-in summary
$ gobgp neighbor 10.0.0.1 adj-out summary

Signed-off-by: Wataru Ishida <[email protected]>
2016-10-16 14:07:06 +00:00
Wataru Ishida d46da74d4f policy: support large-community match/action
close #1133

Signed-off-by: Wataru Ishida <[email protected]>
2016-10-10 05:18:17 +00:00
FUJITA Tomonori cab09990b8 docs: add cli example to add route with blackhole community
[ci skip]

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-10-08 05:50:53 -07:00
Wataru Ishida a3ccd8e86b bgp/cli: Support Large Community
see https://tools.ietf.org/html/draft-heitz-idr-large-community-04

Signed-off-by: Wataru Ishida <[email protected]>
2016-09-14 11:35:50 +09:00
Ben Agricola ed62f3f3d9 Add shorter prefix search
Adds a shorter-prefixes search mode that finds any identical-or-less-specific routes
than the input values.

Bug-Url: #1006

Signed-off-by: Ben Agricola [email protected]
2016-07-11 21:41:01 +09:00
FUJITA Tomonori 8d7129d399 docs: fix typos in cli examples
[ci skip]

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-05-29 09:33:32 +09:00
ISHIDA Wataru 0dbf1d87cb policy: add local-pref action
$ gobgp policy statement st01 add action local-pref 110

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-05-25 02:53:42 +00:00
FUJITA Tomonori 45050d9b97 remove collector mode support
We need to update yang config collector mode (split into config and
state). before that, let's remove the feature itself to see if there
is any user of it.

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-04-25 23:52:21 +09:00
ISHIDA Wataru 051621bf3a *: support draft-ietf-idr-flowspec-l2vpn-03
$ gobgp g ri add -a l2vpn-flowspec match destination-mac 01:01:01:01:01:01 ether-type ipv4 vid 10 cos 20
$ gobgp g ri add -a l2vpn-flowspec match source-mac 01:01:01:01:01:01 ether-type arp inner-vid 20 inner-cos 20

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-03-31 11:38:17 +09:00
ISHIDA Wataru 2a0168f867 *: support Opaque Signaling
see https://tools.ietf.org/html/draft-lapukhov-bgp-opaque-signaling-01

using 16397 for AFI, 241 for SAFI, 41 for Opaque Path Attribute
temporarily.

$ gobgp global rib add -a opaque key hello value world

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-03-20 01:00:51 +09:00
ISHIDA Wataru a5cc2b1397 cli: enhance global command
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-03-17 10:47:11 +09:00
ISHIDA Wataru 79a8275508 docs: update
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-03-11 03:28:59 +09:00
ISHIDA Wataru 1f6e2d490b docs: update 2016-02-29 16:45:09 -08:00
ISHIDA Wataru a892882fe3 docs: update
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-02-13 08:39:17 +09:00
ISHIDA Wataru 3e880da4ba doc: update cli syntax
Signed-off-by: ISHIDA Wataru <[email protected]>
2015-12-06 12:46:07 +09:00
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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