Skip to content

Commit

Permalink
Add option to server_side_calls
Browse files Browse the repository at this point in the history
  • Loading branch information
rhartmann authored Nov 14, 2024
1 parent b76dcc2 commit 671d1f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmk/plugins/vsphere/server_side_calls/special_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class Params(BaseModel):
timeout: int | None = None
infos: Sequence[str]
skip_placeholder_vms: bool
ignore_templates: bool
host_pwr_display: str | None = None
vm_pwr_display: str | None = None
snapshots_on_host: bool
Expand All @@ -55,6 +56,9 @@ def commands_function( # pylint: disable=too-many-branches

if params.skip_placeholder_vms:
command_arguments.append("-P")

if params.ignore_templates:
command_arguments.append("-T")

if params.spaces:
command_arguments += ["--spaces", params.spaces]
Expand Down

0 comments on commit 671d1f2

Please sign in to comment.