[ovs-dev] OVS command line style/syntax modification

Ben Pfaff blp at ovn.org
Tue Jun 11 21:59:03 UTC 2019


This isn't a modification to ovs-vsctl, this would be a new utility that
accepts the syntax you want.  I guess you can write such a utility that
invokes ovs-vsctl.

On Tue, Jun 11, 2019 at 10:37:43PM +0430, Saeed sami wrote:
> Hi.
> Thank you for your response.
> 
> We are looking for a way to modify the command line inputs. for example
> instead fo using a command such as "
> 
> ovs-vsctl -- add-br vlan-br \
>   -- add-port vlan-br eth1 \
>   -- add-port vlan-br vlan-br-tag tag=10 \
>   -- set Interface vlan-br-tag type=internalip addr add 1.2.3.4/8 dev
> vlan-br-tag
> 
> "
> Simply write :
> Switch add vlan interface
>    switch set interface eth1
>      switch set vlan 10
>      ip address 1.2.3.4/8
> 
> 
> to be more clear make some modifications to commands for easier
> configurations. most of our team are used to Cisco like commands and it is
> hard to train them. But if commands can be changed a little it will make
> their future work easier.
> 
> Vtysh is the CLI used in NOSs such as Quagga or FRRouting. Clish/Klish are
> CLI interpreters that use XML fro command definitions.
> 
> Thank you for teh help.
> 
> Sincerely
> Sami
> 
> 
> On Tue, Jun 11, 2019 at 7:30 PM Ben Pfaff <blp at ovn.org> wrote:
> 
> > On Tue, Jun 11, 2019 at 11:18:22AM +0430, sami at qbicomm.com wrote:
> > > IS it possible to modify command line style? i mean is it possible to
> > modify
> > > command syntax and how commands and sub commands are entered to make
> > working
> > > with OVS easier?
> >
> > What changes are you looking for?
> >
> > > or use tools such as vtysh/Clish/Klish with OVS ?
> >
> > I have not heard of those tools, so I do not know.  Maybe someone else
> > will speak up.
> >


More information about the dev mailing list