ovs-ofctl add-groups <bridge> <file>


ovs-ofctl add-groups <bridge> <file>

Add groups to the switch from a file.

Example:

admin@PicOS-OVS$cat group.txt 
group_id=1,type=all,bucket=output:8
group_id=2,type=select,bucket=output:9,bucket=output:10 
admin@PicOS-OVS$ovs-ofctl add-groups br0 group.txt 
admin@PicOS-OVS$
admin@PicOS-OVS$
admin@PicOS-OVS$
admin@PicOS-OVS$ovs-ofctl dump-groups br0
OFPST_GROUP_DESC reply (OF1.4) (xid=0x2):
group_id=1,type=all,bucket=actions=output:8
group_id=2,type=select,bucket=actions=output:9,bucket=actions=output:10
admin@PicOS-OVS$
admin@PicOS-OVS$

 

 

 

Copyright © 2024 Pica8 Inc. All Rights Reserved.