Now for wrap input it will take only postive integers as an input and
if any negative numbers are give it will give output as "Wrap argument
should be a positive integer".
Change-Id: I1e62687d65144c16518cdae4c90cf1617ff4cc2d
Add network options to zunclient to allow use specify the pre
created network to use to create container.
CLI format like 'zun create --nets
network=982a86dc1194,v4-fixed-ip=172.17.0.3 --nets
port=1234567,v6-fixed-ip=2001:db8::2 nginx bash'
Value passed to api like this ‘[{u'v4-fixed-ip': u'172.17.0.3',
u'network': u'982a86dc1194', u'v6-fixed-ip': u'', u'port': u''},
{u'v4-fixed-ip': u'', u'network': u'', u'v6-fixed-ip':
u'2001:db8::2', u'port': u'1234567'}]'’.
Change-Id: I6507d153e97564160308dabe90ce8693bc061863
We don't need to run zun server tempest jobs for testing patches
in client side. Removing these tests would make the gate easier
to maintain.
Change-Id: I143ce8550227badccb72c0d3d6728271508f4ed9
This allows users to create container with custom security groups.
If it is not specified, the "default" security group will be used.
Change-Id: I3314a6ad21b4fd5032933f48aa448568cda73a27
Closes-Bug: #1694338
The pypi package 'docker-py' [1] has been renamed to 'docker' [2].
We need to move to the new 'docker' package in order to leverage
the up-to-date features.
NOTE: In order to pass the gate, the OSC tests were temporarily
disabled. Those tess will be re-enabled once both server and
client finish the upgrade.
[1] https://pypi.python.org/pypi/docker-py
[2] https://pypi.python.org/pypi/docker
[3] https://review.openstack.org/#/c/423715/
Change-Id: I9346112d8a495bc6b304647377f8da47017cc869
Partial-Implements: blueprint adopt-docker-py-2.0-api
--profile argument can be loaded from OS_PROFILE environment variables
to avoid repeating --profile in client commands.
Co-Authored-By: Hieu LE <hieulq@vn.fujitsu.com>
Change-Id: I3521dbd3142edb1a94f34458769530732e3930ed
It looks OSC tests were not designed to run in parallel because
there are some race condition between tests. The gate had a few
intermittent failure due to that. This commit temporarily disable
parallel execution of test cases.
Change-Id: Id912b1e21f35b95d70571ab8adc030572294910c
This patch adds osc client support for service api(including list,
delete, enable, disable and forcedown).
Change-Id: Ibfc67bc5f2147864d0808dd9c929865b5d10ce48
Implements: blueprint enhance-service-api
This patch adds support for service force-down.
Change-Id: Ie7712dced3a38ec27d2de8ecf948279e3a4400c8
Partially-Implements: blueprint enhance-service-api