summaryrefslogtreecommitdiff
path: root/keama/tests/samples/vmnet8.json
blob: 9aaea7fb518436910c3588b7a465120a5808f69b (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
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
{
  # Configuration file for ISC 2.0 vmnet-dhcpd operating on vmnet8.
  #
  # This file was automatically generated by the VMware configuration program.
  # See Instructions below if you want to modify it.
  #
  # We set domain-name-servers to make some DHCP clients happy
  # (dhclient as configured in SuSE, TurboLinux, etc.).
  # We also supply a domain name to make pump (Red Hat 6.x) happy.
  #
  /// This configuration declares some subnets but has no interfaces-config
  /// Reference Kea #5256
  "Dhcp4": {
//  ###### VMNET DHCP Configuration. Start of "DO NOT MODIFY SECTION" #####
//  # Modification Instructions: This section of the configuration file contains
//  # information generated by the configuration program. Do not modify this
//  # section.
//  # You are free to modify everything else. Also, this section must start 
//  # on a new line 
//  # This file will get backed up with a different name in the same directory 
//  # if this section is edited and you try to configure DHCP again.
//  # Written at: 04/12/2017 14:00:17
//  "statement": {
//    "config": {
//      "value": "allow",
//      "name": "boot-unknown-clients",
//      "code": 6
//    }
//  },
    "valid-lifetime": 1800,
//  "config": [
//    /// max-lease-time is not supported
//    /// use default-lease-time instead
//    /// Reference Kea #5219
//    {
//      "name": "max-lease-time",
//      "code": 2,
//      "value": 7200
//    }
//  ],
    "subnet4": [
      # default is 2 hours
      {
        "subnet": "172.16.254.0/24",
        "pools": [
          {
            "pool": "172.16.254.128 - 172.16.254.254"
          }
        ],
        "option-data": [
          {
            "space": "dhcp4",
            "name": "broadcast-address",
            "code": 28,
            "data": "172.16.254.255"
          },
          {
            "space": "dhcp4",
            "name": "domain-name-servers",
            "code": 6,
            "data": "172.16.254.2"
          },
          {
            "space": "dhcp4",
            "name": "domain-name",
            "code": 15,
            "data": "localdomain"
          },
          # default is 2 hours
          {
            "space": "dhcp4",
            "name": "netbios-name-servers",
            "code": 44,
            "data": "172.16.254.2"
          },
          {
            "space": "dhcp4",
            "name": "routers",
            "code": 3,
            "data": "172.16.254.2"
          }
        ],
        "valid-lifetime": 1800,
//      "config": [
//        /// max-lease-time is not supported
//        /// use default-lease-time instead
//        /// Reference Kea #5219
//        {
//          "name": "max-lease-time",
//          "code": 2,
//          "value": 7200
//        }
//      ],
        "reservations": [
          {
            "hostname": "vmnet8",
            "hw-address": "00:50:56:c0:00:08",
            "ip-address": "172.16.254.1",
            "option-data": [
              {
                "space": "dhcp4",
                "name": "domain-name-servers",
                "code": 6,
                "data": "0.0.0.0"
              },
              #	option domain-name "";
              {
                "space": "dhcp4",
                "name": "routers",
                "code": 3,
                "data": "0.0.0.0"
              }
            ]
          }
        ]
      }
    ],
    "host-reservation-identifiers": [
      "hw-address"
    ]
  }
}