Re: Assertion in Python

2006-10-05 Thread Gabriel Genellina
At Thursday 5/10/2006 04:09, vmalhotra wrote: Now the problem which i am facing is how to do assertion from that output. e.g output is something like this eth0 is up OSPF not enabled on this interface eth1 is up Internet Address 192.168.1.2/24, Area 0.0.0.0 Router ID 192.168.1.2, Network

Assertion in Python

2006-10-05 Thread vmalhotra
Hi All, I want to do verification in my scripts. So for that what i am doing here are shown below: 1. Telnet to one router. 2. Configure router. 3. Configure routing. Now after doing all these i have to check showinterfaces. So i execute command show interface and saved the output in one file.