aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack-compute-deploy/classes/hosts.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack-compute-deploy/classes/hosts.bbclass')
-rw-r--r--meta-openstack-compute-deploy/classes/hosts.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-openstack-compute-deploy/classes/hosts.bbclass b/meta-openstack-compute-deploy/classes/hosts.bbclass
new file mode 100644
index 00000000..5376b029
--- /dev/null
+++ b/meta-openstack-compute-deploy/classes/hosts.bbclass
@@ -0,0 +1,6 @@
+COMPUTE_IP ?= "192.168.7.4"
+COMPUTE_HOST ?= "compute"
+CONTROLLER_IP ?= "192.168.7.2"
+CONTROLLER_HOST ?= "controller"
+MY_IP ?= "${COMPUTE_IP}"
+MY_HOST ?= "${COMPUTE_HOST}"