Opendaylight面粉产生反应性流

时间:2018-11-13 05:05:20

标签: opendaylight openflow

我试图使用从我的站点下载的最新版本的ODL来通过mininet设置ODL。看来他们已经删除了对DELUX的支持,但是我正在使用NextUI。但是我无法安装功能odl-l2switch-switchodl-l2switch-switch-ui。它似乎不再可用。是否有其他方法可以启用ODL中的反应式流量发现功能。我已经尝试寻找解决方案已有一段时间了。

opendaylight-user@root>feature:install odl-l2switch-switch
Error executing command: No matching features for odl-l2switch-switch/0.0.0
opendaylight-user@root>feature:list |grep l2switch

连接到控制器后,我无法获得反应流条目。

mininet@mininet-vm:~$ sudo mn --topo=tree,2,2 --controller=remote,ip=10.5.1.3,port=6633 --switch=ovsk,pr
otocol=OpenFlow13
*** Creating network
*** Adding controller
*** Adding hosts:
h1 h2 h3 h4
*** Adding switches:
s1 s2 s3
*** Adding links:
(s1, s2) (s1, s3) (s2, h1) (s2, h2) (s3, h3) (s3, h4)
*** Configuring hosts
h1 h2 h3 h4
*** Starting controller
c0
*** Starting 3 switches
s1 s2 s3 ...
*** Starting CLI:
mininet> links
s1-eth1<->s2-eth3 (OK OK)
s1-eth2<->s3-eth3 (OK OK)
s2-eth1<->h1-eth0 (OK OK)
s2-eth2<->h2-eth0 (OK OK)
s3-eth1<->h3-eth0 (OK OK)
s3-eth2<->h4-eth0 (OK OK)
mininet> pingall
*** Ping: testing ping reachability
h1 -> X X X
h2 -> X X X
h3 -> X X X
h4 -> X X X
*** Results: 100% dropped (0/12 received)
mininet> dump
<Host h1: h1-eth0:10.0.0.1 pid=29639>
<Host h2: h2-eth0:10.0.0.2 pid=29641>
<Host h3: h3-eth0:10.0.0.3 pid=29643>
<Host h4: h4-eth0:10.0.0.4 pid=29645>
<OVSSwitch{'protocol': 'OpenFlow13'} s1: lo:127.0.0.1,s1-eth1:None,s1-eth2:None pid=29650>
<OVSSwitch{'protocol': 'OpenFlow13'} s2: lo:127.0.0.1,s2-eth1:None,s2-eth2:None,s2-eth3:None pid=29653>
<OVSSwitch{'protocol': 'OpenFlow13'} s3: lo:127.0.0.1,s3-eth1:None,s3-eth2:None,s3-eth3:None pid=29656>
<RemoteController{'ip': '10.5.1.3', 'port': 6633} c0: 10.5.1.3:6633 pid=29633>

ovs开关中的流表似乎为空。

mininet@mininet-vm:~$ sudo ovs-ofctl  dump-ports s1
OFPST_PORT reply (xid=0x2): 3 ports
  port  1: rx pkts=0, bytes=0, drop=0, errs=0, frame=0, over=0, crc=0
           tx pkts=0, bytes=0, drop=0, errs=0, coll=0
  port  2: rx pkts=0, bytes=0, drop=0, errs=0, frame=0, over=0, crc=0
           tx pkts=0, bytes=0, drop=0, errs=0, coll=0
  port LOCAL: rx pkts=0, bytes=0, drop=0, errs=0, frame=0, over=0, crc=0
           tx pkts=0, bytes=0, drop=0, errs=0, coll=0
mininet@mininet-vm:~$ sudo ovs-ofctl  dump-flows s1
NXST_FLOW reply (xid=0x4):

我已经安装了看起来负责的功能,但没有成功。

odl-openflowplugin-flow-services                                │ 0.7.0            │          │ Started     │ odl-openflowplugin-flow-services                                │ OpenDaylight :: Openflow Plugin :: Flow Services
features-openflowplugin                                         │ 0.7.0            │ x        │ Started     │ features-openflowplugin                                         │ features-openflowplugin
odl-openflowplugin-app-lldp-speaker                             │ 0.7.0            │ x        │ Started     │ odl-openflowplugin-app-lldp-speaker                             │ OpenDaylight :: Openflow Plugin :: Application -
odl-openflowplugin-app-topology                                 │ 0.7.0            │          │ Started     │ odl-openflowplugin-app-topology                                 │ OpenDaylight :: Openflow Plugin :: Application -
odl-openflowplugin-app-topology-lldp-discovery   

请指向正确的方向。所有在线问题和答案似乎都针对ODL Controller的早期版本。这是一个非常常用的控制器,应该有一种方法可以实现。

0 个答案:

没有答案