The idea here would be to create stacks. So I could log into one router, and have it configure itself and others. In the simplest form, the config file could just be copied over via ssh or something.
This output for this would look something like:
stack {
nameOfStack {
stack1 route1.domain.com
stack2 route2.domain.com
}
}
ethernet eth0 {
duplex auto
hw-id 00:50:56:b5:20:aa @nameOfStack.stack1
hw-id 00:50:56:b5:20:ff @nameOfStack.stack2
smp-affinity auto
speed auto
vif 10 {
address 10.0.10.11/24 @nameOfStack.stack1
address 10.0.10.12/24 @nameOfStack.stack2
}
}The idea here is that route1.domain.com would only "see" and apply these lines:
ethernet eth0 {
duplex auto
hw-id 00:50:56:b5:20:aa @nameOfStack.stack1
smp-affinity auto
speed auto
vif 10 {
address 10.0.10.11/24 @nameOfStack.stack1
}
}And route2.domain.com would only parse and see:
ethernet eth0 {
duplex auto
hw-id 00:50:56:b5:20:ff @nameOfStack.stack2
smp-affinity auto
speed auto
vif 10 {
address 10.0.10.12/24 @nameOfStack.stack2
}
}Hopefully this is clear enough to what I am trying to suggest, though maybe this implementation would be a bit clunky.