~cloud-init-dev/cloud-init/trunk

improvements to eni rendering

Some improvements here, and some bug fixes.
 - bring curtin revno 394's to support post-up for interface aliases.
 - sort attributes per interface for nicer order and consistent rendering
 - use arrays for each 'section' rather than content += . This allows
   better separation of the sections and also will perform better as long
   strings with += are slow.
 - improve how 'lo' is handled. If a network state that was being rendered
   had an entry for 'lo', then the rendered ENI would have 2 'lo'
   sections.
 - no longer skip 'lo' sections when loading an ENI in parse_deb_config
 - fix inet value for subnets, don't add interface attributes to alias
   (LP: #1588547)

Also add some tests of reading yaml and rendering ENI.
Filename Latest Rev Last Changed Committer Comment Size
..
configs 559.2.423 12 years ago Joshua Harlow Add a sample yaml config to be used for testing. Diff
data 642.2.3 12 years ago Joshua Harlow 1. Add a helper for tests to use to load resource/ Diff
unittests 499.1.1 12 years ago Mike Milner Add initial unit test framework. Add initial tests Diff
__init__.py 696.1.1 12 years ago harlowja Helpful cleanups. 1. Remove the usage of the path Empty Diff Download File