diff options
author | Yuji Oshima <yuji.oshima0x3fd@gmail.com> | 2015-03-21 08:09:18 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-03-21 08:09:18 +0900 |
commit | fdd3d74717bd082b23c072140139c878bab84915 (patch) | |
tree | 9c6bde45c5d5c7128896094b3cd500d26475a4fb | |
parent | 28feabe1ef3961e05e0e109551021f0bc8902abe (diff) |
api: add EVPN route family support
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | api/rest.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/rest.go b/api/rest.go index 656b5583..3d62c5a5 100644 --- a/api/rest.go +++ b/api/rest.go @@ -151,6 +151,8 @@ func (rs *RestServer) neighbor(w http.ResponseWriter, r *http.Request, reqType i rf = bgp.RF_IPv4_UC case "ipv6": rf = bgp.RF_IPv6_UC + case "evpn": + rf = bgp.RF_EVPN default: NotFoundHandler(w, r) } |