Quantcast
Channel: THWACK: All Content - Orion SDK
Viewing all articles
Browse latest Browse all 2677

Created dependencies dont work using python SDK

$
0
0

I am attempting to create a dependency using the python SDK and when I run the automated script it creates the dependency but it does not make the child unreachable when the parent node is down.

Below I have the example code as well as a screenshot of the GUI showing that the child is down when the parent is down on 2 of my dependencies. Please help, I am creating close to 6800 dependencies in this project so using the GUI is simply not an option.

 

     depUri = swis.create('Orion.Dependencies',

 

        Name=name,

        ParentUri=parent['DetailsUrl'],

        ChildUri= child['DetailsUrl'],

        AutoManaged=False,

        IncludeInStatusCalculation=True,

        EngineID=0,

        Category=0,

        ParentEntityType=parent['EntityType'],

        ParentNetObjectID=parent['NodeId'],

        ChildEntityType=child['EntityType'],

        ChildNetObjectID=child['NodeId'],

        Description='Node To Node Dependency')

 

I have called solar winds about it and they suggested that I change the engine id but that did not work either.

If anyone has any ideas let me know. I really appreciate the help!


Viewing all articles
Browse latest Browse all 2677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>