Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | discover: Use lowercase hex chars for MAC-address-based conf requests | Jeremy Kerr | 2014-01-22 | 1 | -1/+1 |
| | | | | | | | The de-facto PXELINUX standard specifies lowercase characters for the MAC addresses, so change our reuqests to suit. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> | ||||
* | test/parser: Check for full URLs in parser tests | Jeremy Kerr | 2014-01-17 | 1 | -1/+2 |
| | | | | | | | | | | | | At present, we only match the 'file' portion of a URL in the parser tests, so we "serve" a file if just the filename (but not the scheme, hostname or path) matches the file we set with test_read_conf_embedded. This change introduces test_read_conf_embedded_url, which we can use to specify a full URL. In this case, the fake parser_request_file matches the entire URL before returning the file data. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> | ||||
* | test/parser: Add new test cases to pxe parser | Neelesh Gupta | 2013-11-06 | 1 | -0/+39 |
Adding new cases to the pxe parser code of having conffile file without complete URL and determining conffile names using mac and ip addresses passed from the udhcpc. Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> |