summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
authorYuji Oshima <yuji.oshima0x3fd@gmail.com>2015-03-21 08:09:18 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-03-21 08:09:18 +0900
commitfdd3d74717bd082b23c072140139c878bab84915 (patch)
tree9c6bde45c5d5c7128896094b3cd500d26475a4fb /api
parent28feabe1ef3961e05e0e109551021f0bc8902abe (diff)
api: add EVPN route family support
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'api')
-rw-r--r--api/rest.go2
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)
}