we are used to Cisco devices so we are kind of trying to make the commands
a little like Cisco commands for ease of use.

are there any shell that can be used?



On Wed, Jun 12, 2019 at 8:18 PM Ben Pfaff <[email protected]> wrote:

> The way you're presenting this, you make it sound like it would be a
> simple change to ovs-vsctl to make it accept this new language (whatever
> it is--you have not defined it).  It is not simple.
>
> A Python script that calls ovs-vsctl would be a reasonable approach.
>
> On Wed, Jun 12, 2019 at 10:33:08AM +0430, Saeed sami wrote:
> > So this can not be done by modifying the vsctl itself?
> > Can we (i.e) build a simple python shell so that user logs into the shell
> > and uses new commands? Shell talks with vsctl.
> >
> > Thank you.
> >
> > On Wed, 12 Jun 2019, 02:29 Ben Pfaff, <[email protected]> wrote:
> >
> > > 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 <[email protected]> wrote:
> > > >
> > > > > On Tue, Jun 11, 2019 at 11:18:22AM +0430, [email protected] 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.
> > > > >
> > >
>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to