blob: eb7229974459d574aa5e767dde249bb7e66cee2c [file] [log] [blame]
Zack Williams7828f222016-10-19 14:04:51 -07001# common/Makedefs
2# Defines commonly used Makefile variables
Zack Williamsb97dc0b2016-07-29 10:59:34 -07003
Matteo Scandolo2dad22d2017-01-12 15:43:44 -08004NO_DOCKER_CACHE ?= false
5
Zack Williams3670f442016-10-04 17:37:12 -07006COMMON_DIR ?= $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
7CONFIG_DIR ?= $(COMMON_DIR)
Zack Williamsb97dc0b2016-07-29 10:59:34 -07008
Zack Williams3670f442016-10-04 17:37:12 -07009HOME_DIR ?= $(shell echo ~)
10MYIP ?= $(shell hostname -i)
11
12XOS_DIR ?= $(HOME_DIR)/xos
13SERVICE_DIR ?= $(HOME_DIR)/xos_services
Zack Williamsd7d58f12016-10-24 23:11:06 -070014LIBRARY_DIR ?= $(HOME_DIR)/xos_libraries
Matteo Scandoloa317b872017-01-10 12:02:41 -080015# NOTE should we move xos-gui and xos-rest-gw to these folder instead that in libraries? In case update repo manifest accordingly
16# REST_GW_DIR ?= $(HOME_DIR)/xos-rest-gw
17# GUI_DIR ?= $(HOME_DIR)/xos-gui
Zack Williams3670f442016-10-04 17:37:12 -070018
Matteo Scandoloa317b872017-01-10 12:02:41 -080019XOS_BOOTSTRAP_PORT ?= 9001
20XOS_UI_PORT ?= 9000
Zack Williams3670f442016-10-04 17:37:12 -070021
22DOCKER_PROJECT ?= unknown
23BOOTSTRAP_PROJECT ?= $(DOCKER_PROJECT)bs
24
25ADMIN_USERNAME ?= padmin@vicci.org
26ADMIN_PASSWORD ?= letmein
27
28BOOTSTRAP_YML ?= $(CONFIG_DIR)/docker-compose-bootstrap.yml
29DOCKER_COMPOSE_YML ?= $(CONFIG_DIR)/onboarding-docker-compose/docker-compose.yml
30
31# git repos
Zack Williamsb97dc0b2016-07-29 10:59:34 -070032CORD_BASE_GIT_URL ?= https://gerrit.opencord.org/p
Zack Williamsb97dc0b2016-07-29 10:59:34 -070033DEFAULT_BRANCH ?= master
34
35XOS_BRANCH ?= $(DEFAULT_BRANCH)
36XOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/xos.git
37
38EXAMPLESERVICE_BRANCH ?= $(DEFAULT_BRANCH)
39EXAMPLESERVICE_GIT_URL ?= $(CORD_BASE_GIT_URL)/exampleservice.git
40
41OLT_BRANCH ?= $(DEFAULT_BRANCH)
42OLT_GIT_URL ?= $(CORD_BASE_GIT_URL)/olt.git
43
44VSG_BRANCH ?= $(DEFAULT_BRANCH)
45VSG_GIT_URL ?= $(CORD_BASE_GIT_URL)/vsg.git
46
47VTN_BRANCH ?= $(DEFAULT_BRANCH)
48VTN_GIT_URL ?= $(CORD_BASE_GIT_URL)/vtn.git
49
50VROUTER_BRANCH ?= $(DEFAULT_BRANCH)
51VROUTER_GIT_URL ?= $(CORD_BASE_GIT_URL)/vrouter.git
52
53VTR_BRANCH ?= $(DEFAULT_BRANCH)
54VTR_GIT_URL ?= $(CORD_BASE_GIT_URL)/vtr.git
55
56ONOS_BRANCH ?= $(DEFAULT_BRANCH)
57ONOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/onos-service.git
58
59FABRIC_BRANCH ?= $(DEFAULT_BRANCH)
60FABRIC_GIT_URL ?= $(CORD_BASE_GIT_URL)/fabric.git
61
62MONITORING_BRANCH ?= $(DEFAULT_BRANCH)
63MONITORING_GIT_URL ?= $(CORD_BASE_GIT_URL)/monitoring.git
Scott Baker2daffb12016-08-04 10:20:38 -070064
65HYPERCACHE_BRANCH ?= $(DEFAULT_BRANCH)
66HYPERCACHE_GIT_URL ?= $(CORD_BASE_GIT_URL)/hypercache.git
Scott Baker8ef5e5e2016-08-11 13:37:16 -070067
Rizwan Haider752a48c2016-08-18 15:37:06 -040068METRONETWORK_BRANCH ?= $(DEFAULT_BRANCH)
69METRONETWORK_GIT_URL ?= $(CORD_BASE_GIT_URL)/metro-net.git
70
Scott Baker8ef5e5e2016-08-11 13:37:16 -070071OPENSTACK_BRANCH ?= $(DEFAULT_BRANCH)
72OPENSTACK_GIT_URL ?= $(CORD_BASE_GIT_URL)/openstack.git
Zack Williams3670f442016-10-04 17:37:12 -070073
Scott Baker62d24282016-10-21 09:19:11 -070074NG_XOS_LIB_BRANCH ?= $(DEFAULT_BRANCH)
75NG_XOS_LIB_URL ?= $(CORD_BASE_GIT_URL)/ng-xos-lib.git
Andy Bavier094e7162016-11-02 17:01:22 -040076
Rizwan Haider0bab5f42016-11-10 01:21:07 -050077VNODLOCAL_BRANCH ?= $(DEFAULT_BRANCH)
78VNODLOCAL_GIT_URL ?= $(CORD_BASE_GIT_URL)/metronet-local.git
79
Andy Bavier094e7162016-11-02 17:01:22 -040080GLOBALXOS_BRANCH ?= $(DEFAULT_BRANCH)
81GLOBALXOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/globalxos.git
Matteo Scandoloa317b872017-01-10 12:02:41 -080082
83XOS_REST_GW_BRANCH ?= $(DEFAULT_BRANCH)
84XOS_REST_GW_URL ?= $(CORD_BASE_GIT_URL)/xos-rest-gw.git
85
86XOS_GUI_BRANCH ?= $(DEFAULT_BRANCH)
87XOS_GUI_URL ?= $(CORD_BASE_GIT_URL)/xos-gui.git