-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: If15f50de49b3da71c9ee01ccfd88c1be2ddc48e2 Partial-Bug: #1538920
- Loading branch information
Showing
8 changed files
with
235 additions
and
3 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
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
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
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
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
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
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,146 @@ | ||
# | ||
# Vnswad configuration options | ||
# | ||
|
||
[CONTROL-NODE] | ||
# IP address to be used to connect to control-node. Maximum of 2 IP addresses | ||
# (separated by a space) can be provided. If no IP is configured then the | ||
# value provided by discovery service will be used. | ||
server=127.0.0.1 | ||
|
||
[DEFAULT] | ||
# IP address and port to be used to connect to collector. If these are not | ||
# configured, value provided by discovery service will be used. Multiple | ||
# IP:port strings separated by space can be provided | ||
# collectors=127.0.0.1:8086 | ||
|
||
# Enable/disable debug logging. Possible values are 0 (disable) and 1 (enable) | ||
debug=1 | ||
|
||
# Aging time for flow-records in seconds | ||
flow_cache_timeout=30 | ||
|
||
# Hostname of compute-node. If this is not configured value from `hostname` | ||
# will be taken | ||
# hostname= | ||
|
||
# Http server port for inspecting vnswad state (useful for debugging) | ||
# http_server_port=8085 | ||
|
||
# Category for logging. Default value is '*' | ||
# log_category= | ||
|
||
# Local log file name | ||
# log_file=/var/log/contrail/vrouter.log | ||
|
||
# Log severity levels. Possible values are SYS_EMERG, SYS_ALERT, SYS_CRIT, | ||
# SYS_ERR, SYS_WARN, SYS_NOTICE, SYS_INFO and SYS_DEBUG. Default is SYS_DEBUG | ||
# log_level=SYS_DEBUG | ||
|
||
# Enable/Disable local file logging. Possible values are 0 (disable) and 1 (enable) | ||
# log_local=0 | ||
|
||
# Enable/Disable logging of flow messages. Possible values are 0 (disable) and 1 (enable) | ||
# log_flow=0 | ||
|
||
# Encapsulation type for tunnel. Possible values are MPLSoGRE, MPLSoUDP, VXLAN | ||
tunnel_type=MPLSoGRE | ||
|
||
# DHCP relay mode (true or false) to determine if a DHCP request in fabric | ||
# interface with an unconfigured IP should be relayed or not | ||
dhcp_relay_mode=true | ||
|
||
# Agent base directory | ||
agent_base_directory=/var/lib/contrail | ||
|
||
[DISCOVERY] | ||
# IP address and port of discovery server | ||
# port=5998 | ||
server=10.3.1.1 | ||
|
||
# Number of control-nodes info to be provided by Discovery service. Possible | ||
# values are 1 and 2 | ||
max_control_nodes=2 | ||
|
||
[DNS] | ||
# IP address and port to be used to connect to dns-node. Maximum of 2 IP | ||
# addresses (separated by a space) can be provided. If no IP is configured then | ||
# the value provided by discovery service will be used. | ||
server=127.0.0.1:53 | ||
|
||
[HYPERVISOR] | ||
# Hypervisor type. Possible values are kvm, xen and vmware | ||
type=xen | ||
|
||
# Link-local IP address and prefix in ip/prefix_len format (for xen) | ||
xen_ll_ip=169.254.0.1/24 | ||
|
||
# Link-local interface name when hypervisor type is Xen | ||
xen_ll_interface=xenapi | ||
|
||
# Physical interface name when hypervisor type is vmware | ||
# vmware_physical_interface= | ||
|
||
[FLOWS] | ||
# Maximum flows allowed per VM (given as % of maximum system flows) | ||
max_vm_flows=50 | ||
# Maximum number of link-local flows allowed across all VMs | ||
max_system_linklocal_flows=1024 | ||
# Maximum number of link-local flows allowed per VM | ||
max_vm_linklocal_flows=512 | ||
|
||
[METADATA] | ||
# Shared secret for metadata proxy service | ||
metadata_proxy_secret=contrail | ||
|
||
[NETWORKS] | ||
# control-channel IP address used by WEB-UI to connect to vnswad to fetch | ||
# required information | ||
# control_network_ip= | ||
|
||
[VIRTUAL-HOST-INTERFACE] | ||
# name of virtual host interface | ||
name=vhost0 | ||
|
||
# IP address and prefix in ip/prefix_len format | ||
ip=10.1.1.1/24 | ||
|
||
# Gateway IP address for virtual host | ||
gateway=10.1.1.254 | ||
|
||
# Physical interface name to which virtual host interface maps to | ||
physical_interface=vnet0 | ||
|
||
[GATEWAY-0] | ||
routing_instance=default-domain:admin:public:public | ||
interface=vgw | ||
|
||
# Virtual network ip blocks for which gateway service is required. Each IP | ||
# block is represented as ip/prefix. Multiple IP blocks are represented by | ||
# separating each with a space | ||
ip_blocks=1.1.1.1/24 | ||
|
||
[GATEWAY-1] | ||
# Name of the routing_instance for which the gateway is being configured | ||
# routing_instance=default-domain:admin:public:public1 | ||
|
||
# Gateway interface name | ||
# interface=vgw1 | ||
|
||
# Virtual network ip blocks for which gateway service is required. Each IP | ||
# block is represented as ip/prefix. Multiple IP blocks are represented by | ||
# separating each with a space | ||
# ip_blocks=2.2.1.0/24 2.2.2.0/24 | ||
|
||
# Routes to be exported in routing_instance. Each route is represented as | ||
# ip/prefix. Multiple routes are represented by separating each with a space | ||
# routes= 10.10.10.1/24 11.11.11.1/24 | ||
|
||
[TASK] | ||
# Log message if time taken to execute task exceeds a threshold (in msec) | ||
log_exec_threshold = 10 | ||
# | ||
# Log message if time taken to schedule task exceeds a threshold (in msec) | ||
log_schedule_threshold = 25 | ||
# TBB Keepawake timer interval | ||
tbb_keepawake_timeout = 50 |
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