summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-09-09debian/control: fix missing dependency on python3-serialScott Moser
Add python3-serial to Depends. This is not resolved by ${python3:Depends} because it is commented out in requirements.txt. pyserial is problematic both because it is not pure python and because it is not available for python2.6. The commit 26ea813d2 removed pyserial and thus lost the automatic dependency. This makes SmartOS datasource work.
2016-08-23Import version 0.7.7~bzr1256-0ubuntu1~16.04.1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1256Scott Moser
2016-08-23Import version 0.7.7~bzr1246-0ubuntu1~16.04.1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1246Scott Moser
2016-08-23Import version 0.7.7~bzr1245-0ubuntu1~16.04.1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1245Scott Moser
2016-08-23Import version 0.7.7~bzr1212-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1212Scott Moser
2016-08-23Import version 0.7.7~bzr1209-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1209Scott Moser
2016-08-23Import version 0.7.7~bzr1208-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1208Scott Moser
2016-08-23Import version 0.7.7~bzr1200-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1200Scott Moser
2016-08-23Import version 0.7.7~bzr1192-0ubuntu2Scott Moser
Imported using git-dsc-commit.
2016-08-23Import version 0.7.7~bzr1192-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1192Scott Moser
2016-08-23Import version 0.7.7~bzr1189-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1189Scott Moser
2016-08-23Import version 0.7.7~bzr1182-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1182Scott Moser
2016-08-23Import version 0.7.7~bzr1176-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1176Scott Moser
2016-08-23Import version 0.7.7~bzr1160-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1160Scott Moser
2016-08-23Import version 0.7.7~bzr1156-0ubuntu2Scott Moser
Imported using git-dsc-commit.
2016-08-23Import version 0.7.7~bzr1156-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1156Scott Moser
2016-08-23Import version 0.7.7~bzr1155-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-08-23merge trunk at 0.7.7~bzr1155Scott Moser
2016-08-23Import version 0.7.7~bzr1154-0ubuntu1Scott Moser
Imported using git-dsc-commit.
2016-07-14improvements to eni renderingScott Moser
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.
2016-07-14merge from trunkScott Moser
2016-07-14ConfigDrive: fix writing of 'injected' files and legacy networkingScott Moser
Previous commit inadvertently disabled the consumption of 'injected' files in configdrive (openstack server boot --file=/target/file=local-file) unless the datasource was in 'pass' mode. The default mode is 'net' so that was not likely to happen. Also here are: a.) some comments to apply_network_config b.) add backwards compatibility for distros that do not yet implement apply_network_config by converting the network config into ENI format and calling apply_network. This is required because prior to the previous commit, those distros would have had 'apply_network' called with the openstack provided ENI file. But after this change they will have apply_network_config called by cloudinit's main. c.) add network_state_to_eni for converting net config to eni it supports the not-actually-correct 'hwaddress' field in ENI LP: #1602373
2016-07-14flake8Scott Moser
2016-07-14add test of apply_network fallback path.Scott Moser
we could do this more simply by mocking fbsd.apply_network and checking it's inputs. but this pushes it through the whole path that the other test does.
2016-07-14Fix mcollective module with python3Scott Moser
fixes mcollective when used with python3 and also adds a unit test. LP: #1597699
2016-07-14give Sergii credit in changelogScott Moser
2016-07-14fix tox flake8Scott Moser
2016-07-14Change StringIO to BytesIO in cc_mcollective.pySergii Golovatiuk
* StringIO from six doesn't act as 'binary stream' in Python 3. This patch changes StringIO to BytesIO to have code compatible with Python 3 and Python 2. * Add try/except for IOError in case when server.cfg doesn't exists. This is necessary for unit tests or cases when server.cfg is not included to package * Add UnitTest for cc_mcollective.py LP: #1597699
2016-07-13merge from trunkScott Moser
2016-07-13merge from trunkScott Moser
2016-07-13merge from trunk.lp1602373Scott Moser
this merges in the render_hwaddress support. newly added tests still run, so hwaddress seems correctly getting in.
2016-07-13merge with trunkScott Moser
2016-07-13pass the return back up, shorten lines some.Scott Moser
2016-07-13ConfigDrive: write 'injected' files and legacy networkingScott Moser
Previous commit disabled the consumption of 'injected' files in configdrive (openstack server boot --file=/target/file=local-file) unless the datasource was in 'pass' mode. The default mode is 'net' so that would never happen. Also here are: a.) a fix for 'links_path_prefix' string from debian, to finally disable the rendering of systemd.link files (LP: #1594546) b.) some comments to apply_network_config c.) implement a backwards compatibility for for distros that do not yet implement apply_network_config by converting the network config into ENI format and calling apply_network. This is required because prior to the previous commit, those distros would have had 'apply_network' called with the openstack provided ENI file. But after this change they will have apply_network_config called by cloudinit's main. d.) a network_state_to_eni helper for converting net config to eni it supports the not-actually-correct 'hwaddress' field in ENI. LP: #1602373
2016-07-13Fix SmartOS datasource usage of dict comprehensionsJoshua Harlow
2016-07-13String format requires positions on python 2.6Joshua Harlow
2016-07-13Another stray occurence of a dict comprehension being removedJoshua Harlow