Discussion:
[rancid] sub groups
Yuval Ben-Ari
2007-01-28 10:57:17 UTC
Permalink
Hi,

Is it possible to configure sub groups in rancid ?
I want to create a group that will have it's own group's inside.
(think of scenario where two networks merge etc ...)

Thanks
Lance
2007-01-29 01:47:47 UTC
Permalink
Why not just create a network group for each company?

-Lance
-------- Original Message --------
Subject: [rancid] sub groups
Date: Sun, January 28, 2007 3:57 am
Hi, Is it possible to configure sub groups in rancid ? I want to create a group that will have it's own group's inside. (think of scenario where two networks merge etc ...) Thanks
---------------------------------------------------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Yuval Ben-Ari
2007-02-02 11:29:16 UTC
Permalink
sorry, for some reason did not see the reply

because each company also has it's internal groups (i.e core, access,
border, etc ...)
so what I want to have is a directory structure of:

$rancid_home/var/companyA/core
$rancid_home/var/companyA/access
$rancid_home/var/companyA/lan

$rancid_home/var/companyB/core
$rancid_home/var/companyB/access
$rancid_home/var/companyB/lan

or similar

Actually I just tried to add this under rancid.conf:
LIST_OF_GROUPS="test/subtest" and it seems to work
I need to see if it can do the job ...

Yuval

-----Original Message-----
From: Lance [mailto:***@gheek.net]
Sent: Monday, January 29, 2007 3:48 AM
To: Yuval Ben-Ari
Cc: Rancid-***@shrubbery.net
Subject: RE: [rancid] sub groups

Why not just create a network group for each company?

-Lance
-------- Original Message --------
Subject: [rancid] sub groups
Date: Sun, January 28, 2007 3:57 am
Hi, Is it possible to configure sub groups in rancid ? I want
to create a group that will have it's own group's inside. (think of
scenario where two networks merge etc ...) Thanks
---------------------------------------------------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Saku Ytti
2007-01-29 17:36:48 UTC
Permalink
Post by Yuval Ben-Ari
Is it possible to configure sub groups in rancid ?
I want to create a group that will have it's own group's inside.
(think of scenario where two networks merge etc ...)
What I've done is differentiated regions with dot. So you
could have eg. Switch.North, Switch.Italy, Switch.Dublin
or what not. Might not work for you, but at least it
allows you to create helper scripts to just look
boxes from certain region or just boxes of certain
function from all regions.
--
++ytti
Lance
2007-02-02 23:38:32 UTC
Permalink
Yuval,

Interesting...if that / works, let me know. That would be
interesting/helpful.
-------- Original Message --------
Subject: RE: [rancid] sub groups
Date: Fri, February 02, 2007 4:29 am
sorry, for some reason did not see the reply
because each company also has it's internal groups (i.e core, access,
border, etc ...)
$rancid_home/var/companyA/core
$rancid_home/var/companyA/access
$rancid_home/var/companyA/lan
$rancid_home/var/companyB/core
$rancid_home/var/companyB/access
$rancid_home/var/companyB/lan
or similar
LIST_OF_GROUPS="test/subtest" and it seems to work
I need to see if it can do the job ...
Yuval
-----Original Message-----
Sent: Monday, January 29, 2007 3:48 AM
To: Yuval Ben-Ari
Subject: RE: [rancid] sub groups
Why not just create a network group for each company?
-Lance
-------- Original Message --------
Subject: [rancid] sub groups
Date: Sun, January 28, 2007 3:57 am
Hi, Is it possible to configure sub groups in rancid ? I want
to create a group that will have it's own group's inside. (think of
scenario where two networks merge etc ...) Thanks
---------------------------------------------------------------------
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Yuval Ben-Ari
2007-02-18 15:06:01 UTC
Permalink
Hi,

I got it working eventually.
basically I configure the groups normally using
LIST_OF_GROUPS="company/group"
however it causes some problems that I had to fix on few on the rancid
scripts.
I did not do it too cleanly to post a patch.
If someone interested I can share the changes needed.
It might need to be considered as future feature.

Yuval

-----Original Message-----
From: Lance [mailto:***@gheek.net]
Sent: Saturday, February 03, 2007 1:39 AM
To: Yuval Ben-Ari
Cc: Rancid-***@shrubbery.net
Subject: RE: [rancid] sub groups

Yuval,

Interesting...if that / works, let me know. That would be
interesting/helpful.
-------- Original Message --------
Subject: RE: [rancid] sub groups
Date: Fri, February 02, 2007 4:29 am
sorry, for some reason did not see the reply
because each company also has it's internal groups (i.e core, access,
border, etc ...)
$rancid_home/var/companyA/core
$rancid_home/var/companyA/access
$rancid_home/var/companyA/lan
$rancid_home/var/companyB/core
$rancid_home/var/companyB/access
$rancid_home/var/companyB/lan
or similar
LIST_OF_GROUPS="test/subtest" and it seems to work
I need to see if it can do the job ...
Yuval
-----Original Message-----
Sent: Monday, January 29, 2007 3:48 AM
To: Yuval Ben-Ari
Subject: RE: [rancid] sub groups
Why not just create a network group for each company?
-Lance
-------- Original Message --------
Subject: [rancid] sub groups
Date: Sun, January 28, 2007 3:57 am
Hi, Is it possible to configure sub groups in rancid ? I want
to create a group that will have it's own group's inside. (think of
scenario where two networks merge etc ...) Thanks
Loading...