forked from AcademySoftwareFoundation/OpenCue
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add outputs (AcademySoftwareFoundation#1361)
* Add new xml spec with support for layer outputs * Add outputs from xml spec to database * Update VERSION.in Bumped minor version due to spec change * Add python code for adding outputs to layers and bump spec version to 1.14 * Remove debug code and add newline to new spec file
- Loading branch information
Showing
7 changed files
with
143 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.22 | ||
0.23 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
<!-- ================================================================= --> | ||
<!-- SpiCue Job Spec DTD ver 1.14 --> | ||
<!-- [email protected] --> | ||
<!-- ================================================================= --> | ||
|
||
<!ELEMENT spec (facility?,dept?,show,shot,user,email?,uid?,job*,depends*)> | ||
<!ELEMENT facility (#PCDATA)*> | ||
<!ELEMENT dept (#PCDATA)*> | ||
<!ELEMENT show (#PCDATA)*> | ||
<!ELEMENT shot (#PCDATA)*> | ||
<!ELEMENT user (#PCDATA)*> | ||
<!ELEMENT email (#PCDATA)*> | ||
<!ELEMENT uid (#PCDATA)*> | ||
|
||
<!-- ================================================================= --> | ||
<!-- Jobs --> | ||
<!-- ================================================================= --> | ||
<!ELEMENT job (paused?,priority?,maxretries?,maxcores?,maxgpus?,autoeat?,localbook?,os?,env*,layers?)> | ||
<!ATTLIST job | ||
name NMTOKEN #REQUIRED | ||
> | ||
<!ELEMENT paused (#PCDATA)*> | ||
<!ELEMENT priority (#PCDATA)*> | ||
<!ELEMENT maxretries (#PCDATA)*> | ||
<!ELEMENT maxcores (#PCDATA)*> | ||
<!ELEMENT maxgpus (#PCDATA)*> | ||
<!ELEMENT autoeat (#PCDATA)*> | ||
<!ELEMENT os (#PCDATA)*> | ||
<!ELEMENT localbook (#PCDATA)*> | ||
<!ATTLIST localbook | ||
host NMTOKEN #REQUIRED | ||
cores NMTOKEN #REQUIRED | ||
memory NMTOKEN #REQUIRED | ||
threads NMTOKEN #REQUIRED | ||
gpu NMTOKEN #REQUIRED | ||
> | ||
|
||
<!-- ================================================================= --> | ||
<!-- Layers --> | ||
<!-- ================================================================= --> | ||
|
||
<!ELEMENT layers (layer+)> | ||
<!ELEMENT layer (cmd,range,chunk,cores?,threadable?,memory?,gpus?,gpu?,gpu_memory?,timeout?,timeout_llu?,tags?,limits?,env*,services?,outputs*)> | ||
<!ATTLIST layer | ||
name NMTOKEN #REQUIRED | ||
type (Render | Util | Post) #REQUIRED | ||
> | ||
<!ELEMENT cmd (#PCDATA)*> | ||
<!ELEMENT range (#PCDATA)*> | ||
<!ELEMENT chunk (#PCDATA)*> | ||
<!ELEMENT cores (#PCDATA)*> | ||
<!ELEMENT threadable (#PCDATA)*> | ||
<!ELEMENT memory (#PCDATA)*> | ||
<!ELEMENT gpus (#PCDATA)*> | ||
<!ELEMENT gpu (#PCDATA)*> <!-- deprecated: use gpu_memory --> | ||
<!ELEMENT gpu_memory (#PCDATA)*> | ||
<!ELEMENT timeout (#PCDATA)*> | ||
<!ELEMENT timeout_llu (#PCDATA)*> | ||
<!ELEMENT tags (#PCDATA)*> | ||
<!ELEMENT limits (limit+)> | ||
<!ELEMENT services (service+)> | ||
<!ELEMENT outputs (output*)> | ||
<!ELEMENT env (key*)> | ||
<!-- ================================================================= --> | ||
<!-- Layer Services --> | ||
<!-- ================================================================= --> | ||
<!ELEMENT service (#PCDATA)*> | ||
|
||
<!-- ================================================================= --> | ||
<!-- Layer Ouuputs --> | ||
<!-- ================================================================= --> | ||
<!ELEMENT output (#PCDATA)*> | ||
<!ATTLIST output | ||
name NMTOKEN #REQUIRED | ||
> | ||
<!-- ================================================================= --> | ||
<!-- Layer Limits --> | ||
<!-- ================================================================= --> | ||
<!ELEMENT limit (#PCDATA)*> | ||
|
||
<!-- ================================================================= --> | ||
<!-- Environment Variables --> | ||
<!-- ================================================================= --> | ||
|
||
<!ELEMENT key (#PCDATA)*> | ||
<!ATTLIST key | ||
name NMTOKEN #REQUIRED | ||
> | ||
|
||
<!-- ================================================================= --> | ||
<!-- Dependencies --> | ||
<!-- ================================================================= --> | ||
|
||
<!ELEMENT depends (depend*)> | ||
<!ELEMENT depend (depjob,deplayer?,depframe?,onjob,onlayer?,onframe?)> | ||
<!ATTLIST depend | ||
anyframe NMTOKEN #IMPLIED | ||
type (LAYER_ON_SIM_FRAME|PREVIOUS_FRAME|JOB_ON_JOB|JOB_ON_LAYER|JOB_ON_FRAME|LAYER_ON_JOB|LAYER_ON_FRAME|LAYER_ON_LAYER|FRAME_ON_JOB|FRAME_ON_LAYER|FRAME_ON_FRAME|FRAME_BY_FRAME) #REQUIRED | ||
> | ||
<!ELEMENT depjob (#PCDATA)*> | ||
<!ELEMENT onjob (#PCDATA)*> | ||
<!ELEMENT deplayer (#PCDATA)*> | ||
<!ELEMENT onlayer (#PCDATA)*> | ||
<!ELEMENT depframe (#PCDATA)*> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters