-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for
migrations
field for Placement Groups (#617)
* Added support for migrations field in PGs * Added integration test
- Loading branch information
1 parent
91c542c
commit d7dbe30
Showing
10 changed files
with
1,586 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,159 changes: 1,159 additions & 0 deletions
1,159
test/integration/fixtures/TestInstance_MigrateToPG.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"id": 528, | ||
"is_compliant": true, | ||
"label": "PG_Miami_failover", | ||
"members": [ | ||
{ | ||
"is_compliant": true, | ||
"linode_id": 123 | ||
}, | ||
{ | ||
"is_compliant": true, | ||
"linode_id": 456 | ||
} | ||
], | ||
"placement_group_policy": "strict", | ||
"placement_group_type": "anti-affinity:local", | ||
"region": "us-mia" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"id": 528, | ||
"is_compliant": true, | ||
"label": "PG_Miami_failover", | ||
"members": [ | ||
{ | ||
"is_compliant": true, | ||
"linode_id": 123 | ||
} | ||
], | ||
"placement_group_policy": "strict", | ||
"placement_group_type": "anti-affinity:local", | ||
"region": "us-mia" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"id": 528, | ||
"is_compliant": true, | ||
"label": "PG_Miami_failover", | ||
"members": [ | ||
{ | ||
"is_compliant": true, | ||
"linode_id": 123 | ||
} | ||
], | ||
"placement_group_policy": "strict", | ||
"placement_group_type": "anti-affinity:local", | ||
"region": "us-mia" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"id": 528, | ||
"is_compliant": true, | ||
"label": "PG_Miami_failover_new", | ||
"members": [ | ||
{ | ||
"is_compliant": true, | ||
"linode_id": 123 | ||
} | ||
], | ||
"placement_group_policy": "strict", | ||
"placement_group_type": "anti-affinity:local", | ||
"region": "us-mia" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"id": 528, | ||
"is_compliant": true, | ||
"label": "PG_Miami_failover", | ||
"members": [ | ||
{ | ||
"is_compliant": true, | ||
"linode_id": 123 | ||
} | ||
], | ||
"migrations": { | ||
"inbound": [ | ||
{ | ||
"linode_id": 123 | ||
} | ||
], | ||
"outbound": [ | ||
{ | ||
"linode_id": 456 | ||
} | ||
] | ||
}, | ||
"placement_group_policy": "strict", | ||
"placement_group_type": "anti-affinity:local", | ||
"region": "us-mia" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"data": [ | ||
{ | ||
"id": 528, | ||
"is_compliant": true, | ||
"label": "PG_Miami_failover", | ||
"members": [ | ||
{ | ||
"is_compliant": true, | ||
"linode_id": 123 | ||
} | ||
], | ||
"migrations": { | ||
"inbound": [ | ||
{ | ||
"linode_id": 123 | ||
} | ||
], | ||
"outbound": [ | ||
{ | ||
"linode_id": 456 | ||
} | ||
] | ||
}, | ||
"placement_group_policy": "strict", | ||
"placement_group_type": "anti-affinity:local", | ||
"region": "us-mia" | ||
} | ||
], | ||
"page": 1, | ||
"pages": 1, | ||
"results": 1 | ||
} |
Oops, something went wrong.