~matsubara/curtin/lp1552747-enable-showtrace

Viewing all changes in revision 358.

  • Committer: Ryan Harper
  • Date: 2016-02-24 17:49:17 UTC
  • mfrom: (352.6.3 curtin)
  • Revision ID: ryan.harper@canonical.com-20160224174917-tephnriu4hwsmews
Add bond parsing & improved source, source-directory parsing for /e/n/i.

This give the ability for the parser to handle bond interface in the
/etc/network/interfaces configuration. The resulting dictionary will contain a
bond dictionary if any bond options are defined for that interface definition
in /etc/network/interfaces.
Improves the source and source-directory parsing to match was is documented in
/etc/network/interfaces for ubuntu.
Supports parsing glob in both source and source-directory and performs regex
matching for source-directory to parse the same as /etc/network/interfaces is
defined. A _source_path key is provided in each dictionary entry for each
element defining the path the interface was created.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: