aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2021-12-17 18:39:54 +0000
committerGerrit Code Review <gerrit@opnfv.org>2021-12-17 18:39:54 +0000
commit3dc3f74157c6ddf779f27c6263eacbef91fa6798 (patch)
tree485ab5233d7bcb9ec2806aa507a9b99e16785c5a
parent310b10d38b2f2a7cfe074a5b6b295fdda083a34a (diff)
parent91ae059111a88ce8daf717b968743a4a72ad832e (diff)
Merge "Set private/public VLAN pools on generated quick booking template"
-rw-r--r--src/booking/quick_deployer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/booking/quick_deployer.py b/src/booking/quick_deployer.py
index 31865be..4b85d76 100644
--- a/src/booking/quick_deployer.py
+++ b/src/booking/quick_deployer.py
@@ -82,6 +82,8 @@ def update_template(old_template, image, hostname, user, global_cloud_config=Non
description=old_template.description,
public=False,
temporary=True,
+ private_vlan_pool=old_template.private_vlan_pool,
+ public_vlan_pool=old_template.public_vlan_pool,
copy_of=old_template
)