This file contains hidden or 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
| # git diff kind.sh | |
| diff --git a/contrib/kind.sh b/contrib/kind.sh | |
| index de232b79..6c74cb70 100755 | |
| --- a/contrib/kind.sh | |
| +++ b/contrib/kind.sh | |
| @@ -184,7 +184,7 @@ ovn_apiServerAddress=${API_IP} \ | |
| MASTER_COUNT=`grep -c "^\s-\srole\s*:\s*control-plane" ${KIND_CONFIG_LCL}` | |
| # Create KIND cluster. For additional debug, add '--verbosity <int>': 0 None .. 3 Debug | |
| -kind create cluster --name ${KIND_CLUSTER_NAME} --kubeconfig ${HOME}/admin.conf --image kindest/node:${K8S_VERSION} --config=${KIND_CONFIG_LCL} |
This file contains hidden or 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
| # | |
| # Dual Stack | |
| # | |
| $ kubectl exec -c nb-ovsdb -n ovn-kubernetes ovnkube-db-6cb997894-ptfhr -it -- ovn-nbctl lsp-set-addresses local-path-storage_local-path-provisioner-85445b74d4-77lpd "c2:5b:f3:f4:01:04 10.244.1.3,fe80::2c75:e9ff:fe77:7c7d" -- --if-exists clear logical_switch_port local-path-storage_local-path-provisioner-85445b74d4-77lpd dynamic_addresses | |
| $ kubectl exec -c nb-ovsdb -n ovn-kubernetes ovnkube-db-6cb997894-ptfhr -it -- ovn-nbctl get logical_switch_port local-path-storage_local-path-provisioner-85445b74d4-77lpd dynamic_addresses addresses | |
| [] | |
| ["c2:5b:f3:f4:01:04 10.244.1.3,fe80::2c75:e9ff:fe77:7c7d"] | |
| $ kubectl exec -c sb-ovsdb -n ovn-kubernetes ovnkube-db-6cb997894-ptfhr -it -- ovn-sbctl lflow-list > ipd.txt |
This file contains hidden or 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
| #!/bin/bash | |
| # | |
| # DEFAULTS | |
| # | |
| USERNAME=bmcfall | |
| BASE_DIRECTORY=/home/bmcfall/src/openshift/lclConfig | |
| CNI=ovn | |
| MJ_VER=4 | |
| MN_VER=4 |
This file contains hidden or 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
| #!/bin/bash | |
| # Run a docker container with network namespace set up by the | |
| # CNI plugins. | |
| export CNI_PATH=/opt/cni/bin | |
| export NETCONFPATH=/etc/alternate.net.d/ | |
| export GOPATH=/root/src/go/ | |
| export DEBUG=0 |
NewerOlder