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