Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
bc2f7327
Commit
bc2f7327
authored
22 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
Added support for ping RPC.
parent
576057fb
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/common/slurm_protocol_defs.h
+1
-1
1 addition, 1 deletion
src/common/slurm_protocol_defs.h
src/common/slurm_protocol_pack.c
+2
-0
2 additions, 0 deletions
src/common/slurm_protocol_pack.c
with
3 additions
and
1 deletion
src/common/slurm_protocol_defs.h
+
1
−
1
View file @
bc2f7327
...
@@ -109,6 +109,7 @@ typedef enum {
...
@@ -109,6 +109,7 @@ typedef enum {
REQUEST_SHUTDOWN
,
REQUEST_SHUTDOWN
,
REQUEST_SHUTDOWN_IMMEDIATE
,
REQUEST_SHUTDOWN_IMMEDIATE
,
RESPONSE_SHUTDOWN
,
RESPONSE_SHUTDOWN
,
REQUEST_PING
,
REQUEST_BUILD_INFO
=
2001
,
REQUEST_BUILD_INFO
=
2001
,
RESPONSE_BUILD_INFO
,
RESPONSE_BUILD_INFO
,
...
@@ -145,7 +146,6 @@ typedef enum {
...
@@ -145,7 +146,6 @@ typedef enum {
RESPONSE_IMMEDIATE_RESOURCE_ALLOCATION
,
RESPONSE_IMMEDIATE_RESOURCE_ALLOCATION
,
REQUEST_JOB_WILL_RUN
,
REQUEST_JOB_WILL_RUN
,
RESPONSE_JOB_WILL_RUN
,
RESPONSE_JOB_WILL_RUN
,
// MESSAGE_REVOKE_JOB_CREDENTIAL,
REQUEST_REVOKE_JOB_CREDENTIAL
,
REQUEST_REVOKE_JOB_CREDENTIAL
,
REQUEST_ALLOCATION_AND_RUN_JOB_STEP
,
REQUEST_ALLOCATION_AND_RUN_JOB_STEP
,
RESPONSE_ALLOCATION_AND_RUN_JOB_STEP
,
RESPONSE_ALLOCATION_AND_RUN_JOB_STEP
,
...
...
This diff is collapsed.
Click to expand it.
src/common/slurm_protocol_pack.c
+
2
−
0
View file @
bc2f7327
...
@@ -140,6 +140,7 @@ int pack_msg ( slurm_msg_t const * msg , char ** buffer , uint32_t * buf_len )
...
@@ -140,6 +140,7 @@ int pack_msg ( slurm_msg_t const * msg , char ** buffer , uint32_t * buf_len )
case
REQUEST_NODE_REGISTRATION_STATUS
:
case
REQUEST_NODE_REGISTRATION_STATUS
:
case
REQUEST_RECONFIGURE
:
case
REQUEST_RECONFIGURE
:
case
REQUEST_SHUTDOWN_IMMEDIATE
:
case
REQUEST_SHUTDOWN_IMMEDIATE
:
case
REQUEST_PING
:
/* Message contains no body/information */
/* Message contains no body/information */
break
;
break
;
case
REQUEST_SHUTDOWN
:
case
REQUEST_SHUTDOWN
:
...
@@ -290,6 +291,7 @@ int unpack_msg ( slurm_msg_t * msg , char ** buffer , uint32_t * buf_len )
...
@@ -290,6 +291,7 @@ int unpack_msg ( slurm_msg_t * msg , char ** buffer , uint32_t * buf_len )
case
REQUEST_NODE_REGISTRATION_STATUS
:
case
REQUEST_NODE_REGISTRATION_STATUS
:
case
REQUEST_RECONFIGURE
:
case
REQUEST_RECONFIGURE
:
case
REQUEST_SHUTDOWN_IMMEDIATE
:
case
REQUEST_SHUTDOWN_IMMEDIATE
:
case
REQUEST_PING
:
/* Message contains no body/information */
/* Message contains no body/information */
break
;
break
;
case
REQUEST_SHUTDOWN
:
case
REQUEST_SHUTDOWN
:
...
...
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