The SDK documentation is here: http://netld-sdk.readthedocs.io/en/master
The SDK project with example scripts is here: https://github.com/logicvein/NetLD-SDK/tree/master/Examples
Using the use case of executing a single job, and then waiting for it to complete (before continuing to another job), I have created a Python script called runJob.py as a demonstration. It is in the Examples/Python folder in the SDK project above.
Here's what it outputs if run with no parameters:
Assuming that I have a job or two defined, like so:
Then I can run one of the jobs from the CLI using the runJob.py script:
If I wanted to run one job after another, I would simply make a shell script file with the contents:
./runJob.py -j disco
./runJob.py -j backup
These are just examples, and someone handy with scripting (Python or Perl or Ruby or ...) can do quite a bit more complex stuff with the SDK and API.
Regarding compliance, there is quite a bit of flexibility that is not apparent on the surface. For example, looking first at the Devices advanced search view, I can perform a search for all my Cisco switches:
And I can further narrow them down by version number, for example versions < 15.0:
Taking that over to compliance, I can create two separate policies, for example, one for my switches running IOS 12.x and one for my switches running IOS 15.x:
Within compliance rules themselves, the new regex (regular expression) capability also allows for some quite sophisticated rules to be created without resulting to the need for more complex conditional expressions. For example, validating that the interface description text meets a particular complex format.