summaryrefslogtreecommitdiffstats
path: root/utils/infra_setup/heat/manager.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/infra_setup/heat/manager.py')
-rw-r--r--utils/infra_setup/heat/manager.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/infra_setup/heat/manager.py b/utils/infra_setup/heat/manager.py
index 3a270ac1..5c181ae6 100644
--- a/utils/infra_setup/heat/manager.py
+++ b/utils/infra_setup/heat/manager.py
@@ -11,6 +11,7 @@ import time
import common as op_utils
from glanceclient.client import Client as GlanceClient
from novaclient.client import Client as NovaClient
+from neutronclient.v2_0.client import Client as NeutronClient
def _get_glance_client():
@@ -28,6 +29,12 @@ def _get_nova_client():
session=sess)
+def _get_neutron_client():
+ sess = op_utils.get_session()
+ neutron_client = NeutronClient(session=sess)
+ return neutron_client
+
+
def stack_create_images(
imagefile=None,
image_name="bottlenecks_image"):