summaryrefslogtreecommitdiffhomepage
path: root/tools/pip-requires
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2016-06-08 11:05:29 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-06-09 13:26:53 +0900
commit9393af3f0602d68bae1df10493ae46ac0c0a02e0 (patch)
treeaaae5ef67fbb4eaa7cb014031960324dcb7248fb /tools/pip-requires
parent7b562c370003549cd6054abc18bc3b37a231a46c (diff)
BGPSpeaker: Support Per-Peer AS
This patch enables to override the AS number of BGPSpeaker instance by the "local_as" argument of BGPSpeaker.neighbor_add(). e.g.) speaker = BGPSpeaker(as_number=65001, # the default AS number router_id='10.0.0.1', ...) speaker.neighbor_add(address='10.0.0.2', remote_as=65101, local_as=65002, # override AS number ...) Additionally, this patch fixes a typo and sorts the comments of BGPSpeaker.neighbor_add() method. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tools/pip-requires')
0 files changed, 0 insertions, 0 deletions