You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi/nexus-internal.json
+74Lines changed: 74 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3503,6 +3503,71 @@
3503
3503
"minLength": 5,
3504
3504
"maxLength": 17
3505
3505
},
3506
+
"MigrationRole": {
3507
+
"oneOf": [
3508
+
{
3509
+
"description": "This update concerns the source VMM of a migration.",
3510
+
"type": "string",
3511
+
"enum": [
3512
+
"source"
3513
+
]
3514
+
},
3515
+
{
3516
+
"description": "This update concerns the target VMM of a migration.",
3517
+
"type": "string",
3518
+
"enum": [
3519
+
"target"
3520
+
]
3521
+
}
3522
+
]
3523
+
},
3524
+
"MigrationRuntimeState": {
3525
+
"description": "An update from a sled regarding the state of a migration, indicating the role of the VMM whose migration state was updated.",
3526
+
"type": "object",
3527
+
"properties": {
3528
+
"migration_id": {
3529
+
"type": "string",
3530
+
"format": "uuid"
3531
+
},
3532
+
"role": {
3533
+
"$ref": "#/components/schemas/MigrationRole"
3534
+
},
3535
+
"state": {
3536
+
"$ref": "#/components/schemas/MigrationState"
3537
+
}
3538
+
},
3539
+
"required": [
3540
+
"migration_id",
3541
+
"role",
3542
+
"state"
3543
+
]
3544
+
},
3545
+
"MigrationState": {
3546
+
"description": "The state of an instance's live migration.",
3547
+
"oneOf": [
3548
+
{
3549
+
"description": "The migration is in progress.",
3550
+
"type": "string",
3551
+
"enum": [
3552
+
"in_progress"
3553
+
]
3554
+
},
3555
+
{
3556
+
"description": "The migration has failed.",
3557
+
"type": "string",
3558
+
"enum": [
3559
+
"failed"
3560
+
]
3561
+
},
3562
+
{
3563
+
"description": "The migration has completed.",
3564
+
"type": "string",
3565
+
"enum": [
3566
+
"completed"
3567
+
]
3568
+
}
3569
+
]
3570
+
},
3506
3571
"Name": {
3507
3572
"title": "A name unique within the parent collection",
3508
3573
"description": "Names must begin with a lower case ASCII letter, be composed exclusively of lowercase ASCII, uppercase ASCII, numbers, and '-', and may not end with a '-'. Names cannot be a UUID though they may contain a UUID.",
@@ -4647,6 +4712,15 @@
4647
4712
}
4648
4713
]
4649
4714
},
4715
+
"migration_state": {
4716
+
"nullable": true,
4717
+
"description": "The current state of any in-progress migration for this instance, as understood by this sled.",
0 commit comments