Hello Rogério- This sounds like a good job for the modeling gateway, which is well-documented in the ³Modeling Gateway Toolkit² manual. It will export as much or as little information you need to an XML file, based on an XML template. If needed, you could then write a small script to translate the exported XML file into some other format. We¹ve even used the modeling gateway to export our entire topology and reimport it without any data loss (to fix some corrupted connections).
HTH, Jim On 10/26/10 8:56 AM, "[email protected]" <[email protected]> wrote: > Hi All, > > Is there an efficient way to list all devices, ports and its IP addresses to > automatically export those information to a third party asset system by a > script (I mean using something like the CLI, not oneclick itself)? > > The only way I figured out is, on CLI, show the devices and interfaces and > after all interact over each one to retrieve the ip_address attribute (show > attributes). This process has been too slow! > > Sincerely, > > > > Rogério Ferreira da Cunha > ------------------------------------------------------------------------------ > TIC/ADS-TC/ORS > Consultor > Tel: +55-21-3487-6848 Rota: 818-6848 > [email protected] > > > "O emitente desta mensagem é responsável por seu conteúdo e endereçamento. > Cabe ao destinatário cuidar quanto ao tratamento adequado. Sem a devida > autorização, a divulgação, a reprodução, a distribuição ou qualquer outra ação > em desconformidade com as normas internas do Sistema Petrobras são proibidas e > passíveis de sanção disciplinar, cível e criminal." > > "The sender of this message is responsible for its content and addressing. The > receiver shall take proper care of it. Without due authorization, the > publication, reproduction, distribution or the performance of any other > action not conforming to Petrobras System internal policies and procedures is > forbidden and liable to disciplinary, civil or criminal sanctions." > > "El emisor de este mensaje es responsable por su contenido y direccionamiento. > Cabe al destinatario darle el tratamiento adecuado. Sin la debida > autorización, su divulgación, reproducción, distribución o cualquier otra > acción no conforme a las normas internas del Sistema Petrobras están > prohibidas y serán pasibles de sanción disciplinaria, civil y penal." > * --To unsubscribe from spectrum, send email to [email protected] with the > body: unsubscribe spectrum [email protected] > --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
