
2.8.
CLASS: POOL PATCH
CHAPTER 2.
API REFERENCE
2.8
Class: pool patch
2.8.1
Fields for class: pool patch
Name
pool patch
Description
Pool-wide patches.
Quals
Field
Type
Description
RO
run
uuid
string
unique identifier/object reference
RO
ins
name/label
string
a human-readable name
RO
ins
name/description
string
a
notes
field
containg
human-
readable description
RO
ins
version
string
Patch version number
RO
run
filename
string
Filename of the patch
RO
run
size
int
Size of the patch
RO
run
pool applied
bool
This patch should be applied across
the entire pool
RO
run
host patches
(host patch ref) Set
This hosts this patch is applied to.
RO
run
after apply guidance
(after apply guidance) Set
What the client should do after this
patch has been applied.
RW
other config
(string
→
string) Map
additional configuration
2.8.2
RPCs associated with class: pool patch
RPC name: apply
Overview:
Apply the selected patch to a host and return its output.
Signature:
string apply (session_id s, pool_patch ref self, host ref host)
Arguments:
type
name
description
pool patch ref
self
The patch to apply
host ref
host
The host to apply the patch too
Return Type:
string
the output of the patch application process
RPC name: pool apply
Overview:
Apply the selected patch to all hosts in the pool and return a map of host ref -¿ patch output.
Signature:
void pool_apply (session_id s, pool_patch ref self)
Arguments:
type
name
description
pool patch ref
self
The patch to apply
Return Type:
void
47