Portworx · Capability
OpenStorage SDK — OpenStorageNode
OpenStorage SDK — OpenStorageNode. 9 operations. Lead operation: Enumerate returns the ids of all the nodes in the current cluster. Self-contained Naftiko capability covering one Portworx business surface.
What You Can Do
GET
Openstoragenodeenumerate
— Enumerate returns the ids of all the nodes in the current cluster
/v1/v1/nodes
PUT
Openstoragenodecordonattachments
— CordonAttachments disables any new volume attachments
/v1/v1/nodes/attachments/disable/{node-id}
PUT
Openstoragenodedrainattachments
— DrainAttachments creates a task to drain volume attachments
/v1/v1/nodes/attachments/drain/{node-id}
PUT
Openstoragenodeuncordonattachments
— UncordonAttachments re-enables volume attachments
/v1/v1/nodes/attachments/enable/{node-id}
POST
Openstoragenodevolumebytesusedbynode
— Returns bytes used of multiple volumes for a give node
/v1/v1/nodes/bytesused
GET
Openstoragenodeenumeratewithfilters
— EnumerateWithFilters returns all the nodes in the current cluster
/v1/v1/nodes/filters
GET
Openstoragenodeinspect
— Inspect returns information about the specified node
/v1/v1/nodes/inspect/{node-id}
GET
Openstoragenodeinspectcurrent
— InspectCurrent returns information about the storage node
/v1/v1/nodes/inspectcurrent
GET
Openstoragenoderelaxedreclaimpurge
— Triggers RelaxedReclaim purge for a give node
/v1/v1/nodes/usage/{node-id}
MCP Tools
enumerate-returns-ids-all-nodes
Enumerate returns the ids of all the nodes in the current cluster
read-only
idempotent
cordonattachments-disables-any-new-volume
CordonAttachments disables any new volume attachments
idempotent
drainattachments-creates-task-drain-volume
DrainAttachments creates a task to drain volume attachments
idempotent
uncordonattachments-re-enables-volume-attachments
UncordonAttachments re-enables volume attachments
idempotent
returns-bytes-used-multiple-volumes
Returns bytes used of multiple volumes for a give node
enumeratewithfilters-returns-all-nodes-current
EnumerateWithFilters returns all the nodes in the current cluster
read-only
idempotent
inspect-returns-information-about-specified
Inspect returns information about the specified node
read-only
idempotent
inspectcurrent-returns-information-about-storage
InspectCurrent returns information about the storage node
read-only
idempotent
triggers-relaxedreclaim-purge-give-node
Triggers RelaxedReclaim purge for a give node
read-only
idempotent