blob: 72a46547ce611d2d3d5dc3b5c4608e89f0ae9984 [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 Scandoloa317b872017-01-10 12:02:41 -080013# NOTE should we move xos-gui and xos-rest-gw to these folder instead that in libraries? In case update repo manifest accordingly
14# REST_GW_DIR ?= $(HOME_DIR)/xos-rest-gw
15# GUI_DIR ?= $(HOME_DIR)/xos-gui
Zack Williams3670f442016-10-04 17:37:12 -070016
Matteo Scandoloa317b872017-01-10 12:02:41 -080017XOS_BOOTSTRAP_PORT ?= 9001
18XOS_UI_PORT ?= 9000
Zack Williams3670f442016-10-04 17:37:12 -070019
20DOCKER_PROJECT ?= unknown
21BOOTSTRAP_PROJECT ?= $(DOCKER_PROJECT)bs
22
23ADMIN_USERNAME ?= padmin@vicci.org
24ADMIN_PASSWORD ?= letmein
25
26BOOTSTRAP_YML ?= $(CONFIG_DIR)/docker-compose-bootstrap.yml
27DOCKER_COMPOSE_YML ?= $(CONFIG_DIR)/onboarding-docker-compose/docker-compose.yml
28
29# git repos
Zack Williamsb97dc0b2016-07-29 10:59:34 -070030CORD_BASE_GIT_URL ?= https://gerrit.opencord.org/p
Zack Williamsb97dc0b2016-07-29 10:59:34 -070031DEFAULT_BRANCH ?= master
32
33XOS_BRANCH ?= $(DEFAULT_BRANCH)
34XOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/xos.git
35
36EXAMPLESERVICE_BRANCH ?= $(DEFAULT_BRANCH)
37EXAMPLESERVICE_GIT_URL ?= $(CORD_BASE_GIT_URL)/exampleservice.git
38
39OLT_BRANCH ?= $(DEFAULT_BRANCH)
40OLT_GIT_URL ?= $(CORD_BASE_GIT_URL)/olt.git
41
42VSG_BRANCH ?= $(DEFAULT_BRANCH)
43VSG_GIT_URL ?= $(CORD_BASE_GIT_URL)/vsg.git
44
45VTN_BRANCH ?= $(DEFAULT_BRANCH)
46VTN_GIT_URL ?= $(CORD_BASE_GIT_URL)/vtn.git
47
48VROUTER_BRANCH ?= $(DEFAULT_BRANCH)
49VROUTER_GIT_URL ?= $(CORD_BASE_GIT_URL)/vrouter.git
50
51VTR_BRANCH ?= $(DEFAULT_BRANCH)
52VTR_GIT_URL ?= $(CORD_BASE_GIT_URL)/vtr.git
53
54ONOS_BRANCH ?= $(DEFAULT_BRANCH)
55ONOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/onos-service.git
56
57FABRIC_BRANCH ?= $(DEFAULT_BRANCH)
58FABRIC_GIT_URL ?= $(CORD_BASE_GIT_URL)/fabric.git
59
60MONITORING_BRANCH ?= $(DEFAULT_BRANCH)
61MONITORING_GIT_URL ?= $(CORD_BASE_GIT_URL)/monitoring.git
Scott Baker2daffb12016-08-04 10:20:38 -070062
63HYPERCACHE_BRANCH ?= $(DEFAULT_BRANCH)
64HYPERCACHE_GIT_URL ?= $(CORD_BASE_GIT_URL)/hypercache.git
Scott Baker8ef5e5e2016-08-11 13:37:16 -070065
Rizwan Haider752a48c2016-08-18 15:37:06 -040066METRONETWORK_BRANCH ?= $(DEFAULT_BRANCH)
67METRONETWORK_GIT_URL ?= $(CORD_BASE_GIT_URL)/metro-net.git
68
Scott Baker8ef5e5e2016-08-11 13:37:16 -070069OPENSTACK_BRANCH ?= $(DEFAULT_BRANCH)
70OPENSTACK_GIT_URL ?= $(CORD_BASE_GIT_URL)/openstack.git
Zack Williams3670f442016-10-04 17:37:12 -070071
Scott Baker62d24282016-10-21 09:19:11 -070072NG_XOS_LIB_BRANCH ?= $(DEFAULT_BRANCH)
73NG_XOS_LIB_URL ?= $(CORD_BASE_GIT_URL)/ng-xos-lib.git
Andy Bavier094e7162016-11-02 17:01:22 -040074
Rizwan Haider0bab5f42016-11-10 01:21:07 -050075VNODLOCAL_BRANCH ?= $(DEFAULT_BRANCH)
76VNODLOCAL_GIT_URL ?= $(CORD_BASE_GIT_URL)/metronet-local.git
77
Andy Bavier094e7162016-11-02 17:01:22 -040078GLOBALXOS_BRANCH ?= $(DEFAULT_BRANCH)
79GLOBALXOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/globalxos.git
Matteo Scandoloa317b872017-01-10 12:02:41 -080080
81XOS_REST_GW_BRANCH ?= $(DEFAULT_BRANCH)
82XOS_REST_GW_URL ?= $(CORD_BASE_GIT_URL)/xos-rest-gw.git
83
84XOS_GUI_BRANCH ?= $(DEFAULT_BRANCH)
85XOS_GUI_URL ?= $(CORD_BASE_GIT_URL)/xos-gui.git