Nokia: Update service profiles for metro-net and metronet-local
Change-Id: I94554fe05ade1a9162ab25946ed8882ec70c150b
diff --git a/metronetwork/Makefile b/metronetwork/Makefile
index f87ebb4..e083347 100644
--- a/metronetwork/Makefile
+++ b/metronetwork/Makefile
@@ -11,11 +11,17 @@
XOS_BOOTSTRAP_PORT ?= 9998
XOS_UI_PORT ?= 9999
+BOOTSTRAP_DEVEL_YML ?= $(CONFIG_DIR)/docker-compose-bootstrap-devel.yml
+
# Include common functions
include $(COMMON_DIR)/Makefile
metronetwork: prereqs config_dirs xos_download cord_services cord_libraries bootstrap dashboard onboarding ecord_services
+# Targets to accomodate users with HTTP proxies
+metronetworkconfig: prereqs config_dirs xos_download cord_services cord_libraries
+metronetworklaunch: bootstrap dashboard onboarding ecord_services
+
dashboard:
$(RUN_TOSCA_BOOTSTRAP) dashboard.yaml
@@ -38,3 +44,19 @@
clean-config-folder:
sudo docker exec $(DOCKER_PROJECT)_xos_ui_1 rm -f /opt/xos/xos_configuration/xos_mcord_config
sudo docker exec $(DOCKER_PROJECT)_xos_ui_1 rm -f /opt/xos/xos_configuration/xos_cord_config
+
+onboardmetronetlocal:
+ @echo "[ONBOARDING VNOD LOCAL]"
+ # on-board the vnodlocal service - used for testing
+ $(RUN_TOSCA_BOOTSTRAP) $(COMMON_DIR)/tosca/disable-onboarding.yaml
+ $(RUN_TOSCA_BOOTSTRAP) $(LIBRARY_DIR)/ng-xos-lib/ng-xos-lib-onboard.yaml
+ $(RUN_TOSCA_BOOTSTRAP) $(SERVICE_DIR)/metronet-local/xos/vnodlocalservice-onboard.yaml
+ $(RUN_TOSCA_BOOTSTRAP) $(COMMON_DIR)/tosca/enable-onboarding.yaml
+ bash $(COMMON_DIR)/wait_for_onboarding_ready.sh $(XOS_BOOTSTRAP_PORT) services/ng-xos-lib
+ bash $(COMMON_DIR)/wait_for_onboarding_ready.sh $(XOS_BOOTSTRAP_PORT) services/vnodlocal
+ bash $(COMMON_DIR)/wait_for_onboarding_ready.sh $(XOS_BOOTSTRAP_PORT) xos
+ bash $(COMMON_DIR)/wait_for_xos_port.sh $(XOS_UI_PORT)
+
+devel:
+ # Simply start the DB - other steps will be done manually
+ sudo CONFIG_DIR=$(CONFIG_DIR) docker-compose -p $(BOOTSTRAP_PROJECT) -f $(BOOTSTRAP_DEVEL_YML) up -d