-
Notifications
You must be signed in to change notification settings - Fork 390
/
cfg.ini
157 lines (119 loc) · 4.43 KB
/
cfg.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
#
# 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
# Timeout in seconds for removal of stale interfaces from agent after issue
# of /syncports REST API request.
stale_interface_cleanup_timeout=120
# 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
mirror_client_port=8999
# pkt0 tx-buffer count
pkt0_tx_buffers=2000
[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
dns_client_port=8997
[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
metadata_proxy_port=8998
[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
[SERVICES]
bgp_as_a_service_port_range=100-199
queue_limit=8192
[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
[QUEUE]
NIC-QUEUE-1=[1, 3, 5]
NIC-QUEUE-2=[6-10]
NIC-QUEUE-3=[110-109]
default_nic_queue = 8