What is the order of configuration recovery?

Submitted by ken on Mon, 2006-11-13 20:13.

Hi,
When OpenClovis ASP restarts,the persisted configuration object
will be restored. I wonder what is the order of configuration recovery?

Thanks
ken

Submitted by harikrishna_gp on Mon, 2006-11-13 20:45.

Hi Ken,
COR is the OpencClovis ASP component which manages the persistency of configuration. COR assumes hierarchical relation among the objects.
So when it restores the objects it will restore from the root/top object and restores all objects underneath it.
So if you have a chassis, blade, port first the chassis object is restored followed by the blade objects and port objects.

HTH,
Hari

Submitted by ken on Mon, 2006-11-13 20:51.

Hi Hari,
Ok,it is very helpful reply.
If there are two port underneath a blade,then what is the
order of them?

thanks
ken

Submitted by harikrishna_gp on Mon, 2006-11-13 21:44.

Hi Ken,
It works like a breadth first search algorithm.
So in the case you have it restores the chassis, blade, port1, port2 in that order.
If chassis has two baldes and blade1 has port1 and blade2 has port2 the order will be
chassis, blade1,blade2,port1,port2
HTH,
Hari

Submitted by ken on Mon, 2006-11-13 21:49.

Hi Hari,
Got it. Thank you very much!

Ken