~smoser/cloud-init/azure_dhcp

Viewing all changes in revision 1249.

  • Committer: Brent Baude
  • Date: 2016-07-08 14:23:49 UTC
  • Revision ID: bbaude@redhat.com-20160708142349-0b8935g3kbukjcfn
Based on review comments from Scott, we now use a python
'binary' (from cmd/) that is built by setup.py to log the
dhcp options.  The find_endpoint def now uses several nbew
static definitions to load the dhcp_options and parse them.  The
fallback method is also broken out to its own def.

The code also now handles the case where there are multiple
interfaces and will search them all for the magic 245
option.

Minor cleanups for formatting and prefered style as suggested
by Scott.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: