~ma-brothier/cloud-init:interfaces-order

Last commit made on 2017-05-26
Get this branch:
git clone -b interfaces-order https://git.launchpad.net/~ma-brothier/cloud-init
Only Marc-Aurele Brothier can upload to this branch. If you are Marc-Aurele Brothier please log in for upload directions.

Branch merges

Branch information

Name:
interfaces-order
Repository:
lp:~ma-brothier/cloud-init

Recent commits

0f705cc... by Marc-Aurele Brothier

Add simple test for natural sorting

ad8352e... by Marc-Aurele Brothier

Natural order for interface names

Signed-off-by: Marc-Aurèle Brothier <email address hidden>

2825a91... by Scott Moser

flake8: move the pinned version of flake8 up to 3.3.0

This just moves flake8 and related tools up to newer versions and fixes
the complaints associated with that.

We added to the list of flake8 ignores:
 H102: do not put vim info in source files
 H304: no relative imports

Also updates and pins the following in the flake8 environment:
  pep8: 1.7.0 => drop (although hacking still pulls it in).
  pyflakes 1.1.0 => 1.5.0
  hacking 0.10.2 => 0.13.0
  flake8 2.5.4 => 3.3.0
  pycodestyle none => 2.3.1

06a7f0a... by Joshua Powers

tests: Apply workaround for snapd bug in test case.

Snapd does not start on artful or on the versions in proposed. This
changes the behavior of the test to confirm that snapd is installed, not
that it is started, while the snap team fixes the issue (LP: ##1690880).

f38fa41... by Andreas Karis

RHEL/CentOS: Fix dual stack IPv4/IPv6 configuration.

Dual stack IPv4/IPv6 configuration via config drive is broken for RHEL7.
This patch fixes several scenarios for IPv4/IPv6/dual-stack with multiple
IP assignment.
Removes usage of unpopular IPv4 alias files and invalid IPv6 alias files.

Also fix associated unit tests.

LP: #1679817
LP: #1685534
LP: #1685532

3507b59... by Scott Moser

disk_setup: fix several issues with gpt disk partitions.

This fixes several shortcomings of disk_setup with gpt disks.
 * 'sgdisk -p' was being used to determine the size of a disk.
   this can fail if it believes there is a bad gpt partition table.
   Instead we just use blockdev now for both mbr or gpt disks.
 * parsing of sgdisk -p output assumed that the 'name' of the partition
   type would not have any spaces (Microsoft basic data)
 * interaction with sgdisk did not realize that sgdisk wants input
   of '8300' rather than '83' and will output the same.

LP: #1692087

9fa17d4... by Joshua Powers

function spelling & docstring update

5375d9d... by Joshua Powers

Fixing wrong file name regression.

9c33cb2... by Scott Moser

tox: move pylint target to 1.7.1

The motivation for this is to make tip-pylint target green.
It does 2 things:
 a.) silence a warning that is generated in pylint 1.7.1, but not
     other versions of pylint. This bug in pylint is filed at
     https://github.com/PyCQA/pylint/issues/1444
 b.) move tox -e pylint to use pylint 1.7.1

2c0655f... by Scott Moser

Fix get_interfaces_by_mac for empty macs

Some interfaces (greptap0 in the bug) have a mac address of
'00:00:00:00:00:00'. That was causing a duplicate mac detection
as the 'lo' device also has that mac.

The change here is to just ignore macs other than 'lo' that have that.

LP: #1692028