[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quagga-dev
Subject:    [quagga-dev 5060] Cut & paste to vty
From:       Simone Carnielli <simone.carnielli () telsey ! it>
Date:       2007-09-17 10:03:12
Message-ID: 46EE50E0.8030405 () telsey ! it
[Download RAW message or body]

Hi,
I used to configure Quagga daemon via telnet, cutting & pasting a saved 
configuration.

I would like to configure all running daemons one shot, entering and 
exit from each vty via telnet. I'm working to do that, but I found the 
first difficulty in saving somewhere (e.g. in a temp file) residual 
commands from the initial cut & paste, that is what I've pasted after 
the last "exit" command (that is the commands set for next daemon to 
configure).

I'll try to customize the vty_read function, but I wasn't able to 
achieve my target. Now I trying to do that in the vty_close when it 
flushes the output buffer.

Could you suggest me, please, which, in your opinion, could be the 
best/right way to save residual commands?

Thanks in advance,
my best regards,
Simone










______________________________________________________________________________

--- NOTICE ---

CONFIDENTIALITY - This  email  and  any  attachments  are confidential and are
intended  for  the  addressee  only.   If  you  have  received this message by
mistake,  please  contact us immediately and then delete the message from your
system.  You  must  not copy, distribute, disclose or act upon the contents of
this email. Thank you.

PERSONAL DATA PROTECTION  (Law  by  Decree  30.06.2003  n. 196) - Personal and
corporate  data  submitted  will  be used in a correct, transparent and lawful
manner. The data collected will be processed in paper or computerized form for
the performance of contractual  and  lawful  obligations  as  well  as for the
effective management of business relationship. Data may be disclosed, in Italy
or abroad, for the purpose above mentioned to third  parties  which  cooperate
with Telsey, agents, banks, factoring companies,  credit recovering companies,
credit  insurance  companies,  professional  and  consultants,  and   shipping
companies. In relation to the same purposes, data  may  be  processed  by  the
following  classes  of  executors  or  processors:  management; administration
department; logistics  and  purchase  department; sales department; post sales
department quality department; R&D department; IT department; legal department.
The  data  processor  is  Telsey S.p.A.  The data subject may exercise all the
rights set forth in art. 7 of Law by Decree 30.06.2003  n. 196 as reported  in
in the following link http://www.telsey.it/privacy.jsp. 

______________________________________________________________________________
798t8RfNa6Dl8Ilf
_______________________________________________
Quagga-dev mailing list
Quagga-dev@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic