简体   繁体   中英

Opendaylight Dlux how to make flow table?

I downloaded mininet, opendaylight, etc.. and I wanted to add flow table to switches.I used dpctl and sh ovs-ofctl command. but it was too hard to add flow tables to each switches.

I want to add flow table on Dlux UI. But I don't know how to fill in that blank. I made a topology by:

sudo mn --controller=remote,ip=127.0.0.1,port=6633 --switch ovsk --topo tree,2,2

I could see the Node Id of switches. it was "openflow:1","openflow:2","openflow:3"

So i input openflow:1.. but it occured an error! i don't know how to fill that blank

在此处输入图片说明

You need to add a flow manually through the Mininet terminal like this :

ovs-ofctl add-flow [SWITCH_NAME] ip,nw_dst=192.168.0.1,actions=drop
  • NOTE : Try typing sh before the command if it does not work.

That was an example flow. See this link for the whole ovs commands reference.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM