blob: 5a4560e3261773b9892701dfca036e5a4f6d91ce [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
Zack Williams3670f442016-10-04 17:37:12 -07004COMMON_DIR ?= $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
5CONFIG_DIR ?= $(COMMON_DIR)
Zack Williamsb97dc0b2016-07-29 10:59:34 -07006
Zack Williams3670f442016-10-04 17:37:12 -07007HOME_DIR ?= $(shell echo ~)
8MYIP ?= $(shell hostname -i)
9
10XOS_DIR ?= $(HOME_DIR)/xos
11SERVICE_DIR ?= $(HOME_DIR)/xos_services
Scott Baker62d24282016-10-21 09:19:11 -070012LIBRARY_DIR ?= $(HOME_DIR)/xos_libraries
Zack Williams3670f442016-10-04 17:37:12 -070013
14XOS_BOOTSTRAP_PORT ?= 81
15XOS_UI_PORT ?= 80
16
17DOCKER_PROJECT ?= unknown
18BOOTSTRAP_PROJECT ?= $(DOCKER_PROJECT)bs
19
20ADMIN_USERNAME ?= padmin@vicci.org
21ADMIN_PASSWORD ?= letmein
22
23BOOTSTRAP_YML ?= $(CONFIG_DIR)/docker-compose-bootstrap.yml
24DOCKER_COMPOSE_YML ?= $(CONFIG_DIR)/onboarding-docker-compose/docker-compose.yml
25
26# git repos
Zack Williamsb97dc0b2016-07-29 10:59:34 -070027CORD_BASE_GIT_URL ?= https://gerrit.opencord.org/p
Zack Williamsb97dc0b2016-07-29 10:59:34 -070028DEFAULT_BRANCH ?= master
29
30XOS_BRANCH ?= $(DEFAULT_BRANCH)
31XOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/xos.git
32
33EXAMPLESERVICE_BRANCH ?= $(DEFAULT_BRANCH)
34EXAMPLESERVICE_GIT_URL ?= $(CORD_BASE_GIT_URL)/exampleservice.git
35
36OLT_BRANCH ?= $(DEFAULT_BRANCH)
37OLT_GIT_URL ?= $(CORD_BASE_GIT_URL)/olt.git
38
39VSG_BRANCH ?= $(DEFAULT_BRANCH)
40VSG_GIT_URL ?= $(CORD_BASE_GIT_URL)/vsg.git
41
42VTN_BRANCH ?= $(DEFAULT_BRANCH)
43VTN_GIT_URL ?= $(CORD_BASE_GIT_URL)/vtn.git
44
45VROUTER_BRANCH ?= $(DEFAULT_BRANCH)
46VROUTER_GIT_URL ?= $(CORD_BASE_GIT_URL)/vrouter.git
47
48VTR_BRANCH ?= $(DEFAULT_BRANCH)
49VTR_GIT_URL ?= $(CORD_BASE_GIT_URL)/vtr.git
50
51ONOS_BRANCH ?= $(DEFAULT_BRANCH)
52ONOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/onos-service.git
53
54FABRIC_BRANCH ?= $(DEFAULT_BRANCH)
55FABRIC_GIT_URL ?= $(CORD_BASE_GIT_URL)/fabric.git
56
57MONITORING_BRANCH ?= $(DEFAULT_BRANCH)
58MONITORING_GIT_URL ?= $(CORD_BASE_GIT_URL)/monitoring.git
Scott Baker2daffb12016-08-04 10:20:38 -070059
60HYPERCACHE_BRANCH ?= $(DEFAULT_BRANCH)
61HYPERCACHE_GIT_URL ?= $(CORD_BASE_GIT_URL)/hypercache.git
Scott Baker8ef5e5e2016-08-11 13:37:16 -070062
Rizwan Haider752a48c2016-08-18 15:37:06 -040063METRONETWORK_BRANCH ?= $(DEFAULT_BRANCH)
64METRONETWORK_GIT_URL ?= $(CORD_BASE_GIT_URL)/metro-net.git
65
Scott Baker8ef5e5e2016-08-11 13:37:16 -070066OPENSTACK_BRANCH ?= $(DEFAULT_BRANCH)
67OPENSTACK_GIT_URL ?= $(CORD_BASE_GIT_URL)/openstack.git
Zack Williams3670f442016-10-04 17:37:12 -070068
Scott Baker62d24282016-10-21 09:19:11 -070069NG_XOS_LIB_BRANCH ?= $(DEFAULT_BRANCH)
70NG_XOS_LIB_URL ?= $(CORD_BASE_GIT_URL)/ng-xos-lib.git