diff options
author | Jerry Cen <zhiweic@google.com> | 2014-09-03 17:40:53 -0700 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-09-04 09:48:29 +0900 |
commit | 0d2d1836e1e87d924c8426e70e6e86d20e1994fd (patch) | |
tree | 5e848e5e8f8f7d0ee84faf1d849e521829f981e9 | |
parent | 41d95ac699160f585cc791280eacab4f255f510f (diff) |
import BGPPathAttributeCommunities in peer manager
This is used along line 252 in peer_manager.py
Signed-off-by: Jerry Cen <zhiweic@google.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/services/protocols/bgp/core_managers/peer_manager.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ryu/services/protocols/bgp/core_managers/peer_manager.py b/ryu/services/protocols/bgp/core_managers/peer_manager.py index 1b9dce51..a6036dee 100644 --- a/ryu/services/protocols/bgp/core_managers/peer_manager.py +++ b/ryu/services/protocols/bgp/core_managers/peer_manager.py @@ -4,6 +4,7 @@ import netaddr from ryu.services.protocols.bgp.base import SUPPORTED_GLOBAL_RF from ryu.services.protocols.bgp.model import OutgoingRoute from ryu.services.protocols.bgp.peer import Peer +from ryu.lib.packet.bgp import BGPPathAttributeCommunities from ryu.lib.packet.bgp import BGP_ATTR_TYPE_MULTI_EXIT_DISC from ryu.lib.packet.bgp import BGP_ATTR_TYPE_COMMUNITIES from ryu.lib.packet.bgp import RF_IPv4_UC |