Commit 8a0f3fc
committed
compute: Add missing options for 'server set'
Add a new '--no-password' option to unset the password on an existing
server. In addition, add a new '--password' option that replaces the
interactive '--root-password' option. This makes sense given no other
commands uses interactive password options.
Checks that rely on specific API microversions now run before we execute
any action, to avoid situations where an update is only partially
applied.
Change-Id: Ibf8717efdd418a2d95215b4d9ab2acf0d57c4a70
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>1 parent 9a976ad commit 8a0f3fc
3 files changed
Lines changed: 87 additions & 17 deletions
File tree
- openstackclient
- compute/v2
- tests/unit/compute/v2
- releasenotes/notes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3472 | 3472 | | |
3473 | 3473 | | |
3474 | 3474 | | |
3475 | | - | |
| 3475 | + | |
| 3476 | + | |
| 3477 | + | |
| 3478 | + | |
| 3479 | + | |
| 3480 | + | |
| 3481 | + | |
| 3482 | + | |
| 3483 | + | |
| 3484 | + | |
| 3485 | + | |
| 3486 | + | |
| 3487 | + | |
| 3488 | + | |
| 3489 | + | |
| 3490 | + | |
3476 | 3491 | | |
3477 | 3492 | | |
3478 | | - | |
| 3493 | + | |
3479 | 3494 | | |
3480 | 3495 | | |
3481 | 3496 | | |
3482 | 3497 | | |
3483 | 3498 | | |
3484 | 3499 | | |
3485 | | - | |
3486 | | - | |
| 3500 | + | |
| 3501 | + | |
| 3502 | + | |
| 3503 | + | |
3487 | 3504 | | |
3488 | 3505 | | |
3489 | 3506 | | |
| |||
3494 | 3511 | | |
3495 | 3512 | | |
3496 | 3513 | | |
3497 | | - | |
3498 | | - | |
| 3514 | + | |
| 3515 | + | |
| 3516 | + | |
| 3517 | + | |
3499 | 3518 | | |
3500 | 3519 | | |
3501 | 3520 | | |
| |||
3519 | 3538 | | |
3520 | 3539 | | |
3521 | 3540 | | |
| 3541 | + | |
| 3542 | + | |
| 3543 | + | |
| 3544 | + | |
| 3545 | + | |
| 3546 | + | |
| 3547 | + | |
| 3548 | + | |
| 3549 | + | |
| 3550 | + | |
| 3551 | + | |
| 3552 | + | |
| 3553 | + | |
| 3554 | + | |
| 3555 | + | |
| 3556 | + | |
3522 | 3557 | | |
3523 | 3558 | | |
3524 | 3559 | | |
| |||
3536 | 3571 | | |
3537 | 3572 | | |
3538 | 3573 | | |
| 3574 | + | |
| 3575 | + | |
| 3576 | + | |
| 3577 | + | |
3539 | 3578 | | |
3540 | 3579 | | |
3541 | | - | |
3542 | | - | |
3543 | | - | |
3544 | | - | |
3545 | 3580 | | |
3546 | 3581 | | |
3547 | 3582 | | |
3548 | | - | |
3549 | | - | |
3550 | | - | |
3551 | | - | |
3552 | | - | |
3553 | | - | |
3554 | | - | |
3555 | 3583 | | |
3556 | 3584 | | |
3557 | 3585 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6207 | 6207 | | |
6208 | 6208 | | |
6209 | 6209 | | |
| 6210 | + | |
6210 | 6211 | | |
6211 | 6212 | | |
6212 | 6213 | | |
| |||
6290 | 6291 | | |
6291 | 6292 | | |
6292 | 6293 | | |
| 6294 | + | |
| 6295 | + | |
| 6296 | + | |
| 6297 | + | |
| 6298 | + | |
| 6299 | + | |
| 6300 | + | |
| 6301 | + | |
| 6302 | + | |
| 6303 | + | |
| 6304 | + | |
| 6305 | + | |
| 6306 | + | |
| 6307 | + | |
| 6308 | + | |
| 6309 | + | |
| 6310 | + | |
| 6311 | + | |
| 6312 | + | |
| 6313 | + | |
| 6314 | + | |
| 6315 | + | |
| 6316 | + | |
| 6317 | + | |
| 6318 | + | |
| 6319 | + | |
| 6320 | + | |
| 6321 | + | |
| 6322 | + | |
| 6323 | + | |
| 6324 | + | |
6293 | 6325 | | |
6294 | 6326 | | |
6295 | 6327 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments