Skip to content

Commit

Permalink
adding tcpdump flag (IBM#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
OmerBenHayun committed Jun 9, 2021
1 parent c173dae commit 7d84175
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Expand Up @@ -90,6 +90,7 @@ docker: docker-build docker-push

export KUBECONFIG=${HOME}/admin.conf

OVNDB_ETCD_TCPDUMP ?= 'true'
.PHONY: ovnk-deploy
ovnk-deploy:
@echo "checking for OVN_KUBERNETES_ROOT" && [ -n "${OVN_KUBERNETES_ROOT}" ]
Expand All @@ -100,6 +101,7 @@ ovnk-deploy:
--master-loglevel 7 \
--node-loglevel 7 \
--dbchecker-loglevel 7 \
--ovndb-etcd-tcpdump ${OVNDB_ETCD_TCPDUMP} \
--ovn-loglevel-northd '-vconsole:dbg -vfile:dbg' \
--ovn-loglevel-nbctld '-vconsole:dbg -vfile:dbg' \
--ovn-loglevel-controller '-vconsole:dbg -vfile:dbg'
Expand Down
14 changes: 14 additions & 0 deletions dist/README.md
Expand Up @@ -32,6 +32,20 @@ export CR_REPO=docker.io
export OVSDB_ETCD_REPOSITORY=$CR_USERNAME
```

## turn off tcpdump logging (optional)

tcpdump logging is turned on by deafult. one can turn it off using:

```
export OVNDB_ETCD_TCPDUMP='false'
```

it can be turned back on using:

```
export OVNDB_ETCD_TCPDUMP='true'
```

## Push docker images (optional)

Login to docker and push:
Expand Down

0 comments on commit 7d84175

Please sign in to comment.