Hi all,
I have a python script to create a clone of a volume but I noticed that the clone inherits the export poilcy from the parent volume but I would like to change that within the script to an exports policy that is built specifically for this new clone.
I played with volume-modify-iter but nothing I input into that portion of the script seems to take.
Any ideas on how to change that export policy while creating the volume clone?
This is the portion of my script that creates the clone:
name = "/vol/"+sys.argv[3]
parent = sys.argv[4]
snap = sys.argv[5]
output = s.invoke("volume-clone-create", "volume", vol, "parent-volume", parent, "parent-snapshot", snap, "junction-path", name)