2023-03-06 12:48:25 -06:00
|
|
|
COMMON_TEST_DATA = [
|
2021-09-24 00:01:26 -05:00
|
|
|
[
|
2023-03-06 12:48:25 -06:00
|
|
|
"ipv6_with_header",
|
2021-09-24 00:01:26 -05:00
|
|
|
{
|
|
|
|
"config_db": {
|
|
|
|
"DHCP_RELAY": {
|
|
|
|
"Vlan1000": {
|
|
|
|
"dhcpv6_servers": [
|
|
|
|
"fc02:2000::1",
|
|
|
|
"fc02:2000::2"
|
|
|
|
],
|
|
|
|
"dhcpv6_option|rfc6939_support": "true"
|
|
|
|
}
|
|
|
|
}
|
2023-03-06 12:48:25 -06:00
|
|
|
}
|
2021-09-24 00:01:26 -05:00
|
|
|
},
|
|
|
|
],
|
2023-03-06 12:48:25 -06:00
|
|
|
[
|
|
|
|
"ipv6_without_header",
|
|
|
|
{
|
|
|
|
"config_db": {
|
|
|
|
"DHCP_RELAY": {
|
|
|
|
"Vlan1000": {
|
|
|
|
"dhcpv6_servers": [
|
|
|
|
"fc02:2000::1",
|
|
|
|
"fc02:2000::2"
|
|
|
|
],
|
|
|
|
"dhcpv6_option|rfc6939_support": "true"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"ipv4_with_header",
|
|
|
|
{
|
|
|
|
"config_db": {
|
|
|
|
"VLAN": {
|
|
|
|
"Vlan1000": {
|
|
|
|
"dhcp_servers": [
|
|
|
|
"192.0.0.1",
|
|
|
|
"192.0.0.2"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
NEW_ADDED_TEST_DATA = [
|
|
|
|
[
|
|
|
|
"ipv6",
|
|
|
|
{
|
|
|
|
"config_db": {
|
|
|
|
"DHCP_RELAY": {
|
|
|
|
"Vlan1000": {
|
|
|
|
"dhcpv6_servers": [
|
|
|
|
"fc02:2000::1",
|
|
|
|
"fc02:2000::2"
|
|
|
|
],
|
|
|
|
"dhcpv6_option|rfc6939_support": "true"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"ipv4",
|
|
|
|
{
|
|
|
|
"config_db": {
|
|
|
|
"VLAN": {
|
|
|
|
"Vlan1000": {
|
|
|
|
"dhcp_servers": [
|
|
|
|
"192.0.0.1",
|
|
|
|
"192.0.0.2"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Vlan1001": {
|
|
|
|
"vlanid": "1001"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
MULTI_TEST_DATA = [
|
|
|
|
[
|
|
|
|
"ipv6",
|
|
|
|
{
|
|
|
|
"config_db": {
|
|
|
|
"DHCP_RELAY": {
|
|
|
|
"Vlan1000": {
|
|
|
|
"dhcpv6_servers": [
|
|
|
|
"fc02:2000::1",
|
|
|
|
"fc02:2000::2"
|
|
|
|
],
|
|
|
|
"dhcpv6_option|rfc6939_support": "true"
|
|
|
|
},
|
|
|
|
"Vlan1001": {
|
|
|
|
"dhcpv6_servers": [
|
|
|
|
"fc02:2000::3",
|
|
|
|
"fc02:2000::4"
|
|
|
|
],
|
|
|
|
"dhcpv6_option|rfc6939_support": "true"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"ipv4",
|
|
|
|
{
|
|
|
|
"config_db": {
|
|
|
|
"VLAN": {
|
|
|
|
"Vlan1000": {
|
|
|
|
"dhcp_servers": [
|
|
|
|
"192.0.0.1",
|
|
|
|
"192.0.0.2"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Vlan1001": {
|
|
|
|
"vlanid": "1001",
|
|
|
|
"dhcp_servers": [
|
|
|
|
"192.0.0.3",
|
|
|
|
"192.0.0.4"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2021-09-24 00:01:26 -05:00
|
|
|
]
|