MCPcopy Create free account
hub / github.com/EMCECS/ECS-CommunityEdition / getVarrayID

Function getVarrayID

ecs-single-node/step2_object_provisioning.py:60–61  ·  view source on GitHub ↗
(ECSNode)

Source from the content-addressed store, hash-verified

58 return executeRestAPI(url, 'GET','.id', "", ECSNode,checkOutput=1)["id"]
59
60def getVarrayID(ECSNode):
61 return executeRestAPI('/vdc/data-services/varrays', 'GET','.id', "", ECSNode, checkOutput=1)['varray'][0]["id"]
62
63def getVpoolID(ECSNode):
64 return executeRestAPI('/vdc/data-service/vpools', 'GET','.id', "", ECSNode, checkOutput=1)['data_service_vpool'][0]["id"]

Callers 2

CreateObjectVpoolFunction · 0.70
mainFunction · 0.70

Calls 1

executeRestAPIFunction · 0.70

Tested by

no test coverage detected