blob: c7a808de7ec66aa3b2bac0aaea826e51b89f12ee [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
Zack Williamsd7d58f12016-10-24 23:11:06 -070012LIBRARY_DIR ?= $(HOME_DIR)/xos_libraries
Matteo Scandolo76d7bcd2016-11-30 17:08:17 -080013REST_GW_DIR ?= $(HOME_DIR)/xos-rest-gw
14GUI_DIR ?= $(HOME_DIR)/xos-gui
Zack Williams3670f442016-10-04 17:37:12 -070015
16XOS_BOOTSTRAP_PORT ?= 81
17XOS_UI_PORT ?= 80
18
19DOCKER_PROJECT ?= unknown
20BOOTSTRAP_PROJECT ?= $(DOCKER_PROJECT)bs
21
22ADMIN_USERNAME ?= padmin@vicci.org
23ADMIN_PASSWORD ?= letmein
24
25BOOTSTRAP_YML ?= $(CONFIG_DIR)/docker-compose-bootstrap.yml
26DOCKER_COMPOSE_YML ?= $(CONFIG_DIR)/onboarding-docker-compose/docker-compose.yml
27
28# git repos
Zack Williamsb97dc0b2016-07-29 10:59:34 -070029CORD_BASE_GIT_URL ?= https://gerrit.opencord.org/p
Zack Williamsb97dc0b2016-07-29 10:59:34 -070030DEFAULT_BRANCH ?= master
31
32XOS_BRANCH ?= $(DEFAULT_BRANCH)
33XOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/xos.git
34
35EXAMPLESERVICE_BRANCH ?= $(DEFAULT_BRANCH)
36EXAMPLESERVICE_GIT_URL ?= $(CORD_BASE_GIT_URL)/exampleservice.git
37
38OLT_BRANCH ?= $(DEFAULT_BRANCH)
39OLT_GIT_URL ?= $(CORD_BASE_GIT_URL)/olt.git
40
41VSG_BRANCH ?= $(DEFAULT_BRANCH)
42VSG_GIT_URL ?= $(CORD_BASE_GIT_URL)/vsg.git
43
44VTN_BRANCH ?= $(DEFAULT_BRANCH)
45VTN_GIT_URL ?= $(CORD_BASE_GIT_URL)/vtn.git
46
47VROUTER_BRANCH ?= $(DEFAULT_BRANCH)
48VROUTER_GIT_URL ?= $(CORD_BASE_GIT_URL)/vrouter.git
49
50VTR_BRANCH ?= $(DEFAULT_BRANCH)
51VTR_GIT_URL ?= $(CORD_BASE_GIT_URL)/vtr.git
52
53ONOS_BRANCH ?= $(DEFAULT_BRANCH)
54ONOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/onos-service.git
55
56FABRIC_BRANCH ?= $(DEFAULT_BRANCH)
57FABRIC_GIT_URL ?= $(CORD_BASE_GIT_URL)/fabric.git
58
59MONITORING_BRANCH ?= $(DEFAULT_BRANCH)
60MONITORING_GIT_URL ?= $(CORD_BASE_GIT_URL)/monitoring.git
Scott Baker2daffb12016-08-04 10:20:38 -070061
62HYPERCACHE_BRANCH ?= $(DEFAULT_BRANCH)
63HYPERCACHE_GIT_URL ?= $(CORD_BASE_GIT_URL)/hypercache.git
Scott Baker8ef5e5e2016-08-11 13:37:16 -070064
Rizwan Haider752a48c2016-08-18 15:37:06 -040065METRONETWORK_BRANCH ?= $(DEFAULT_BRANCH)
66METRONETWORK_GIT_URL ?= $(CORD_BASE_GIT_URL)/metro-net.git
67
Scott Baker8ef5e5e2016-08-11 13:37:16 -070068OPENSTACK_BRANCH ?= $(DEFAULT_BRANCH)
69OPENSTACK_GIT_URL ?= $(CORD_BASE_GIT_URL)/openstack.git
Zack Williams3670f442016-10-04 17:37:12 -070070
Scott Baker62d24282016-10-21 09:19:11 -070071NG_XOS_LIB_BRANCH ?= $(DEFAULT_BRANCH)
72NG_XOS_LIB_URL ?= $(CORD_BASE_GIT_URL)/ng-xos-lib.git
Andy Bavier094e7162016-11-02 17:01:22 -040073
Rizwan Haider0bab5f42016-11-10 01:21:07 -050074VNODLOCAL_BRANCH ?= $(DEFAULT_BRANCH)
75VNODLOCAL_GIT_URL ?= $(CORD_BASE_GIT_URL)/metronet-local.git
76
Andy Bavier094e7162016-11-02 17:01:22 -040077GLOBALXOS_BRANCH ?= $(DEFAULT_BRANCH)
78GLOBALXOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/globalxos.git