blob: a8ccfeb1570e15339f2d771d31fda867267f4616 [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
12
13XOS_BOOTSTRAP_PORT ?= 81
14XOS_UI_PORT ?= 80
15
16DOCKER_PROJECT ?= unknown
17BOOTSTRAP_PROJECT ?= $(DOCKER_PROJECT)bs
18
19ADMIN_USERNAME ?= padmin@vicci.org
20ADMIN_PASSWORD ?= letmein
21
22BOOTSTRAP_YML ?= $(CONFIG_DIR)/docker-compose-bootstrap.yml
23DOCKER_COMPOSE_YML ?= $(CONFIG_DIR)/onboarding-docker-compose/docker-compose.yml
24
25# git repos
Zack Williamsb97dc0b2016-07-29 10:59:34 -070026CORD_BASE_GIT_URL ?= https://gerrit.opencord.org/p
Zack Williamsb97dc0b2016-07-29 10:59:34 -070027DEFAULT_BRANCH ?= master
28
29XOS_BRANCH ?= $(DEFAULT_BRANCH)
30XOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/xos.git
31
32EXAMPLESERVICE_BRANCH ?= $(DEFAULT_BRANCH)
33EXAMPLESERVICE_GIT_URL ?= $(CORD_BASE_GIT_URL)/exampleservice.git
34
35OLT_BRANCH ?= $(DEFAULT_BRANCH)
36OLT_GIT_URL ?= $(CORD_BASE_GIT_URL)/olt.git
37
38VSG_BRANCH ?= $(DEFAULT_BRANCH)
39VSG_GIT_URL ?= $(CORD_BASE_GIT_URL)/vsg.git
40
41VTN_BRANCH ?= $(DEFAULT_BRANCH)
42VTN_GIT_URL ?= $(CORD_BASE_GIT_URL)/vtn.git
43
44VROUTER_BRANCH ?= $(DEFAULT_BRANCH)
45VROUTER_GIT_URL ?= $(CORD_BASE_GIT_URL)/vrouter.git
46
47VTR_BRANCH ?= $(DEFAULT_BRANCH)
48VTR_GIT_URL ?= $(CORD_BASE_GIT_URL)/vtr.git
49
50ONOS_BRANCH ?= $(DEFAULT_BRANCH)
51ONOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/onos-service.git
52
53FABRIC_BRANCH ?= $(DEFAULT_BRANCH)
54FABRIC_GIT_URL ?= $(CORD_BASE_GIT_URL)/fabric.git
55
56MONITORING_BRANCH ?= $(DEFAULT_BRANCH)
57MONITORING_GIT_URL ?= $(CORD_BASE_GIT_URL)/monitoring.git
Scott Baker2daffb12016-08-04 10:20:38 -070058
59HYPERCACHE_BRANCH ?= $(DEFAULT_BRANCH)
60HYPERCACHE_GIT_URL ?= $(CORD_BASE_GIT_URL)/hypercache.git
Scott Baker8ef5e5e2016-08-11 13:37:16 -070061
Rizwan Haider752a48c2016-08-18 15:37:06 -040062METRONETWORK_BRANCH ?= $(DEFAULT_BRANCH)
63METRONETWORK_GIT_URL ?= $(CORD_BASE_GIT_URL)/metro-net.git
64
Scott Baker8ef5e5e2016-08-11 13:37:16 -070065OPENSTACK_BRANCH ?= $(DEFAULT_BRANCH)
66OPENSTACK_GIT_URL ?= $(CORD_BASE_GIT_URL)/openstack.git
Zack Williams3670f442016-10-04 17:37:12 -070067