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