Re: enable/disable features in running configuration

jan <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
Hi all.

Most people is quite lazy today and don't want to learn lot of command 
level syntax
they just wont to click on web or application. I think keepalived should 
be
more popular if a good fronted exist. But that will not discard a cli 
interface.
Technician need cli for deeper config tasks and error analyse.

to make cli easy, just remove { } and jump in out like a directory, push 
space and
all possible stmts show up.

When designing a new interface it should be very smart to handle view 
load
on every host and packet traffic in real time on web or program for 
example.
and add a ASK_REQUEST request to get actual load from a service (0-100%) 
or a real host.

To help with design with a new parser some syntax tree must be build and 
semantics
for control purpose.

I write a bison rules files yesterday to flex scanner and fix some 
errors today.

I have upload a bison parser and new lex file to do some check on old 
conf file
play around with that and give some feeling and reduse & combine some 
rules.

It's also possible to produce actions rules to do some great work.

A api for frontend layers should be done, and other designers work from 
that.
CLI or web or whatever...

url for keepalived.y & keepalived.l , build, doc

files ftp://ftp.artech.se/pub/keepalived

Some skeletal checkers or generic checkers in that api and a bit-field 
for
actual stmts used in a new target checkers. Subclass rest from a generic 
checker class
will spare lot of time to develop a new checkers. Lot of timers, retry 
counters is same over all
checkers, combine them.



2015-05-05 12:25 skrev Alexandre Cassen:
> Well,
> 
> my goal is really not to compete with Cisco or Juniper stuff :D the
> intent here is to provide a better control/access to user against a
> running Keepalived daemon.
> 
> 
>> On 04 May 2015, at 21:18, Lennart Sorensen 
>> <[email protected]> wrote:
>> 
>> On Mon, May 04, 2015 at 01:52:23PM -0500, Chris Adams wrote:
>>> Even bound-to-localhost is not a great idea, as it assumes nobody 
>>> will
>>> ever run keepalived on a server with any untrusted users.  Much 
>>> better
>>> to just have a simple (non-CLI) protocol in the daemon that listens 
>>> on a
>>> Unix socket.  Then, if you want to provide a CLI, it can be a 
>>> separate
>>> program that talks over the control socket.
>>> 
>>> Also, I would recommend avoiding a Cisco-like CLI.  The only good
>>> argument is that most like to copy Cisco, but it is really not a good
>>> CLI.  If you want to copy somebody else's design, look at something 
>>> like
>>> JUNOS.  "commit confirm" for the win!
>> 
>> Well you must mean 'avoid cisco ios style'.  Cisco XR style does have
>> commits and confirmed commits.
>> 
>> --
>> Len Sorensen
>> 
>> ------------------------------------------------------------------------------
>> One dashboard for servers and applications across 
>> Physical-Virtual-Cloud
>> Widest out-of-the-box monitoring support with 50+ applications
>> Performance metrics, stats and reports that give you Actionable 
>> Insights
>> Deep dive visibility with transaction tracing using APM Insight.
>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>> _______________________________________________
>> Keepalived-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/keepalived-devel
> 
> 
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across 
> Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable 
> Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Keepalived-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/keepalived-devel

-- 


/Jan Holmberg

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.