download ng-xos-lib library

Change-Id: Ib6e0b69300a74fbed552b65e5753c3d1ccd0dc30
diff --git a/common/Makefile b/common/Makefile
index 6a54b74..9677e7e 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -119,6 +119,15 @@
 	git -C $(SERVICE_DIR)/metro-net pull
 	git -C $(SERVICE_DIR)/openstack pull
 
+cord_libraries: $(LIBRARY_DIR) \
+        $(LIBRARY_DIR)/ng-xos-lib
+
+$(LIBRARY_DIR):
+	mkdir -p $(LIBRARY_DIR)
+
+$(LIBRARY_DIR)/ng-xos-lib:
+	git -C $(LIBRARY_DIR) $(GITOPTS) clone -b $(NG_XOS_LIB_BRANCH) $(NG_XOS_LIB_URL)
+
 # bootstrap the containers
 
 RUN_TOSCA_BOOTSTRAP ?= python $(COMMON_DIR)/run_tosca.py $(XOS_BOOTSTRAP_PORT) $(ADMIN_USERNAME) $(ADMIN_PASSWORD)