summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2014-01-15 12:01:14 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-01-15 19:54:52 +0900
commitb68b66f0bbb5b57749f5e110b26d6beadb05bb73 (patch)
tree0459080bcee6860b593da9a1e886f4cea4f44d66
parenta3e6dc6706d0449b64a565e1f82a05b95506a3ef (diff)
safi: add a constant for route target constrain
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/lib/packet/safi.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ryu/lib/packet/safi.py b/ryu/lib/packet/safi.py
index 443e74b5..9ac2bcb0 100644
--- a/ryu/lib/packet/safi.py
+++ b/ryu/lib/packet/safi.py
@@ -1,5 +1,5 @@
-# Copyright (C) 2013 Nippon Telegraph and Telephone Corporation.
-# Copyright (C) 2013 YAMAMOTO Takashi <yamamoto at valinux co jp>
+# Copyright (C) 2013,2014 Nippon Telegraph and Telephone Corporation.
+# Copyright (C) 2013,2014 YAMAMOTO Takashi <yamamoto at valinux co jp>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -22,3 +22,4 @@ http://www.iana.org/assignments/safi-namespace/safi-namespace.xhtml
UNICAST = 1
MULTICAST = 2
MPLS_VPN = 128 # RFC 4364
+ROUTE_TARGET_CONSTRTAINS = 132 # RFC 4684