commit | a5f16dba60b7d501de2e9f8e345f992b0000bcec | [log] [tgz] |
---|---|---|
author | Christopher Wiley <[email protected]> | Wed Sep 12 17:12:42 2012 -0700 |
committer | Gerrit <[email protected]> | Fri Sep 14 16:25:45 2012 -0700 |
tree | 37ce1ef35c63ee34c5d258d72f47f02407c673fe | |
parent | edf04a2ec06fb82d771341b526f16aa29ab4fc03 [diff] |
autotest: Change DHCP Field and Option to namedtuple This lets us use these objects as fields in a dictionary without implementing a lot of very tedious operation methods. This in turn fixes this nonsense where we use the names of Options in some places and the Option numbers in others. BUG=chromium-os:34417 TEST=unittests pass, autotest tests pass Change-Id: I971b98505d0a1e95fd40e6ea3557a7dee63dfa62 Reviewed-on: https://gerrit.chromium.org/gerrit/33151 Commit-Ready: Christopher Wiley <[email protected]> Reviewed-by: Christopher Wiley <[email protected]> Tested-by: Christopher Wiley <[email protected]>