From 8474e04644130165efafeb077bb81643500567fd Mon Sep 17 00:00:00 2001
From: Vasyl Saienko <vsaienko@mirantis.com>
Date: Wed, 27 Apr 2016 03:59:48 -0400
Subject: [PATCH] Use Ironic node name for VM

Use the same names for Ironic node and VM.
It makes troubleshooting easier.

Change-Id: Iefb08ff718d9105f3b0c4280022e7ef36efd4255
---
 devstack/lib/ironic | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devstack/lib/ironic b/devstack/lib/ironic
index a4906685bf..e35dccd786 100644
--- a/devstack/lib/ironic
+++ b/devstack/lib/ironic
@@ -577,7 +577,7 @@ function _ironic_bm_vm_names {
     local num_vms
     num_vms=$(($IRONIC_VM_COUNT - 1))
     for idx in $(seq 0 $num_vms); do
-        echo "baremetal${IRONIC_VM_NETWORK_BRIDGE}_${idx}"
+        echo "node-${idx}"
     done
 }