[ovs-discuss] jsonrpc

Ben Pfaff blp at ovn.org
Mon Nov 13 22:00:43 UTC 2017


On Mon, Nov 13, 2017 at 06:47:05PM -0300, Edison Albuquerque wrote:
> Sorry if this has been asked before.
> There's few examples on how to use jsonrpc to insert an interface, for
> example.
> For us, newbies, examples are extremely valuable, more than a thousand
> words.
> If some kind soul has an example on how to insert a new interface (s1-eth3)
> in a single switch (s1) with two interfaces (s1-eth2 and s1-eth3) please
> share with me.
> That would be a complete example, including Port and Bridge atualizations.

If you run something like this:
        ovs-vsctl -vjsonrpc -- add-bond s1 s1-eth3 s1-eth2 s1-eth3
then you will see what ovs-vsctl does to insert such a bond, logged as
the jsonrpc module.


More information about the discuss mailing list