On Mon, 30 Apr 2018 16:33:48 +0900,
rahul b wrote:
> I have went through OVSDB library of RYU, I have following queries
> 
> 1. Can ryu.lib.ovs.vsctl.VSCtl.run_command execute any command that is
> supported by ovs-vsctl ?Or is there a restricted list of commands that can
> be used?

It only implements a subset. Please look at the code or git-log.

> 2. For commands to setup SFLOW , usually two commands needs to be passed to
> ovs-vsctl simultaneously.
> 
> ovs-vsctl  --    --id=@s    create   sFlow   agent=eth1
> target=\"10.0.0.1:6343\" header=128 sampling=64 polling=10 \
> 
>            -- set Bridge br0 sflow=@s
> 
> This is necessary because in the ovs-vsctl document it says this,
> 
> "Thus, a create command must generally be accompanied by additional
> commands within the same ovs-vsctl invocation to add a chain of references
> to the newly created record from the top-level Open_vSwitch record."
> 
> So is there a way to achieve this through OVSDB library of ryu? Or is there
> any equivalent to set up SFLOW through ryu?

create doesn't seem to be implemented. I don't know why.

Using the ovs library directly would be a better choice.

--
IWAMOTO Toshihiro

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to