Switching Open vSwitch version

Pica8 also support ovs 2.6 from version 2.11.0, and following command is used for switching between ovs 2.3 and ovs 2.6. System enter ovs 2.3 default.

Switch ovs from 2.3 to 2.6:

admin@PICOS-OVS$switch-to-ovs-2.6

And switch ovs from 2.6 to 2.3:

admin@PICOS-OVS$switch-to-ovs-2.3

 

If you swith ovs from 2.3 to 2.6,you had better to exit firstly and then enter system again. And some commands and functions are diferent from ovs 2.3.

Following table is the difference between ovs 2.3 and ovs 2.6.

Points

Ovs 2.3

Ovs 2.6

Pid in hardware table

userspace(pid=0,slow_path(lldp))

userspace(slow_path(lldp))

Ovs-appctl pica/dump-flows

Normal permanent;not distinguish table show

table_miss; distinguish table show

Arp/icmpv6 proxy

Flow priority in hardware table is 2

Flow priority in hardware table is the same with softeare table

Eviction in ovs-ofctl dump-tables-desc br0

0: config: EVICTION, eviction_flag: OTHER LIFETIME

show with vacancy together

Vacancy in ovs-ofctl dump-tables-desc br0

0: config: VACANCY_EVENTS, vacancy: 0%, vacancy_down: 20%, vacancy_up: 50%

show with eviction together

Enable-packet-driven

support

not support

TTP

support

not support

L3 table using lag/ecmp select group

ttl-1

ttl not change,keep primary value if not modified

Ovs-vsctl

Keep-l3-egress-fields

support

delete

Ovs-appctl pica/dump-ecmp-flows

/

new command

Down one port when do ecmp select hash

output number stay the same

output number dynamic changed according ports’ up/down

Multitable

dl_src changed to system mac if actions have no dl_src modification

keep primary value if actions have no dl_src modification

Ovs-vsctl set-select-group-hash-fields

Not clear flows in table 0

Clear flows in table 0

Ovs-ofctl queue-get-config br0 index

Queue get configure based port index

Queue get configure based port index or bridge

Ovs-appctl loopback/enable true

support

delete

Flows with same match filed except priority

Flow with high priority to hardware table

All flows installed to hardware table directly

Set match mode

ovs-appctl pica/dump-flows have echo

ovs-appctl pica/dump-flows have no echo

Copyright © 2024 Pica8 Inc. All Rights Reserved.