Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
batsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
batsim
batsim
Commits
28f2bc6d
Commit
28f2bc6d
authored
7 years ago
by
MERCIER Michael
Browse files
Options
Downloads
Patches
Plain Diff
[doc] add a note on submit_job message about job id
parent
508843e1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/proto_description.md
+8
-5
8 additions, 5 deletions
doc/proto_description.md
with
8 additions
and
5 deletions
doc/proto_description.md
+
8
−
5
View file @
28f2bc6d
...
...
@@ -345,8 +345,6 @@ If redis is enabled (``{"redis": {"enabled": true}}``),
Otherwise (if redis is disabled), a JSON description of the job is forwarded
in the
``job``
field.
**Note:**
The workload name MUST NOT be present in the job description id field.
A JSON description of the job profile is sent if and only if
profiles forwarding is enabled
(
``{"job_submission": {"forward_profiles": true}}``
).
...
...
@@ -362,7 +360,7 @@ profiles forwarding is enabled
"job"
:
{
"profile"
:
"delay_10s"
,
"res"
:
1
,
"id"
:
"my_new_job"
,
"id"
:
"
dyn!
my_new_job"
,
"walltime"
:
12.0
}
}
...
...
@@ -378,7 +376,7 @@ profiles forwarding is enabled
"job"
:
{
"profile"
:
"delay_10s"
,
"res"
:
1
,
"id"
:
"my_new_job"
,
"id"
:
"
dyn!
my_new_job"
,
"walltime"
:
12.0
},
"profile"
:{
...
...
@@ -630,6 +628,11 @@ The submission is acknowledged by default, but acknowledgements can be disabled
in the configuration
(
``{"job_submission": {"from_scheduler": {"acknowledge": false}}}``
).
**Note:**
The workload name SHOULD be present in the job description id field
with the notation WORKLOAD!JOB_NAME. If it is not present it will be added
to the job description provided in the acknowledgment message
[
JOB_SUBMITTED
](
#job_submitted
)
-
**data**
: A job id (job id duplication is forbidden), classical job and
profile information (optional).
...
...
@@ -655,7 +658,7 @@ in the configuration
"job"
:{
"profile"
:
"delay_10s"
,
"res"
:
1
,
"id"
:
"my_new_job"
,
"id"
:
"
dyn!
my_new_job"
,
"walltime"
:
12.0
},
"profile"
:{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment