Skip to content

Add LUN mapping/unmapping tools #75

@ebarron

Description

@ebarron

Summary

Add MCP tools for mapping and unmapping LUNs to igroups, completing the SAN provisioning workflow.

Background

Per SPSPM-2247, LUN mapping connects a LUN to an igroup, making the LUN accessible to hosts. This is the final step in a SAN provisioning workflow: create volume -> create LUN -> create igroup -> map LUN to igroup.

Proposed Tools

  • create_lun_map — Map a LUN to an igroup (with optional LUN ID)
  • delete_lun_map — Unmap a LUN from an igroup

ONTAP REST API Endpoints

  • POST /api/protocols/san/lun-maps
  • DELETE /api/protocols/san/lun-maps/{lun.uuid}/{igroup.uuid}

Priority

High — Connects LUNs to igroups for host access; completes the SAN workflow.

Related

  • Jira: SPSPM-2247
  • Depends on: LUN lifecycle tools, igroup management tools

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions