Automatic binding to a container

Started by Lanpingner, March 17, 2019, 08:42:18 PM

Previous topic - Next topic

Lanpingner

Hi everyone

I want to create an automatic binding to a container

This is how my object tree look like

--Entire Network

--Infrastructure Services
      --MainServer
      --others
      --routers
   

What i want to do is to bind all of the nodes to the (others container) from the Entire Network but its really importent to me that do not bind those nodes which are inside the (MainServer and routers) containers.
Thanks for any kind of help

Victor Kirhenshtein

Hi,

in the autobind script you can access node's parents and check if any of them are MainServer or routers. There should be examples of enumerating parent objects on forum or wiki.

Best regards,
Victor