Skip to content

Add update_snapshot_policy tool #77

@ebarron

Description

@ebarron

Summary

Add an update_snapshot_policy tool to modify existing snapshot policies.

Background

The ONTAP MCP server currently has create_snapshot_policy and delete_snapshot_policy but no way to update an existing policy (e.g., change schedule, retention count, or rename). Users must delete and recreate policies to make changes, which is disruptive if the policy is assigned to volumes.

Proposed Tool

  • update_snapshot_policy — Update name, schedule, count, or enabled state of an existing snapshot policy

ONTAP REST API Endpoint

  • PATCH /api/storage/snapshot-policies/{uuid}

Priority

Medium — Completes the snapshot policy CRUD surface.

Related

  • Jira: SPSPM-2247

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions