-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from yuewko/fix_run_scripts
Fix daemon run scripts
- Loading branch information
Showing
5 changed files
with
29 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,16 @@ | ||
#!/bin/bash | ||
|
||
# rm /run/cni/infoblox.sock | ||
|
||
DRIVER_NAME="infoblox" | ||
SOCKET_DIR="/run/cni" | ||
# GRID_HOST="192.168.124.200" | ||
GRID_HOST="172.22.138.129" | ||
GRID_HOST="192.168.124.200" | ||
WAPI_PORT="443" | ||
WAPI_USERNAME="cloudadmin" | ||
WAPI_PASSWORD="cloudadmin" | ||
WAPI_USERNAME="" | ||
WAPI_PASSWORD="" | ||
WAPI_VERSION="2.0" | ||
#SSL_VERIFY="./infoblox-localdomain.crt" | ||
SSL_VERIFY=false | ||
#SSL_VERIFY="./crap.crt" | ||
NETWORK_VIEW="yko_openstack" | ||
NETWORK_VIEW="default" | ||
NETWORK_CONTAINER="192.168.0.0/24,192.169.0.0/24" | ||
PREFIX_LENGTH=25 | ||
|
||
|
||
|
||
rkt --insecure-options=image --volume run-cni,kind=host,source=/run/cni run ./infoblox-cni-daemon.aci -- --grid-host=${GRID_HOST} --wapi-port=${WAPI_PORT} --wapi-username=${WAPI_USERNAME} --wapi-password=${WAPI_PASSWORD} --wapi-version=${WAPI_VERSION} --socket-dir=${SOCKET_DIR} --driver-name=${DRIVER_NAME} --ssl-verify=${SSL_VERIFY} --network-view=${NETWORK_VIEW} --network-container=${NETWORK_CONTAINER} --prefix-length=${PREFIX_LENGTH} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,16 @@ | ||
#!/bin/bash | ||
|
||
# rm /run/cni/infoblox.sock | ||
|
||
DRIVER_NAME="infoblox" | ||
SOCKET_DIR="/run/cni" | ||
# GRID_HOST="192.168.124.200" | ||
GRID_HOST="infoblox.localdomain" | ||
GRID_HOST="192.168.124.200" | ||
WAPI_PORT="443" | ||
WAPI_USERNAME="cloudadmin" | ||
WAPI_PASSWORD="cloudadmin" | ||
WAPI_USERNAME="" | ||
WAPI_PASSWORD="" | ||
WAPI_VERSION="2.0" | ||
#SSL_VERIFY="./infoblox-localdomain.crt" | ||
SSL_VERIFY=false | ||
#SSL_VERIFY="./crap.crt" | ||
NETWORK_VIEW="yko_openstack" | ||
NETWORK_VIEW="default" | ||
NETWORK_CONTAINER="192.168.0.0/24,192.169.0.0/24" | ||
PREFIX_LENGTH=25 | ||
|
||
|
||
|
||
./infoblox-daemon --grid-host=${GRID_HOST} --wapi-port=${WAPI_PORT} --wapi-username=${WAPI_USERNAME} --wapi-password=${WAPI_PASSWORD} --wapi-version=${WAPI_VERSION} --socket-dir=${SOCKET_DIR} --driver-name=${DRIVER_NAME} --ssl-verify=${SSL_VERIFY} --network-view=${NETWORK_VIEW} --network-container=${NETWORK_CONTAINER} --prefix-length=${PREFIX_LENGTH} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
#!/bin/bash | ||
|
||
# rm /run/cni/infoblox.sock | ||
|
||
DRIVER_NAME="infoblox" | ||
SOCKET_DIR="/run/cni" | ||
# GRID_HOST="192.168.124.200" | ||
GRID_HOST="172.22.138.129" | ||
GRID_HOST="192.168.124.200" | ||
WAPI_PORT="443" | ||
WAPI_USERNAME="cloudadmin" | ||
WAPI_PASSWORD="cloudadmin" | ||
WAPI_USERNAME="" | ||
WAPI_PASSWORD="" | ||
WAPI_VERSION="2.0" | ||
#SSL_VERIFY="./infoblox-localdomain.crt" | ||
SSL_VERIFY=false | ||
#SSL_VERIFY="./crap.crt" | ||
NETWORK_VIEW="yko_openstack" | ||
NETWORK_VIEW="default" | ||
NETWORK_CONTAINER="192.168.0.0/24,192.169.0.0/24" | ||
PREFIX_LENGTH=25 | ||
|
||
|
||
docker run -v /run/cni:/run/cni infoblox-cni-daemon --grid-host=${GRID_HOST} --wapi-port=${WAPI_PORT} --wapi-username=${WAPI_USERNAME} --wapi-password=${WAPI_PASSWORD} --wapi-version=${WAPI_VERSION} --socket-dir=${SOCKET_DIR} --driver-name=${DRIVER_NAME} --ssl-verify=${SSL_VERIFY} --network-view=${NETWORK_VIEW} --network-container=${NETWORK_CONTAINER} --prefix-length=${PREFIX_LENGTH} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
DRIVER_NAME="infoblox" | ||
SOCKET_DIR="/run/cni" | ||
GRID_HOST="192.168.124.200" | ||
WAPI_PORT="443" | ||
WAPI_USERNAME="" | ||
WAPI_PASSWORD="" | ||
WAPI_VERSION="2.0" | ||
SSL_VERIFY=false | ||
NETWORK_VIEW="default" | ||
NETWORK_CONTAINER="192.168.0.0/24,192.169.0.0/24" | ||
PREFIX_LENGTH=25 | ||
|
||
|
||
rkt --insecure-options=image --volume run-cni,kind=host,source=/run/cni --mount volume=run-cni,target=/run/cni run docker://yuewko/infoblox-cni-daemon -- --grid-host=${GRID_HOST} --wapi-port=${WAPI_PORT} --wapi-username=${WAPI_USERNAME} --wapi-password=${WAPI_PASSWORD} --wapi-version=${WAPI_VERSION} --socket-dir=${SOCKET_DIR} --driver-name=${DRIVER_NAME} --ssl-verify=${SSL_VERIFY} --network-view=${NETWORK_VIEW} --network-container=${NETWORK_CONTAINER} --prefix-length=${PREFIX_LENGTH} |