-
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.
This changeset exposes the (WIP) API to allow a resource graph to grow, which needs to be a call to the c api "grow" that gets passed to unpack_at. This is a WIP because the container build has a custom clone/build of flux-sched with the grow-api branch, and we will need to eventually update that. Signed-off-by: vsoch <[email protected]>
- Loading branch information
Showing
7 changed files
with
2,652 additions
and
3,541 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
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,97 @@ | ||
{ | ||
"graph": { | ||
"nodes": [ | ||
{ | ||
"id": "0", | ||
"metadata": { | ||
"type": "cluster", | ||
"basename": "tiny", | ||
"name": "tiny0", | ||
"id": 0, | ||
"uniq_id": 0, | ||
"rank": -1, | ||
"exclusive": false, | ||
"unit": "", | ||
"size": 1, | ||
"paths": { | ||
"containment": "/tiny0" | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "1", | ||
"metadata": { | ||
"type": "rack", | ||
"basename": "rack", | ||
"name": "rack0", | ||
"id": 0, | ||
"uniq_id": 1, | ||
"rank": -1, | ||
"exclusive": false, | ||
"unit": "", | ||
"size": 1, | ||
"paths": { | ||
"containment": "/tiny0/rack0" | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "100", | ||
"metadata": { | ||
"type": "node", | ||
"basename": "node", | ||
"name": "node2", | ||
"id": 100, | ||
"uniq_id": 100, | ||
"rank": -1, | ||
"exclusive": false, | ||
"unit": "", | ||
"size": 1, | ||
"paths": { | ||
"containment": "/tiny0/rack0/node2" | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "101", | ||
"metadata": { | ||
"type": "node", | ||
"basename": "node", | ||
"name": "node3", | ||
"id": 101, | ||
"uniq_id": 101, | ||
"rank": -1, | ||
"exclusive": false, | ||
"unit": "", | ||
"size": 1, | ||
"paths": { | ||
"containment": "/tiny0/rack0/node3" | ||
} | ||
} | ||
} | ||
], | ||
"edges": [ | ||
{ | ||
"source": "0", | ||
"target": "1", | ||
"metadata": { | ||
"subsystem": "containment" | ||
} | ||
}, | ||
{ | ||
"source": "1", | ||
"target": "100", | ||
"metadata": { | ||
"subsystem": "containment" | ||
} | ||
}, | ||
{ | ||
"source": "1", | ||
"target": "101", | ||
"metadata": { | ||
"subsystem": "containment" | ||
} | ||
} | ||
] | ||
} | ||
} |
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,21 @@ | ||
version: 9999 | ||
resources: | ||
- type: cluster | ||
count: 1 | ||
with: | ||
- type: rack | ||
count: 1 | ||
with: | ||
- type: node | ||
count: 4 | ||
|
||
# a comment | ||
attributes: | ||
system: | ||
duration: 3600 | ||
tasks: | ||
- command: [ "app" ] | ||
slot: default | ||
count: | ||
per_slot: 1 | ||
|
Oops, something went wrong.