Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cluster: Remove agent configuration #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions cluster/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ ENV KEYSTONE_TENANT_NAME="admin"
ENV KEYSTONE_ADMIN_TOKEN="admintoken"
ENV UUID=""

# Agent-related cluster level configuration
ENV AGENT_LOG_LEVEL="INFO"

VOLUME /var/log/midonet-cluster

CMD ["/cluster"]
3 changes: 0 additions & 3 deletions cluster/Dockerfile-arm64
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ ENV KEYSTONE_TENANT_NAME="admin"
ENV KEYSTONE_ADMIN_TOKEN="admintoken"
ENV UUID=""

# Agent-related cluster level configuration
ENV AGENT_LOG_LEVEL="INFO"

VOLUME /var/log/midonet-cluster

CMD ["/cluster"]
2 changes: 0 additions & 2 deletions cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ where:
having to enter the container.

Other available options:
* AGENT\_LOG\_LEVEL: which allows you to change the logging level that is used
by the MidoNet agents in the cluster. It defaults to 'INFO'.
* C\_SERVERS: the comma-separated IPs of the cassandra servers in the cluster.
If it is not provided, some MidoNet features like flow tracing will be
disabled.
Expand Down
25 changes: 0 additions & 25 deletions cluster/scripts/run-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,31 +61,6 @@ echo "Setting up the cluster configuration..."
zookeeper_hosts = "$ZK_ENDPOINTS"
}

agent {
midolman {
bgp_keepalive: 1s
bgp_holdtime: 3s
bgp_connect_retry: 1s
lock_memory: true
simulation_threads: 2
output_channels: 2
}

datapath {
max_flow_count: 1500000
send_buffer_pool_max_size: 16384
send_buffer_pool_initial_size: 4096
}

loggers.root: $AGENT_LOG_LEVEL

haproxy_health_monitor {
namespace_cleanup: true
health_monitor_enable: true
haproxy_file_loc: /etc/midolman/l4lb/
}
}

$AUTH_CONF

EOF
Expand Down