sonic-buildimage/dockers/docker-dhcp-server/cli-plugin-tests/mock_state_db.json
Xichen96 ee38e2447d
[dhcp_server] Add show dhcp_server ipv4 lease (#17125)
* Add show dhcp_server ipv4 lease
* add ut for show dhcp_server ipv4 lease
2023-11-21 08:42:07 -08:00

27 lines
741 B
JSON

{
"DHCP_SERVER_IPV4_LEASE|Vlan1000|10:70:fd:b6:13:00": {
"lease_start": "1677640581",
"lease_end": "1677641481",
"ip": "192.168.0.1"
},
"DHCP_SERVER_IPV4_LEASE|Vlan1000|10:70:fd:b6:13:01": {
"lease_start": "1677640581",
"lease_end": "1677641481",
"ip": "192.168.0.2"
},
"DHCP_SERVER_IPV4_LEASE|Vlan1001|10:70:fd:b6:13:02": {
"lease_start": "1677640581",
"lease_end": "1677641481",
"ip": "192.168.0.3"
},
"DHCP_SERVER_IPV4_SERVER_IP|eth0": {
"ip": "240.127.1.2"
},
"FDB_TABLE|Vlan1000:10:70:fd:b6:13:00": {
"port": "Ethernet10"
},
"FDB_TABLE|Vlan1000:10:70:fd:b6:13:01": {
"port": "Ethernet11"
}
}