diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-09-07 16:15:35 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-09-16 03:37:51 +0900 |
commit | 2cfc7d972006e77a6c47fe1f2becbadd3c67bedd (patch) | |
tree | 7a0fc83afe253f4edebe4bd413baa462d9084752 /config | |
parent | 4345250b33421e53bf2c71bc4886b72cdb52e764 (diff) |
packet: support draft-ietf-idr-flow-spec-v6-06
you can add ipv6 flowspec routes like below
$ gobgp global rib add match destination 2001::/64 10 label '=200' then discard -a ipv6-flowspec
$ gobgp global rib -a ipv6-flowspec
Network Next Hop AS_PATH Age Attrs
*> [destination:2001::/64/10][label: =200] fictitious 00:00:23 [{Origin: i} {Extcomms: [discard]}]
scenario_test is also added
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'config')
-rw-r--r-- | config/default.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/default.go b/config/default.go index 94f5dc9d..d3160989 100644 --- a/config/default.go +++ b/config/default.go @@ -39,7 +39,9 @@ func SetDefaultConfigValues(md toml.MetaData, bt *Bgp) error { AfiSafi{AfiSafiName: "encap"}, AfiSafi{AfiSafiName: "rtc"}, AfiSafi{AfiSafiName: "ipv4-flowspec"}, - AfiSafi{AfiSafiName: "l3vpn-ipnv4-flowspec"}, + AfiSafi{AfiSafiName: "l3vpn-ipv4-flowspec"}, + AfiSafi{AfiSafiName: "ipv6-flowspec"}, + AfiSafi{AfiSafiName: "l3vpn-ipv6-flowspec"}, } } |