I'm looking for some examples on starting more than one level of supervisors in a supervision tree. Almost everything I've seen has been one supervisor and many workers and I've not seen any documentation or examples on how I might start multiple supervisors within one supervision tree.<div>
<br></div><div>I'm trying to build a structure similar to what is below, a simple monitoring application to track events in a typical network environment within a given site. A site level supervisor handles N number of L3 networks and their workers and spawns N number of supervisors for VLANs in a given MST instance. This example is slightly contrived in that I "could" flatten this structure out, but I'm looking to do other things with those vlan workers and may go another level deeper. </div>
<div><br></div><div><div> vlan_monitor_worker</div><div> /</div><div> vlan801_sup</div><div> /</div><div> net1_sup</div>
<div> / \</div><div> / \</div><div> net1_mon_worker</div><div> Site_sup </div><div> net2_mon_worker</div><div> \ /</div><div>
\ /</div><div> net2_sup</div><div> \</div><div> vlan802_sup</div><div> \</div><div> vlan_monitor_worker</div>
</div><div><br></div><div><meta charset="utf-8">Thanks in advance for any guidance.</div><div><br></div><div>-Chris</div>