summaryrefslogtreecommitdiff
path: root/ironic_python_agent/api
diff options
context:
space:
mode:
authorJulia Kreger <juliaashleykreger@gmail.com>2018-05-03 08:04:20 -0700
committerJulia Kreger <juliaashleykreger@gmail.com>2018-05-10 15:50:05 -0700
commit3164053f08c4cd40f9634d7ef9e06e4be9565cc5 (patch)
treeb654a68ea1651250c6de00a42e404716914dd73e /ironic_python_agent/api
parent2df41a80e3da889ab726a336ffa8b14800e61cda (diff)
downloadironic-python-agent-3164053f08c4cd40f9634d7ef9e06e4be9565cc5.tar.gz
Fix gate and bump CoreOS version to latest stable.
Increases the amount of ram for CoreOS IPA to 2GB as the base CoreOS image is now 310MB. Bumped CPU count for CoreOS runs to 2 CPUs as the concurrency helps boot times for the CoreOS ramdisk. Adds netbase, udev, and open-iscsi to debian jessie container as they are no longer present in the default container. Explicitly set path variable for execution in the debian container as udevadm is in /sbin, and we may not have /sbin on the path that is passed through to the chroot. Also fixed new pep8 test failures. Story: #1600228 Task: #16287 Change-Id: I488445dfd261b7bca322a0be7b4d8ca6105750a3
Diffstat (limited to 'ironic_python_agent/api')
-rw-r--r--ironic_python_agent/api/controllers/v1/__init__.py1
-rw-r--r--ironic_python_agent/api/controllers/v1/base.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/ironic_python_agent/api/controllers/v1/__init__.py b/ironic_python_agent/api/controllers/v1/__init__.py
index 19a9cfda..465ba342 100644
--- a/ironic_python_agent/api/controllers/v1/__init__.py
+++ b/ironic_python_agent/api/controllers/v1/__init__.py
@@ -114,4 +114,5 @@ class Controller(rest.RestController):
# the request object to make the links.
return V1.convert()
+
__all__ = (Controller)
diff --git a/ironic_python_agent/api/controllers/v1/base.py b/ironic_python_agent/api/controllers/v1/base.py
index 1e834ad8..b221124d 100644
--- a/ironic_python_agent/api/controllers/v1/base.py
+++ b/ironic_python_agent/api/controllers/v1/base.py
@@ -45,9 +45,10 @@ class MultiType(wtypes.UserType):
Used for validating that a value is an instance of one of the types.
- :param \*types: Variable-length list of types.
+ :param types: Variable-length list of types.
"""
+
def __init__(self, *types):
self.types = types