Home > Storage > PowerScale (Isilon) > Industry Solutions and Verticals > Media and Entertainment > PowerScale OneFS: A Metadata Driven Approach to On Demand Tiering > DataIQ plug-in for Autodesk ShotGrid
The open-source DataIQ plug-in for ShotGrid is available on GitHub here:
Dell DataIQ Autodesk ShotGrid Plugin
This plug-in is a proof of concept to show how the ShotGrid and DataIQ APIs can be combined to tag data in DataIQ based on shot status in ShotGrid. The DataIQ tags are dynamically updated with the current shot status in ShotGrid.
Here is a “shot” in ShotGrid configured with various possible statuses:
When the ShotGrid plug-in for DataIQ is run, that status is used to create a tag. In this case, the shotgun_status tag is set to dlivd (an abbreviation for delivered):
Natively, DataIQ provides analysis tools for insights into file system capacity consumed by various tags. In this example, an administrator could determine the capacity on their high-performance storage taken up by shots that have been marked as delivered in ShotGrid.
This information can be made more useful if it can drive tiering behavior in OneFS.
First the code in the section Get list of directories with specific DataIQ tags would be run, with the DataIQ tag being input: shotgun_status with a value of dlivd.
This code returns a list of directories that have been marked as dlivd in ShotGrid. From here, the administrator can choose one of these directories as outlined in the section Query DataIQ to get all items below a particular directory. This action creates a list of every item that will be tagged with an extended attribute.
The rest of the code in the sections Pass list of paths to OneFS API to write extended attributes and Trigger SmartPoolsTree job on parent directory passes the list of items to the OneFS API. The code applies the ShotGrid status information as extended attributes in OneFS and starts a SmartPoolsTree job to tier the data.
The figures below show the code in action.