xref: /netbsd-src/external/mpl/dhcp/dist/keama/tests/switchxsc4.in4 (revision 867d70fc718005c0918b8b8b2f9d7f2d52d0a0db)
1# switch executable statement construct
2
3# empty configs are not accepted by Kea
4default-lease-time 1800;
5
6# a switch
7switch (option user-class) {
8case "accounting":
9 add "acct";
10 send ip-forwarding false;
11 default-lease-time 3600;
12 break;
13case "engineering":
14 allow booting;
15 log (debug, option host-name);
16 set foo = "bar";
17 break;
18}
19