aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/dhcpd.conf
blob: 25e68159629947882c3e1865a8b8b6a65e2572ed (plain)
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
#
# Sample configuration file for ISC dhcpd for Debian
#
# Attention: If /etc/ltsp/dhcpd.conf exists, that will be used as
# configuration file instead of this file.
#
#

# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;

# option definitions common to all supported networks...
option domain-name "linuxfoundation.org";
option domain-name-servers 199.204.44.24, 199.204.47.54;

default-lease-time 600;
max-lease-time 7200;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

# This is content of file (/etc/dhcp/dhcpd.conf) currently located on host
# t4-virl1 with address 10.30.51.28. Please reflect any actual changes before
# overwriting. This file is used for PXE boot.
subnet 10.30.51.0 netmask 255.255.255.0 {
  option routers 10.30.51.1;
  host t1-tg1 {
    hardware ethernet 00:fe:c8:e5:6c:76;
    fixed-address 10.30.51.16;
    filename "pxelinux.0";
  }
  host t1-sut1 {
    hardware ethernet 00:fe:c8:e5:68:32;
    fixed-address 10.30.51.17;
    filename "pxelinux.0";
  }
  host t1-sut2 {
    hardware ethernet cc:46:d6:17:e0:58;
    fixed-address 10.30.51.18;
    filename "pxelinux.0";
  }
  host t2-tg1 {
    hardware ethernet 00:fe:c8:e5:6a:72;
    fixed-address 10.30.51.20;
    filename "pxelinux.0";
  }
  host t2-sut1 {
    hardware ethernet 00:fe:c8:e5:68:e0;
    fixed-address 10.30.51.21;
    filename "pxelinux.0";
  }
  host t2-sut2 {
    hardware ethernet 00:fe:c8:58:1e:f6;
    fixed-address 10.30.51.22;
    filename "pxelinux.0";
  }
  host t3-tg1 {
    hardware ethernet 00:fe:c8:e5:68:c2;
    fixed-address 10.30.51.24;
    filename "pxelinux.0";
  }
  host t3-sut1 {
    hardware ethernet 00:f2:8b:7c:fb:4a;
    fixed-address 10.30.51.25;
    filename "pxelinux.0";
  }
  host t3-sut2 {
    hardware ethernet 58:ac:78:5c:90:78;
    fixed-address 10.30.51.26;
    filename "pxelinux.0";
  }
  host t4-virl2 {
    hardware ethernet 00:42:68:6f:68:ee;
    fixed-address 10.30.51.29;
    filename "pxelinux.0";
  }
  host t4-virl3 {
    hardware ethernet 00:42:68:6f:6f:c0;
    fixed-address 10.30.51.30;
    filename "pxelinux.0";
  }
}
| 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | ... | NIC_Intel-X520-DA2 | ETH | IP4FWD | FEATURE | ACL | ACL_STATELESS | ... | IACL | ACL50 | 100k_FLOWS | ... | Suite Setup | Run Keywords | ... | Set up 3-node performance topology with DUT's NIC model | L3 | ... | Intel-X520-DA2 | ... | AND | Set up performance test suite with ACL | Suite Teardown | Tear down 3-node performance topology | ... | Test Setup | Set up performance test | ... | Test Teardown | Tear down performance test with ACL | ... | ${min_rate}pps | ${framesize} | ${traffic_profile} | ... | Test Template | Local Template | ... | Documentation | *RFC2544: Packet throughput IPv4 test cases with ACL* | ... | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology\ | ... | with single links between nodes. | ... | *[Enc] Packet Encapsulations:* Eth-IPv4-UDP for IPv4 routing. | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with IPv4\ | ... | routing and one static IPv4 /24 route entries. Required ACL rules are\ | ... | applied to input paths of both DUT1 intefaces. DUT1 and DUT2 are tested\ | ... | with 2p10GE NIC X520 Niantic by Intel. | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop\ | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop\ | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage\ | ... | of packets transmitted. NDR and PDR are discovered for different\ | ... | Ethernet L2 frame sizes using MLRsearch library.\ | ... | Test packets are generated by TG on links to DUTs. TG traffic profile\ | ... | contains two L3 flow-groups (flow-group per direction, ${flows_per_dir}\ | ... | flows per flow-group) with all packets containing Ethernet header, IPv4\ | ... | header with IP protocol=61 and static payload. MAC addresses are\ | ... | matching MAC addresses of the TG node interfaces. | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** # X520-DA2 bandwidth limit | ${s_limit}= | ${10000000000} # ACL test setup | ${acl_action}= | permit | ${acl_apply_type}= | input | ${no_hit_aces_number}= | 50 | ${flows_per_dir}= | 100k # starting points for non-hitting ACLs | ${src_ip_start}= | 30.30.30.1 | ${dst_ip_start}= | 40.40.40.1 | ${ip_step}= | ${1} | ${sport_start}= | ${1000} | ${dport_start}= | ${1000} | ${port_step}= | ${1} | ${trex_stream1_subnet}= | 10.10.10.0/24 | ${trex_stream2_subnet}= | 20.20.20.0/24 | ${traffic_profile}= | trex-sl-3n-ethip4udp-100u1000p-conc *** Keywords *** | Local Template | | [Documentation] | FIXME. | | [Arguments] | ${framesize} | ${phy_cores} | ${rxq}=${None} | | ... | | Set Test Variable | ${framesize} | | Set Test Variable | ${min_rate} | ${10000} | | ... | | Given Add worker threads and rxqueues to all DUTs | ${phy_cores} | ${rxq} | | And Add PCI devices to all DUTs | | ${max_rate} | ${jumbo} = | Get Max Rate And Jumbo And Handle Multi Seg | | ... | ${s_limit} | ${framesize} | | And Apply startup configuration on all VPP DUTs | | ${ip_nr}= | Set Variable | 100 | | When Initialize IPv4 routing for '${ip_nr}' addresses with IPv4 ACLs on DUT1 in circular topology | | Then Find NDR and PDR intervals using optimized search | | ... | ${framesize} | ${traffic_profile} | ${min_rate} | ${max_rate} *** Test Cases *** | tc01-64B-1c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr | | [Tags] | 64B | 1C | | framesize=${64} | phy_cores=${1} | tc02-64B-2c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr | | [Tags] | 64B | 2C | | framesize=${64} | phy_cores=${2} | tc03-64B-4c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr | | [Tags] | 64B | 4C | | framesize=${64} | phy_cores=${4} | tc04-1518B-1c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr | | [Tags] | 1518B | 1C | | framesize=${1518} | phy_cores=${1} | tc05-1518B-2c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr | | [Tags] | 1518B | 2C | | framesize=${1518} | phy_cores=${2} | tc06-1518B-4c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr | | [Tags] | 1518B | 4C | | framesize=${1518} | phy_cores=${4} | tc07-9000B-1c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr | | [Tags] | 9000B | 1C | | framesize=${9000} | phy_cores=${1} | tc08-9000B-2c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr | | [Tags] | 9000B | 2C | | framesize=${9000} | phy_cores=${2} | tc09-9000B-4c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr | | [Tags] | 9000B | 4C | | framesize=${9000} | phy_cores=${4} | tc10-IMIX-1c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr | | [Tags] | IMIX | 1C | | framesize=IMIX_v4_1 | phy_cores=${1} | tc11-IMIX-2c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr | | [Tags] | IMIX | 2C | | framesize=IMIX_v4_1 | phy_cores=${2} | tc12-IMIX-4c-ethip4udp-ip4base-iacl50sl-100kflows-ndrpdr | | [Tags] | IMIX | 4C | | framesize=IMIX_v4_1 | phy_cores=${4}