Zack Williams | 7828f22 | 2016-10-19 14:04:51 -0700 | [diff] [blame] | 1 | # common/Makedefs |
| 2 | # Defines commonly used Makefile variables |
Zack Williams | b97dc0b | 2016-07-29 10:59:34 -0700 | [diff] [blame] | 3 | |
Matteo Scandolo | 2dad22d | 2017-01-12 15:43:44 -0800 | [diff] [blame] | 4 | NO_DOCKER_CACHE ?= false |
| 5 | |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 6 | COMMON_DIR ?= $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) |
| 7 | CONFIG_DIR ?= $(COMMON_DIR) |
Zack Williams | b97dc0b | 2016-07-29 10:59:34 -0700 | [diff] [blame] | 8 | |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 9 | HOME_DIR ?= $(shell echo ~) |
| 10 | MYIP ?= $(shell hostname -i) |
| 11 | |
| 12 | XOS_DIR ?= $(HOME_DIR)/xos |
| 13 | SERVICE_DIR ?= $(HOME_DIR)/xos_services |
Zack Williams | d7d58f1 | 2016-10-24 23:11:06 -0700 | [diff] [blame] | 14 | LIBRARY_DIR ?= $(HOME_DIR)/xos_libraries |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 15 | # 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 Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 18 | |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 19 | XOS_BOOTSTRAP_PORT ?= 9001 |
| 20 | XOS_UI_PORT ?= 9000 |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 21 | |
| 22 | DOCKER_PROJECT ?= unknown |
| 23 | BOOTSTRAP_PROJECT ?= $(DOCKER_PROJECT)bs |
| 24 | |
| 25 | ADMIN_USERNAME ?= padmin@vicci.org |
| 26 | ADMIN_PASSWORD ?= letmein |
| 27 | |
| 28 | BOOTSTRAP_YML ?= $(CONFIG_DIR)/docker-compose-bootstrap.yml |
| 29 | DOCKER_COMPOSE_YML ?= $(CONFIG_DIR)/onboarding-docker-compose/docker-compose.yml |
| 30 | |
| 31 | # git repos |
Zack Williams | b97dc0b | 2016-07-29 10:59:34 -0700 | [diff] [blame] | 32 | CORD_BASE_GIT_URL ?= https://gerrit.opencord.org/p |
Zack Williams | b97dc0b | 2016-07-29 10:59:34 -0700 | [diff] [blame] | 33 | DEFAULT_BRANCH ?= master |
| 34 | |
| 35 | XOS_BRANCH ?= $(DEFAULT_BRANCH) |
| 36 | XOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/xos.git |
| 37 | |
| 38 | EXAMPLESERVICE_BRANCH ?= $(DEFAULT_BRANCH) |
| 39 | EXAMPLESERVICE_GIT_URL ?= $(CORD_BASE_GIT_URL)/exampleservice.git |
| 40 | |
| 41 | OLT_BRANCH ?= $(DEFAULT_BRANCH) |
| 42 | OLT_GIT_URL ?= $(CORD_BASE_GIT_URL)/olt.git |
| 43 | |
| 44 | VSG_BRANCH ?= $(DEFAULT_BRANCH) |
| 45 | VSG_GIT_URL ?= $(CORD_BASE_GIT_URL)/vsg.git |
| 46 | |
| 47 | VTN_BRANCH ?= $(DEFAULT_BRANCH) |
| 48 | VTN_GIT_URL ?= $(CORD_BASE_GIT_URL)/vtn.git |
| 49 | |
| 50 | VROUTER_BRANCH ?= $(DEFAULT_BRANCH) |
| 51 | VROUTER_GIT_URL ?= $(CORD_BASE_GIT_URL)/vrouter.git |
| 52 | |
| 53 | VTR_BRANCH ?= $(DEFAULT_BRANCH) |
| 54 | VTR_GIT_URL ?= $(CORD_BASE_GIT_URL)/vtr.git |
| 55 | |
| 56 | ONOS_BRANCH ?= $(DEFAULT_BRANCH) |
| 57 | ONOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/onos-service.git |
| 58 | |
| 59 | FABRIC_BRANCH ?= $(DEFAULT_BRANCH) |
| 60 | FABRIC_GIT_URL ?= $(CORD_BASE_GIT_URL)/fabric.git |
| 61 | |
| 62 | MONITORING_BRANCH ?= $(DEFAULT_BRANCH) |
| 63 | MONITORING_GIT_URL ?= $(CORD_BASE_GIT_URL)/monitoring.git |
Scott Baker | 2daffb1 | 2016-08-04 10:20:38 -0700 | [diff] [blame] | 64 | |
| 65 | HYPERCACHE_BRANCH ?= $(DEFAULT_BRANCH) |
| 66 | HYPERCACHE_GIT_URL ?= $(CORD_BASE_GIT_URL)/hypercache.git |
Scott Baker | 8ef5e5e | 2016-08-11 13:37:16 -0700 | [diff] [blame] | 67 | |
Rizwan Haider | 752a48c | 2016-08-18 15:37:06 -0400 | [diff] [blame] | 68 | METRONETWORK_BRANCH ?= $(DEFAULT_BRANCH) |
| 69 | METRONETWORK_GIT_URL ?= $(CORD_BASE_GIT_URL)/metro-net.git |
| 70 | |
Scott Baker | 8ef5e5e | 2016-08-11 13:37:16 -0700 | [diff] [blame] | 71 | OPENSTACK_BRANCH ?= $(DEFAULT_BRANCH) |
| 72 | OPENSTACK_GIT_URL ?= $(CORD_BASE_GIT_URL)/openstack.git |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 73 | |
Scott Baker | 62d2428 | 2016-10-21 09:19:11 -0700 | [diff] [blame] | 74 | NG_XOS_LIB_BRANCH ?= $(DEFAULT_BRANCH) |
| 75 | NG_XOS_LIB_URL ?= $(CORD_BASE_GIT_URL)/ng-xos-lib.git |
Andy Bavier | 094e716 | 2016-11-02 17:01:22 -0400 | [diff] [blame] | 76 | |
Rizwan Haider | 0bab5f4 | 2016-11-10 01:21:07 -0500 | [diff] [blame] | 77 | VNODLOCAL_BRANCH ?= $(DEFAULT_BRANCH) |
| 78 | VNODLOCAL_GIT_URL ?= $(CORD_BASE_GIT_URL)/metronet-local.git |
| 79 | |
Andy Bavier | 094e716 | 2016-11-02 17:01:22 -0400 | [diff] [blame] | 80 | GLOBALXOS_BRANCH ?= $(DEFAULT_BRANCH) |
| 81 | GLOBALXOS_GIT_URL ?= $(CORD_BASE_GIT_URL)/globalxos.git |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 82 | |
| 83 | XOS_REST_GW_BRANCH ?= $(DEFAULT_BRANCH) |
| 84 | XOS_REST_GW_URL ?= $(CORD_BASE_GIT_URL)/xos-rest-gw.git |
| 85 | |
| 86 | XOS_GUI_BRANCH ?= $(DEFAULT_BRANCH) |
| 87 | XOS_GUI_URL ?= $(CORD_BASE_GIT_URL)/xos-gui.git |