Changes to support globalxos profile

Change-Id: I7718be0a63deb829ef25053861937ec5457dff80
diff --git a/globalxos/Makefile b/globalxos/Makefile
new file mode 100644
index 0000000..9f06064
--- /dev/null
+++ b/globalxos/Makefile
@@ -0,0 +1,34 @@
+# globalxos/Makefile
+
+CONFIG_DIR         := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
+COMMON_DIR         := $(abspath ../common )
+
+.DEFAULT_GOAL      := opencloud
+
+DOCKER_PROJECT     ?= globalxos
+BOOTSTRAP_PROJECT  ?= globalxosbs
+
+XOS_BOOTSTRAP_PORT ?= 9998
+XOS_UI_PORT        ?= 9999
+
+# Include common functions
+include $(COMMON_DIR)/Makefile
+
+opencloud: prereqs config_dirs xos_download bootstrap onboarding opencloudconfig globalxos
+
+onboarding:
+	@echo "[ONBOARDING]"
+	# on-board any services here
+	bash ../common/wait_for_onboarding_ready.sh $(XOS_BOOTSTRAP_PORT) xos
+	bash ../common/wait_for_xos_port.sh $(XOS_UI_PORT)
+
+opencloudconfig:
+	@echo "[OPENCLOUDCONFIG]"
+	$(RUN_TOSCA) opencloud.yaml
+	$(RUN_TOSCA) dashboard.yaml
+
+globalxos: $(SERVICE_DIR) $(SERVICE_DIR)/globalxos
+	$(RUN_TOSCA_BOOTSTRAP) $(SERVICE_DIR)/globalxos/xos/globalxos-onboard.yaml
+	bash ../common/wait_for_onboarding_ready.sh $(XOS_BOOTSTRAP_PORT) services/globalxos
+	bash ../common/wait_for_onboarding_ready.sh $(XOS_BOOTSTRAP_PORT) xos
+	bash ../common/wait_for_xos_port.sh $(XOS_UI_PORT)