raise RuntimeError("Checksum error!")
print "Checksum: OK."
- if ether['IPv6']['UDP']['Raw'].load != interface_id:
- raise RuntimeError("Interface ID error!")
- print "Interface ID: OK."
+ if ether['IPv6']['UDP']['DHCPv6 Advertise Message'].msgtype != 'ADVERTISE':
+ raise RuntimeError("Message type error!")
+ print "Message type: OK."
def dhcpv6_request(tx_if, rx_if, dhcp_multicast_ip, link_local_ip, proxy_ip,
raise RuntimeError("Checksum error!")
print "Checksum: OK."
- if ether['IPv6']['UDP']['Raw'].load != interface_id:
- raise RuntimeError("Interface ID error!")
- print "Interface ID: OK."
+ if ether['IPv6']['UDP']['DHCPv6 Reply Message'].msgtype != 'REPLY':
+ raise RuntimeError("Message type error!")
+ print "Message type: OK."
def main():
| | ... | server through DHCP proxy.
| | ... | [Ref] RFC 3315
| | ...
+| | [Tags] | EXPECTED_FAILING
| | Given Path for 2-node testing is set
| | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['TG']}
| | And Interfaces in 2-node path are up