sonic-buildimage/dockers/docker-dhcp-server/cli-plugin-tests/mock_config_db.json
Xichen96 2244aa2d7b
[dhcp_server] add config dhcp server option (#18013)
* add dhcp server option cli
2024-02-21 16:52:51 -08:00

79 lines
1.9 KiB
JSON

{
"FEATURE|dhcp_server": {
"state": "enabled"
},
"VLAN_INTERFACE|Vlan100": {
},
"VLAN_INTERFACE|Vlan100|100.1.1.1/24": {
},
"VLAN_INTERFACE|Vlan200": {
},
"VLAN_INTERFACE|Vlan200|100.1.2.2/24": {
},
"VLAN_INTERFACE|Vlan300": {
},
"VLAN_MEMBER|Vlan100|Ethernet2": {
},
"VLAN_MEMBER|Vlan100|Ethernet4": {
},
"VLAN_MEMBER|Vlan100|Ethernet7": {
},
"VLAN_MEMBER|Vlan100|Ethernet8": {
},
"DHCP_SERVER_IPV4|Vlan100": {
"gateway": "100.1.1.1",
"lease_time": "3600",
"mode": "PORT",
"netmask": "255.255.255.0",
"customized_options": "option60",
"state": "enabled"
},
"DHCP_SERVER_IPV4|Vlan300": {
"gateway": "100.1.1.1",
"lease_time": "3600",
"mode": "PORT",
"netmask": "255.255.255.0",
"state": "disabled"
},
"DHCP_SERVER_IPV4_CUSTOMIZED_OPTIONS|option60": {
"id": "163",
"type": "string",
"value": "dummy_value"
},
"DHCP_SERVER_IPV4_CUSTOMIZED_OPTIONS|option61": {
"id": "164",
"type": "string",
"value": "dummy_value"
},
"DHCP_SERVER_IPV4_RANGE|range1": {
"range": "100.1.1.3,100.1.1.5"
},
"DHCP_SERVER_IPV4_RANGE|range2": {
"range": "100.1.1.9,100.1.1.8"
},
"DHCP_SERVER_IPV4_RANGE|range3": {
"range": "100.1.1.10"
},
"DHCP_SERVER_IPV4_RANGE|range5": {
"range": "100.1.2.10"
},
"DHCP_SERVER_IPV4_RANGE|range6": {
"range": "100.1.2.11"
},
"DHCP_SERVER_IPV4_IP|eth0": {
"ip": "240.127.1.2"
},
"DHCP_SERVER_IPV4_PORT|Vlan100|Ethernet4": {
"ips": "100.1.1.10,100.1.1.11"
},
"DHCP_SERVER_IPV4_PORT|Vlan100|Ethernet7": {
"ranges": "range1,range3"
},
"DHCP_SERVER_IPV4_PORT|Vlan200|Ethernet8": {
"ranges": "range5,range6"
},
"DHCP_SERVER_IPV4_PORT|Ethernet9": {
"ranges": "range5,range6"
}
}