-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathix.conf.sample
More file actions
72 lines (58 loc) · 2.45 KB
/
ix.conf.sample
File metadata and controls
72 lines (58 loc) · 2.45 KB
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
# ix.conf
# configuration file for IX
#
# This file defines the configuration for IX data center OS. You should
# carefully update all fields in accordence with your local configuration
# before running IX for the first time.
###############################################################################
# Network Parameters
###############################################################################
## host_addr : CIDR IP address and netmask that will be assigned to
## the adapter once it comes up.
host_addr="192.168.40.1/16"
# gateway_addr : default gateway IP address
gateway_addr="192.168.1.1"
## port : port(s) that will be bound to the application by the
## kernel when launching IX.
## You can specify multiple entries, e.g. 'port=[X, Y, Z]'
port=1234
###############################################################################
# Hardware parameters
###############################################################################
## devices : Specifies the PCI device ID of the adapter to bind IX with.
## Should be an Intel compatible NIC (e.g. 82599, X520, X540, etc)..
## See the Docs to see which adapters are currently supported.
## Format is a list dddd:bb:ss.ff,... d - domain, b = bus,
## s = slot, f = function. Usually, `lspci | grep Ethernet` allows to see
## available Ethernet controllers.
## You can specify multiple entries, e.g. 'devices=["X","Y","Z"]'
devices="0:05:00.0"
## cpu : Indicates which CPU process unit(s) (P) this IX instance
## should be bound to.
## WARNING: If this setting defines multiple nodes, make sure they ar
## part of the same NUMA socket. On most architectures, the IDs of
## processing units on the same socket are interleaved.
## Usually `lstopo` allows to see NUMA nodes topology
## You can specify multiple entries, e.g. 'nodes=["X","Y","Z"]'
cpu=0
## batch : Specifies maximum batch size of received packets to process.
## Default: 64.
batch=64
## loader_path : kernel loader to use with IX module:
##
loader_path="/lib64/ld-linux-x86-64.so.2"
###############################################################################
# Optional parameters
###############################################################################
## arp: allows you to manually add static arp entries in the interface arp
## table.
#arp=(
# {
# ip : "192.168.1.2"
# mac : "aa:aa:aa:aa:aa:aa"
# },
# {
# ip : "192.168.1.3"
# mac : "bb:bb:bb:bb:bb:bb"
# }
#)