Commit Graph

15 Commits

Author SHA1 Message Date
Kendall Nelson 353f75eca0 Retire Karbor
As announced on the openstack-discuss ML[1], Karbor is retiring
this cycle (Wallaby).

This commit retires this repository as per the process defined in
the project-guide[2].

Thank you to all the contributors of Karbor for your hard work!

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018643.html
[2] https://docs.openstack.org/project-team-guide/repository.html#retiring-a-repository

Depends-On: https://review.opendev.org/c/openstack/project-config/+/767030
Change-Id: I972ffb299f93863c4e34b1f504b002095661e6af
2020-12-21 11:51:02 -08:00
Sean McGinnis 3df667582c
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: Ifd0d1b8aa419e39361e76a4f846cb4eeaf0d46ca
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-08-13 08:28:07 -05:00
Zuul dabd25fc36 Merge "Correct spelling errors in test_quota_classes" 2019-11-06 04:54:39 +00:00
wangyu 4355859cf5 Optimize jsonschema validation when reset checkpoint state
Add 'os-resetState' validation when reset checkpoint state,
This patch will optimize parameter verification.

Change-Id: Id31955dbb44694790bb2192eeb247792c9e295f1
2019-10-22 17:40:19 +08:00
hulina 7dfb09b147 Correct spelling errors in test_quota_classes
Change-Id: Ie35cc9150f654f2382336eeef23823eb9d766bd7
2019-08-20 10:46:54 +08:00
jiaopengju 829948b328 Add quota support for checkpoints resource
Change-Id: I68bbc48ce6fb1638455d2bf67027d497f34fea64
Implements: blueprint support-quotas-in-karbor
2019-05-17 18:37:01 +08:00
root f55c33cc5d Add unit test for providers api
Change-Id: If542d7ee7b98e903a3aa5b2f09fbee98ec68c78d
2019-04-02 09:25:01 +08:00
jiaopengju ecc6b64f4a Add support to reset checkpoint state
Now when doing checkpoint copy failed, checkpoint
will be wait_copying status forever, and so we can
not do the restore anymore. So we should add an API
to support checkpoint status reset if we deeply knows
that the checkpoint is ok. This patch added API
support for doing checkpoint state reset.
Implements: bp checkpoint-status-reset

Change-Id: Iabaa98c9900fba554be2ad0833d438901e01147a
2018-12-03 14:02:01 +08:00
chenying f4b59d9bf2 Add jsonschema validation for checkpoint API
Change-Id: Ia8b2e015ca7e9edd9987b980e06960099a88ce53
Partial-Implements: bp karbor-json-schema-validation
2017-12-14 17:48:12 +08:00
chenying 105f68fa36 Fix the unit tests about policy and the DocumentedRule description
Change-Id: I419dab4bfee11cbba3779d11dbb188cb048a488e
Partial-Implements: blueprint policy-and-docs-in-code
2017-10-11 16:33:20 +08:00
chenying 7900222b5d Add default policy in code for the provider resource
Leverage oslo.policy to register default policies in the
code. Administrator only need to update the specified
policy in the config file.

Change-Id: I8ec94b4a3e34257031af3eb7607806b66c6b832e
Partial-Implements: blueprint policy-in-code
2017-09-27 17:54:26 +08:00
Yuval Brik a808a5bcf3 keystone: move to v3
Change-Id: I2bd316e52aede8ca207d364d247b2a0ffeccf9c4
2017-02-07 14:00:45 +02:00
chenying e12313b5b8 Add validation for the parameter provider_id in checkpoint POST API
1) When the user call the create checkpoint API, the user need provide
a parameter provider_id, but the provider_id in checkpoint is not
checked with the value in plan.

Now the parameter provider_id of checkpoint is not same as the value
in plan, but the checkpoint also can be created.

2)The property `management_url` of novaclient is deprecated for
SessionClient. Use `endpoint_override` instead.

Change-Id: I2642af71e875500e125a85c9d32b2828f194b775
Closes-Bug: #1657636
2017-01-20 15:41:31 +08:00
Yuval Brik 04e2086ad9 Use parenthesis instead of slash for multiline
Change-Id: I4111fb46613cf44645cb2f276a21be685de865d8
2016-12-25 10:23:19 +02:00
chenying 1c60dac7fa Change Smaug to Karbor
There was a decision in the community to change the project name.

Change-Id: I8b3d538b9573ebaa2a873f4696e1f1a500c941a8
2016-08-18 22:55:34 +08:00