Skip to content

Add LUN lifecycle management tools (create, resize, delete, online/offline) #73

@ebarron

Description

@ebarron

Summary

Add dedicated MCP tools for LUN (Logical Unit Number) lifecycle management to support SAN (iSCSI and FC) storage provisioning.

Background

Per SPSPM-2247, the ONTAP MCP server should support iSCSI and FC LUN management. Currently there are no LUN-specific tools — only NAS (NFS/CIFS) provisioning is supported.

Proposed Tools

  • create_lun — Create a LUN on a specified volume/SVM with size and OS type
  • update_lun — Resize a LUN, rename, change attributes
  • delete_lun — Delete a LUN
  • online/offline — Toggle LUN state via update

ONTAP REST API Endpoints

  • POST /api/storage/luns
  • PATCH /api/storage/luns/{uuid}
  • DELETE /api/storage/luns/{uuid}

Priority

High — Core SAN gap; prerequisite for iSCSI and FC provisioning workflows.

Related

  • Jira: SPSPM-2247
  • Depends on: igroup management and LUN mapping for complete SAN workflows

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions