2017-04-23 64 views
0

版本:OpenDaylight硼SR3在Ubuntu 16.04 LTSOpenDaylight BGP

我开始OpenDaylight BGP玩,但我不能ODL和路由器之间打开TCP会话。

ODL IP:10.1.1.10 路由器IP:10.1.1.1

我已经编辑了41-BGP-的example.xml如下:

<module> 
<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-peer-acceptor</type> 
    <name>bgp-peer-server</name> 
    <!--Default parameters--> 
    <binding-address>10.1.1.10</binding-address> 
    <!--Default binding-port 179--> 
    <binding-port>179</binding-port> 
</module> 

<module> 
<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:bgp-peer</type> 
<name>example-bgp-peer</name> 
<host>10.1.1.1</host> 
<holdtimer>180</holdtimer> 
<retrytimer>10</retrytimer> 
<peer-role>ibgp</peer-role> 
</module> 

<module> 
<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:controller:bgp:rib:impl">prefix:rib-impl</type> 
<name>example-bgp-rib</name> 
<rib-id>example-bgp-rib</rib-id> 
<local-as>100</local-as> 
<bgp-rib-id>10.1.1.10</bgp-rib-id> 
</module> 

重启动ODL多次。当我运行tcpdump时,我发现当路由器尝试启动TCP会话时,ODL正在向路由器发送TCP RST。 ODL和路由器之间有连接 - 可以工作。我也禁用了IPTables。以root身份运行ODL。我为BGP启用了调试。

日志显示显示BGP没有输出。

[email protected]>log:display | grep BGP 
[email protected]> 

是否需要更改?

回答

0

事实上,事实证明,功能没有正确安装。

重新安装的功能,它现在的作品。