Commit 93977a36 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: Defer creation of the Movement

  Hold the request makes the user hangs there waiting for response.
parent 4ba8324e
"""
Create an internal Packing List and attach the compute_node
"""
context.requestTransfer(
tag = "transfer_compute_node_%s" % context.getUid()
context.activate(activity="SQLQueue", tag=tag).requestTransfer(
destination=destination,
destination_project=destination_project,
destination_section=destination_section
......
"""
Create an internal Packing List and attach the compute_node
Create an internal Packing List and attach the computer network
"""
context.requestTransfer(
tag = "transfer_compute_network_%s" % context.getUid()
context.activate(activity="SQLQueue", tag=tag).requestTransfer(
destination_project=destination_project,
destination_section=destination_section
)
"""
Create an internal Packing List and attach the compute_node
"""
context.requestTransfer(
tag = "transfer_instance_tree_%s" % context.getUid()
context.activate(activity="SQLQueue",tag=tag).requestTransfer(
destination=destination,
destination_project=destination_project
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment