kuryr-libnetwork/devstack/settings
Liping Mao 68edfeacdc use kuryr-lib master code by default in kuryr-libnetwork vagrant
Currently, devstack will install kuryr-lib 0.1.0 for
kuryr-libnetwork. But we still need to check if kuryr-libnetwork
can work with kuryr-lib master code. This patch introduce
LIBS_FROM_GIT to let devstack install latest kuryr-lib code.
And let kuryr-libnetwork use kuryr-lib master code by default
in vagrant.

Change-Id: Id05dab5bd6a4aa2efe5f6991e9fd5fc38c1cf91b
Partially-implements: bp cross-project-ci
Closes-bug: #1630971
2016-11-02 16:20:07 +08:00

29 lines
1.2 KiB
Plaintext

KURYR_HOME=${KURYR_HOME:-$DEST/kuryr-libnetwork}
KURYR_ACTIVATOR_FILENAME=kuryr.spec
KURYR_DEFAULT_ACTIVATOR=${KURYR_HOME}/etc/${KURYR_ACTIVATOR_FILENAME}
# See libnetwork's plugin discovery mechanism:
# https://github.com/docker/docker/blob/c4d45b6a29a91f2fb5d7a51ac36572f2a9b295c6/docs/extend/plugin_api.md#plugin-discovery
KURYR_ACTIVATOR_DIR=${KURYR_ACTIVATOR_DIR:-/usr/lib/docker/plugins/kuryr}
KURYR_ACTIVATOR=${KURYR_ACTIVATOR_DIR}/${KURYR_ACTIVATOR_FILENAME}
KURYR_CONFIG_FILENAME=kuryr.conf
KURYR_DEFAULT_CONFIG=${KURYR_HOME}/etc/${KURYR_CONFIG_FILENAME}
KURYR_CONFIG_DIR=${KURYR_CONFIG_DIR:-/etc/kuryr}
KURYR_CONFIG=${KURYR_CONFIG_DIR}/${KURYR_CONFIG_FILENAME}
KURYR_AUTH_CACHE_DIR=${KURYR_AUTH_CACHE_DIR:-/var/cache/kuryr}
KURYR_POOL_PREFIX=${KURYR_POOL_PREFIX:-10.10.0.0/16}
KURYR_POOL_PREFIX_LEN=${KURYR_POOL_PREFIX_LEN:-24}
KURYR_DOCKER_ENGINE_PORT=${KURYR_DOCKER_ENGINE_PORT:-2375}
KURYR_DOCKER_ENGINE_SOCKET_FILE=${KURYR_DOCKER_ENGINE_SOCKET_FILE:-/var/run/docker.sock}
KURYR_ETCD_PORT=${KURYR_ETCD_PORT:-4001}
GITREPO["kuryr"]=${KURYR_REPO:-${GIT_BASE}/openstack/kuryr.git}
GITBRANCH["kuryr"]=${KURYR_BRANCH:-master}
GITDIR["kuryr"]=$DEST/kuryr
enable_service kuryr-libnetwork etcd-server docker-engine