Hello,

1. I set the controller and check it:
root@ashok-vb:/home/achippa/firewall# ovs-vsctl get-controller br-int
127.0.0.1:8888<https://urldefense.proofpoint.com/v2/url?u=http-3A__127.0.0.1-3A8888&d=AwMFaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=AseqGobniu17eZwiefRxV_Xyfy_6IbJC3cK8jL-bARY&m=ATViXTnW2UrPM3LJ4S7etR-a7L7p677l-U5Tm5g7z5M&s=8HbXgkG7qkLu8r8ikv3bp2fNB8h0oSTlzMCF9i9v9g4&e=>

2. I add a flow with actions set to controller:
root@ashok-vb:/home/achippa/firewall# ovs-ofctl add-flow br-int 
table=0,priority=0,actions=controller

3. I dump the flows:
root@ashok-vb:/home/achippa/firewall# ovs-ofctl dump-flows br-int
NXST_FLOW reply (xid=0x4):
 cookie=0x0, duration=8.967s, table=0, n_packets=0, n_bytes=0, idle_age=8, 
priority=0 actions=CONTROLLER:65535

Even though controller was set to 
127.0.0.1:8888<https://urldefense.proofpoint.com/v2/url?u=http-3A__127.0.0.1-3A8888&d=AwMFaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=AseqGobniu17eZwiefRxV_Xyfy_6IbJC3cK8jL-bARY&m=ATViXTnW2UrPM3LJ4S7etR-a7L7p677l-U5Tm5g7z5M&s=8HbXgkG7qkLu8r8ikv3bp2fNB8h0oSTlzMCF9i9v9g4&e=>
 why does it still default to 65535?

What am I missing? Appreciate your help.

[Ansis]: ?65535 is *not TCP port number* but instead *how many bytes of the 
packet you want to be sent to the controller*. Answer to your question can be 
found in "man ovs-ofctl".

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to