Re: mktop not giving node records

"Stephen Miller" <[email protected]> Tue, 22 Apr 2003 21:30:55 -0700
Newsgroups gmane.network.toolmakers
Message-ID <[email protected]>
I made the CVS directory hidden just so I could=20
use ./mktop /usr/local/rancid/core/configs/* > net1.top

but no help...still getting this:

node::::::
edge:10.248.0.168/30:so-1/0/2:10.248.0.169::so-0/0/0:10.248.0.170::oc3
edge:10.248.0.136/30:so-1/0/0:10.248.0.138::so-1/0/0:10.248.0.137::oc3
edge:10.248.0.120/30:so-0/0/1:10.248.0.121::so-0/0/1:10.248.0.122::oc3
edge:10.248.0.92/30:so-0/0/0:10.248.0.93::so-1/0/2:10.248.0.94::oc3
edge:10.248.0.60/30:so-0/0/0:10.248.0.61::so-0/0/1:10.248.0.62::oc3
edge:10.248.0.164/30:so-0/0/2:10.248.0.165::so-0/0/1:10.248.0.166::oc3

I am using rancid 2.2.2 if that makes a difference....

thanks,
Steve



---------- Original Message -----------
From: Joe Abley <[email protected]>
To: "Stephen Miller" <[email protected]>
Cc: [email protected]
Sent: Wed, 23 Apr 2003 01:59:54 -0400
Subject: Re: mktop not giving node records

> On Tuesday, Apr 22, 2003, at 23:41 Canada/Eastern, Stephen Miller wrote=
:
>=20
> > like this:
> >
> > cat /usr/local/rancid/core/configs/*.in | ./mktop > net.top
> >
> > and like this:
> >
> > ./mktop /usr/local/rancid/core/configs/*.in > net1.top
> >
> >
> > same out output for both....
> >
> > node::::::
>=20
> Mmmm. I think that files named "*.in" in the configs directory are=20
> transient files that rancid uses while it grabs new state from the=20
> network, and subsequently renames to their non-.in counterparts. You=20
> may find that those files are either not always there, or you have=20
> some stale, maybe truncated "*.in" files lying about.
>=20
> Try running mktop like this and see what you get:
>=20
> ./mktop $(awk -F: '/:up:/ { printf=20
> "/usr/local/rancid/core/configs/%s\n", $1; }' \
>    /usr/local/rancid/core/router.db) >net2.top
>=20
> (if you're a csh person you'll need to use back-ticks instead of the=20
> $() notation). That expression should spit out a list of config files=20
> corresponding to devices in the "core" group which are up, which=20
> should contain reasonable food for mktop.
>=20
> Joe
------- End of Original Message -------